Posts: 16
Threads: 8
Joined: Nov 2009
How can i make a action in the stage mode
to stop the enemies moving
just stand at one point
until i hit him
he will wake up?
Thanks given by:
Posts: 1,122
Threads: 17
Joined: Mar 2008
You could give that enemy an extra frame with his "stopped" picture which has next: 0. Then, depending on what you want, either an attack that catches him to that "stopped" frame (itr kind 3 perhaps, I'll leave that to a specialist) or an "act: " in stage.dat that makes them already be "stopped" when spawned.
Hitting them will cause them to go to the hurt frames so that will break the cycle.
03:28 [BluePhoenix] sleep is for weakling.
Thanks given by:
Posts: 2,594
Threads: 260
Joined: Feb 2008
way to complicated.
Make an extra frame called "stopped", this frame has state 3, hit_a/d_j are 0 and there`re no other inputs. THere`s a normal bdy in there- And as soon as he got hit he go to injured frmes, from those he go to normal frames...
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Posts: 1,122
Threads: 17
Joined: Mar 2008
MH that's exactly what I said o.o
03:28 [BluePhoenix] sleep is for weakling.
Thanks given by:
Posts: 2,594
Threads: 260
Joined: Feb 2008
not exactly: (itr kind 3 perhaps, I'll leave that to a specialist)
-> there's no need for ik3 or so, a normal itr is enough... that's what I wanted to focus on...
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Thanks given by:
Posts: 1,122
Threads: 17
Joined: Mar 2008
Well, I included the itr kind 3 because he made it sound like he wanted an attack that makes the enemy fall asleep or so.
03:28 [BluePhoenix] sleep is for weakling.
Posts: 16
Threads: 8
Joined: Nov 2009
12-12-2009, 11:30 AM
(This post was last modified: 12-12-2009, 11:32 AM by jf8429.)
Is it like this?
state: 3 means stop moving?
I should use (next:0 or next: 300)?
<frame> 300 stopped
pic: 0 state: 3 wait: 5 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
Thanks given by:
Posts: 1,122
Threads: 17
Joined: Mar 2008
State 3 does make the enemy not able to move with arrow keys, but it may happen that other COMs in front of the char with state 3 start to "defend", because state 3 is the attacking state, and the COMs are programmed in a way that lets them defend when they're in front of the char and if the char has an itr. (Correct me if I'm wrong, but I heard this somewhere.)
State 15 would be safer to use IMO, but it's really up to you as in this case it should have the same effect.
Whether you use next 0 or next 300 doesn't matter in this case.
Just try it out.
03:28 [BluePhoenix] sleep is for weakling.
Thanks given by:
Posts: 16
Threads: 8
Joined: Nov 2009
So if i use state: 15 , it has the same effect and 100% work?
But state: 3 the enemeies may move and 99% work?
Thanks given by: