Jump to content

Photo

Custom Enemy (Not Moving)


  • Please log in to reply
4 replies to this topic

#1 Architect Abdiel

Architect Abdiel

    Kingdom Builder

  • Members
  • Real Name:Michael
  • Location:Florida

Posted 14 April 2017 - 02:39 AM

So I've been using the editor to try to create a foe in ZC. I have it doing what I want. It's even changing its animation. But it's not actually going anywhere.

 

How does get to go places?

 

What I have for it...
 

 

Data 1:
Old
W: 0

H: 0

 

Special
W: 0

H: 0

 

New
W: 16
H: 2

 

HP: 8
Damage: 4
W. Damage: 4

Hunger: 0

 

Random Rate: 5
Halt Rate: 0

Homing Factor: 144

Step Speed: 50

F. Rate: 16

 

Weapon: Sword
Type: Walking Enemy

E. Anim: 4 Frame 4-Dir

 

 

I'd have to guess any issue would be in this area.



#2 Jamian

Jamian

    ZC enthusiast

  • Members

Posted 14 April 2017 - 03:18 AM

These values seem fine. Did you double check that he doesn't appear on solid combos, or have no enemy flags around him, etc?



#3 Architect Abdiel

Architect Abdiel

    Kingdom Builder

  • Members
  • Real Name:Michael
  • Location:Florida

Posted 14 April 2017 - 03:31 AM

Yep. That was the first thing I did. I just threw it on this screen. He appears on blank green grass.

 

I know he can hit and be hit too cause I tested out everything regarding that.

 

And I guess I don't need a script since it's all done in the editor.

 

Pxes54y.png



#4 Jamian

Jamian

    ZC enthusiast

  • Members

Posted 14 April 2017 - 03:44 AM

Is he spawned randomly, or does he enter from the sides? I know walking enemies sometimes get stuck when they enter from the sides in a narrow passage.



#5 Architect Abdiel

Architect Abdiel

    Kingdom Builder

  • Members
  • Real Name:Michael
  • Location:Florida

Posted 14 April 2017 - 03:55 AM

Is he spawned randomly, or does he enter from the sides? I know walking enemies sometimes get stuck when they enter from the sides in a narrow passage.

He just enters randomly.

It turns out that was the issue though.

He was always spawning by the water or by the tree, so just giving him a set spawning point has him moving around the way I want now.

Thank you very much. Glad to know I had did the setup correctly everywhere else!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users