Infinity MUGEN Team
IMT Main => M.U.G.E.N Help => Topic started by: Luis/Dshiznet on June 01, 2008, 07:04:32 PM
-
i dunno how to explain it much.. my title is prob confusing you so let me explain.
i want to make a helper appear and attack when i press the button *z* without making the character have to do anything whats so ever.
can any1 help me real quick?
-
well, I think i have seen an example of that, problem is I dont know which character has the helper that attacks o.O#
-
couldnt you just adapt it from an explode state, using the helper animations? Either that or just make the call state "0" then he shouldnt do anything when the helper comes out. Theres a helper in Harley quinn I just coded that doesnt do anything and the helper just pops out.
-
couldnt you just adapt it from an explode state, using the helper animations? Either that or just make the call state "0" then he shouldnt do anything when the helper comes out. Theres a helper in Harley quinn I just coded that doesnt do anything and the helper just pops out.
i tried.. it doesnt want to work for me..
mind if i borrow ur helper code?
-
this is the CODE used when calling helper
[Statedef 32000]
type = C
movetype = I
physics = N
ctrl = 0
anim = 0 this is the animation SHE does when calling HELPER
velset = 0,0
sprpriority = 0
[State 32000, Helper]
type = Helper
trigger1 = AnimElem = 3
trigger1 = NumHelper(32001) = 0
helpertype = normal ;player
name = "HELPER"
ID = 32001
stateno = 32001
pos = 30,-230
postype = p2
facing = 1
keyctrl = 0
ownpal = 1
supermove
pausemove
-
this is the animation SHE does when calling helper
[Statedef 32000]
type = C
movetype = I
physics = N
ctrl = 0
anim = 0 this is the animation SHE does when calling HELPER
velset = 0,0
sprpriority = 0
[State 32000, Helper]
type = Helper
trigger1 = AnimElem = 3
trigger1 = NumHelper(32001) = 0
helpertype = normal ;player
name = "HELPER"
ID = 32001
stateno = 32001
pos = 30,-230
postype = p2
facing = 1
keyctrl = 0
ownpal = 1
supermove
pausemove
lol she?
neways imma use that as a reference and see if it works.
thnx man.
-
naw still wont work.. now the helper pops up every sec and when i press z i become the helper @_@
this is what i have
[StateDef 0]
type = S
movetype= A
physics = S
juggle = 1
velset = 0,0
ctrl = 1
anim = 0
poweradd = 20
sprpriority = 2
[State 0, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;--------------------------------
[State 710, Helper]
type = Helper
trigger1 = time=0
helpertype = normal ;player
name = "Helper1"
ID = 710
stateno = 710
pos = -5,0
postype = p1 ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 0
supermove
pausemove
[State 196, DestroySelf]
type = DestroySelf
trigger1 = time=500
ignorehitpause =
persistent =
;-------------------------------------------------------------------------------------
[Statedef 710]
type=S
physics=S
movetype=A
anim=710
velset=0,0
ctrl=0
sprpriority=-1
[State 0, 1]
type = HitDef
trigger1 = time=0
attr = S, NA
damage = 100
animtype = Heavy
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 10, 10
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime = 12
ground.velocity = -8,-6
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12
[State 196, DestroySelf]
type = DestroySelf
trigger1 = time=500
[State 196, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
-
i dunno how to explain it much.. my title is prob confusing you so let me explain.
i want to make a helper appear and attack when i press the button *z* without making the character have to do anything whats so ever.
can any1 help me real quick?
Its quite simple:
[statedef -2]
[State 0, Helper]
type = Helper
trigger1 = command = "z" && NumHelper(1000) = 0
helpertype = normal ;
name = "helper"
ID = 1000; the same from NumHelper
stateno = 710
pos = -5,0
postype = p1 ;p2,front,back,left,right
facing = 1
keyctrl = X
ownpal = X
supermove = X
pausemove = X
ignorehitpause = 1
;size.xscale (float)
;size.yscale (float)
;size.ground.back (int)
;size.ground.front (int)
;size.air.back (int)
;size.air.front (int)
;size.height (int)
;size.proj.doscale (int)
;size.head.pos (int,int)
;size.mid.pos (int,int)
;size.shadowoffset (int)
;persistent =
-
i dunno how to explain it much.. my title is prob confusing you so let me explain.
i want to make a helper appear and attack when i press the button *z* without making the character have to do anything whats so ever.
can any1 help me real quick?
Its quite simple:
[statedef -2]
[State 0, Helper]
type = Helper
trigger1 = command = "z" && NumHelper(1000) = 0
helpertype = normal ;
name = "helper"
ID = 1000; the same from NumHelper
stateno = 710
pos = -5,0
postype = p1 ;p2,front,back,left,right
facing = 1
keyctrl = X
ownpal = X
supermove = X
pausemove = X
ignorehitpause = 1
;size.xscale (float)
;size.yscale (float)
;size.ground.back (int)
;size.ground.front (int)
;size.air.back (int)
;size.air.front (int)
;size.height (int)
;size.proj.doscale (int)
;size.head.pos (int,int)
;size.mid.pos (int,int)
;size.shadowoffset (int)
;persistent =
added it and it still doesnt work.
-
because you are making some mistake :-"
[statedef -2]
[State -2, Helper]
type = Helper
trigger1 = command = "z" && NumHelper(1000) = 0
helpertype = normal ;
name = "helper"
ID = 1000; the same from NumHelper
stateno = 710
pos = -5,0
postype = p1 ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 1
ignorehitpause = 1
pay attention that is under STATEDEF -2 . I've tested on KFM and it works
-
because you are making some mistake:
[statedef -2]
[State 0, Helper]
type = Helper
trigger1 = command = "z" && NumHelper(1000) = 0
helpertype = normal ;
name = "helper"
ID = 1000; the same from NumHelper
stateno = 710
pos = -5,0
postype = p1 ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 1
ignorehitpause = 1
pay attention that is under STATEDEF -2 . I've tested on KFM and it works
lol i did put it under -2
here what i have .
[Statedef 710]
type=S
physics=S
movetype=A
anim=710
velset=0,0
ctrl=0
sprpriority=-1
[State 710, 1]
type = HitDef
trigger1 = Time=0
attr = S, NA
damage = 100
animtype = Heavy
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 10, 10
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime = 12
ground.velocity = -8,-6
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12
fall=1
[State 710, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
[State 0, VelSet]
type = VelSet
trigger1 = time >= 1 && <=20
x = 3
y = 0
[State 0, DestroySelf]
type = DestroySelf
trigger1 = time=500
^^ not under -2
[State 0, Helper]
type = Helper
trigger1 = command = "z" && NumHelper(1000) = 0
helpertype = normal
name = "Helper1"
ID = 1000; the same from NumHelper
stateno = 710
pos = -5,0
postype = p1 ;p2,front,back,left,right
facing = 1
^^ under -2
-
two things:
1-
[State 710, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
Why it needs a chantestate to the 0, if its a helper and you will use a DetroySelf after?
2-
[State 0, VelSet]
type = VelSet
trigger1 = time >= 1 && <=20
x = 3
y = 0
Make this way:
[State 0, VelSet]
type = VelSet
trigger1 = time = [1,20]
x = 3
y = 0
But what happens? the helper aren't showing up?
-
it shows up.. i just become the helper instead of the helper just moving across the screen.
-
you become the helper????? Its impossible.
aren't using the SAME state 710 two times?
-
you become the helper????? Its impossible.
aren't using the SAME state 710 two times?
nope.
want me to send u the character?
-
send a link by Pm, but I'm going to sleep now, tomorrow I see it.
If you want, open the KFM, add a "[statedef -2]", add the code that I've sent to you and see that it works.
:O*D
-
this is the animation SHE does when calling helper
[Statedef 32000]
type = C
movetype = I
physics = N
ctrl = 0
anim = 0 this is the animation SHE does when calling HELPER
velset = 0,0
sprpriority = 0
[State 32000, Helper]
type = Helper
trigger1 = AnimElem = 3
trigger1 = NumHelper(32001) = 0
helpertype = normal ;player
name = "HELPER"
ID = 32001
stateno = 32001
pos = 30,-230
postype = p2
facing = 1
keyctrl = 0
ownpal = 1
supermove
pausemove
lol she?
neways imma use that as a reference and see if it works.
thnx man.
Sorry I meant my character was a she.
I take it you got it working?
-
this is the animation SHE does when calling helper
[Statedef 32000]
type = C
movetype = I
physics = N
ctrl = 0
anim = 0 this is the animation SHE does when calling HELPER
velset = 0,0
sprpriority = 0
[State 32000, Helper]
type = Helper
trigger1 = AnimElem = 3
trigger1 = NumHelper(32001) = 0
helpertype = normal ;player
name = "HELPER"
ID = 32001
stateno = 32001
pos = 30,-230
postype = p2
facing = 1
keyctrl = 0
ownpal = 1
supermove
pausemove
lol she?
neways imma use that as a reference and see if it works.
thnx man.
Sorry I meant my character was a she.
I take it you got it working?
yea but now i become the helper lo.. im waiting on lisionista to reply back.
-
I'm fixing this right now (you have made mistakes, as I thought hehe)
Plus, something PLUS is going too :)
edit:
Your mistake was:
CMD
;Helper1
[State -1, Helper1]
type =ChangeState
value = 710
triggerall = command = "Helper1"
trigger1 = (statetype = s) && ctrl
If the state 710 was the helper's state, why do you sent your char to the same state? :)
on the cns:
[Statedef 710]
type=S
physics=N; Its NEUTRAL, not stand.
movetype=A
anim=710
velset=10,3
ctrl=0
sprpriority=10
and, as I said: Put the code UNDER STATEDEF -2:
[State 0, Helper]
type = Helper
trigger1 = command = "z"&& NumHelper(1000) = 0
helpertype = normal
name = "Helper1"
ID = 1000; the same from NumHelper
stateno = 710
pos = -5,0
postype = p1 ;p2,front,back,left,right
facing = 1
Where is the [statedef -2], above it? Without this, you code won't work.
I've sent to you the files that I've fixed. On the state 710 I put two versions...check it out :)
-
thanks alot dude it works!
now the problem is.. when im standing still or moving forward and back i still become the helper!
but when ducking or in the air the helper comes out perfectly.
ne idea why its like that?
-
nvm got it..
but it still has the error when his power bar is full.
-
now the problem is.. when im standing still or moving forward and back i still become the helper!
You gotta be kiddin me....PLEASE PAY ATTENTION WHEN SOMEONE IS TRYING TO HELP YOU. >o:-(
Check the freakin CMD....
but it still has the error when his power bar is full.
What problem?
-
now the problem is.. when im standing still or moving forward and back i still become the helper!
You gotta be kiddin me....PLEASE PAY ATTENTION WHEN SOMEONE IS TRYING TO HELP YOU. >o:-(
Check the freakin CMD....
but it still has the error when his power bar is full.
What problem?
whoa whoa dude no need for an aditude followed what u said and it works
now the only problem is when lucarios bar is al full and when pressing z, he becomes the helper only when standing, and moving.
but when he has less then 3 bars the move works perfectly.
-
check the cmd or the cns, for something that has as a trigger power >=3000 or power =3000
-
whoa whoa dude no need for an aditude followed what u said and it works
Sorry, but when we are trying to help someone, when we're using our few free time and this person doesn't reads carefully what we says, this is really bad. Do you remember what I've said about the CMD?
I will post AGAIN, so you can see:
;Helper1
[State -1, Helper1]
type =ChangeState
value = 710
triggerall = command = "Helper1"
trigger1 = (statetype = s) && ctrl
[/b]
YOU NEED TO DELETE THIS CODE FROM THE CMD
You are sending your own character to the state 710, as I've said before.
Because I have the version that I've sent to you...and its WORKS PERFECTLY.
This is the image, if you don't believe:
(http://img119.imageshack.us/img119/1383/mugen19cd0.jpg)
note that he is walking...and everything is okay.
Sorry if I was rude, but this really piss me off.
-
whoa whoa dude no need for an aditude followed what u said and it works
Sorry, but when we are trying to help someone, when we're using our few free time and this person doesn't reads carefully what we says, this is really bad. Do you remember what I've said about the CMD?
I will post AGAIN, so you can see:
;Helper1
[State -1, Helper1]
type =ChangeState
value = 710
triggerall = command = "Helper1"
trigger1 = (statetype = s) && ctrl
[/b]
YOU NEED TO DELETE THIS CODE FROM THE CMD
You are sending your own character to the state 710, as I've said before.
Because I have the version that I've sent to you...and its WORKS PERFECTLY.
This is the image, if you don't believe:
(http://img119.imageshack.us/img119/1383/mugen19cd0.jpg)
note that he is walking...and everything is okay.
Sorry if I was rude, but this really piss me off.
hmm alright thanks dude i guess i forgot to delete that cmd(could have sworn i had..)
it works now.
-
hmm alright thanks dude i guess i forgot to delete that cmd(could have sworn i had..)
it works now.
See what I talk? hehehe
And do you liked the zoomed version?
-
hmm alright thanks dude i guess i forgot to delete that cmd(could have sworn i had..)
it works now.
See what I talk? hehehe
And do you liked the zoomed version?
its alright.. but i prefer the second and original version best.