collapse

Author Topic: How to make a helper state with out making a call helper state.  (Read 1428 times)

0 Members and 1 Guest are viewing this topic.

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
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?



Offline Aura-Master

  • Stage Creator
  • *****
  • Posts: 1620
  • Last Login:February 18, 2020, 03:22:18 AM
  • Animating anyone?
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #1 on: June 01, 2008, 07:14:09 PM »
well, I think i have seen an example of that, problem is I dont know which character has the helper that attacks o.O#
Currently in need of one

Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #2 on: June 01, 2008, 07:16:13 PM »
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.

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #3 on: June 01, 2008, 07:28:15 PM »
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?

Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #4 on: June 01, 2008, 07:51:02 PM »
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


Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #5 on: June 01, 2008, 07:54:35 PM »
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.

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #6 on: June 01, 2008, 08:10:14 PM »
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

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12461
  • Country: Brazil br
  • Last Login:May 06, 2024, 12:04:31 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #7 on: June 01, 2008, 09:05:29 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?

Its quite simple:

[statedef -2]

Code: [Select]
[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 =


Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #8 on: June 01, 2008, 09:14:38 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?

Its quite simple:

[statedef -2]

Code: [Select]
[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.

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12461
  • Country: Brazil br
  • Last Login:May 06, 2024, 12:04:31 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #9 on: June 01, 2008, 09:29:54 PM »
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

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #10 on: June 01, 2008, 09:33:33 PM »
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

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12461
  • Country: Brazil br
  • Last Login:May 06, 2024, 12:04:31 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #11 on: June 01, 2008, 09:48:13 PM »
two things:

1-
Quote
[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-
Quote
[State 0, VelSet]
type = VelSet
trigger1 = time >= 1 && <=20
x = 3
y = 0

Make this way:

Quote
[State 0, VelSet]
type = VelSet
trigger1 = time = [1,20]
x = 3
y = 0

But what happens? the helper aren't showing up?


Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #12 on: June 01, 2008, 09:50:24 PM »
it shows up.. i just become the helper instead of the helper just moving across the screen.

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12461
  • Country: Brazil br
  • Last Login:May 06, 2024, 12:04:31 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #13 on: June 01, 2008, 09:54:34 PM »
you become the helper????? Its impossible.

aren't using the SAME state 710 two times?

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #14 on: June 01, 2008, 10:01:30 PM »
you become the helper????? Its impossible.

aren't using the SAME state 710 two times?
nope.

want me to send u the character?

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12461
  • Country: Brazil br
  • Last Login:May 06, 2024, 12:04:31 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #15 on: June 01, 2008, 10:03:39 PM »
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

Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #16 on: June 02, 2008, 04:00:47 PM »
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?

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #17 on: June 02, 2008, 04:02:03 PM »
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.

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12461
  • Country: Brazil br
  • Last Login:May 06, 2024, 12:04:31 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #18 on: June 02, 2008, 05:29:39 PM »
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

Quote
;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:

Quote
[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:


Quote
[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 :)
« Last Edit: June 02, 2008, 06:02:03 PM by O Ilusionista »

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #19 on: June 02, 2008, 07:08:47 PM »
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?

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #20 on: June 02, 2008, 07:22:23 PM »
nvm got it..
but it still has the error when his power bar is full.

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12461
  • Country: Brazil br
  • Last Login:May 06, 2024, 12:04:31 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #21 on: June 02, 2008, 08:03:22 PM »
Quote
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....

Quote
but it still has the error when his power bar is full.

What problem?

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #22 on: June 02, 2008, 08:26:43 PM »
Quote
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....

Quote
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.

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #23 on: June 03, 2008, 10:24:03 AM »
check the cmd or the cns, for something that has as a trigger power >=3000 or power =3000


sig made by shullbocka

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12461
  • Country: Brazil br
  • Last Login:May 06, 2024, 12:04:31 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: How to make a helper state with out making a call helper state.
« Reply #24 on: June 03, 2008, 11:30:13 AM »
Quote
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:

Quote
;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:



note that he is walking...and everything is okay.

Sorry if I was rude, but this really piss me off.

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

Classic VS : Athena by ELECTRO
[May 10, 2024, 02:44:09 PM]


Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[May 09, 2024, 11:53:48 AM]


Neon Light Force Demo by kyoman
[May 08, 2024, 12:50:05 PM]


D2TD VS Showcase Thread by D2TD
[May 05, 2024, 10:08:50 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[April 21, 2024, 12:09:20 PM]


Ultimate E. Honda + stage by ELECTRO
[April 18, 2024, 09:47:24 PM]


Sunset Beach (1.1 Only/AIGS) by Vegaz by LightFlare
[April 16, 2024, 06:55:00 PM]


Wonder Twins 2.0 by brucewayne74, Shining and Skhsato123 by brucewayne74
[April 05, 2024, 06:07:48 PM]


X-Men Training Room (Bright & Dark) Stage 1.1 & 1.0 by MatreroG
[April 05, 2024, 10:55:29 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[April 01, 2024, 11:03:03 PM]

* IMT Calendar

May 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4
5 6 7 8 9 10 [11]
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

SimplePortal 2.3.5 © 2008-2012, SimplePortal