News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

help with helpers

Started by JudaiZX, August 06, 2009, 11:08:02 PM

Previous topic - Next topic

JudaiZX

 I tried coding a helper and when I tried to test it out I got this error
"error parsing super pause
error parsing [state 9000, superpause]
error in [statedef 9000]"

what am I doing wrong?

oh and heres the code

[statedef 9001]
type = S
movetype = A
physics = S
velset =0,0
ctrl =1
anim = 9001

[State 9001, SuperPause]
type = SuperPause
trigger1 = animelem = 1
time = 1
anim = 9001
sound =
pos = 0,0
move
darken = 1
p2defmul = 0
poweradd = 0
unhittable = 1

[State 9001, Helper]
type = Helper
trigger1 = animelem = 8005
helpertype = normal ;player
name = "knux"
ID = 8005
stateno = 8005
pos = 50,0
postype = p1    ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 0
supermove = 8003
pausemove = 8003

[state 9001]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1

[statedef 8005]
type = S
movetype = A
physics = U
velset = 0,0
crtl=0
anim = 8005

[State 8005, HitDef]
type = HitDef
trigger1 = animelem = 1
attr = S,HA        ;SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
hitflag = MAF        ;HLAFD+-
guardflag = MA         ;HLA
getpower = 0,0
givepower = 0,0
animtype = heavy          ;light,medium,hard,back,up,diagup
priority = 2,Hit   ;Hit,Miss,Dodge
damage = 200,20
pausetime = 0,0
sparkno = 0
guard.sparkno = 0
sparkxy = 666,666
hitsound = 0,0
guardsound = 0,0
ground.type = High      ;Low,Trip,None
ground.slide = 10
ground.velocity = 0,-6
sprpriority = 2
fall = 1
fall.recover =0
fall.damage = 20
down.bounce = 1

[state 8005]
type = destroyself
trigger1 = animtime = 0
value = 0
ctrl = 1
Quote from: Walruslui on February 07, 2017, 08:13:42 AM
youre a fucking meme. another borewood. REIWOOD. SHIP CONFIRMED.
Quote from: Alpaca-San on November 09, 2014, 09:26:35 AM
I will force feed Dark Pit right into your ass if we ever play on wi fi.
Quote from: SlanDome on September 13, 2020, 04:40:48 PM
i think this a dark souls of a mugen forums.
Spoiler (click to show)

Anjel

[State 9001, SuperPause]
type = SuperPause
trigger1 = animelem = 1
time = 1
anim = 9001
sound =
pos = 0,0
move
darken = 1
p2defmul = 0
poweradd = 0
unhittable = 1

...
My shitty mugen stuff:

JudaiZX

Quote from: Anjel on August 06, 2009, 11:12:27 PM
[State 9001, SuperPause]
type = SuperPause
trigger1 = animelem = 1
time = 1
anim = 9001
sound =
pos = 0,0
move
darken = 1
p2defmul = 0
poweradd = 0
unhittable = 1

...
wha what is it?
Quote from: Walruslui on February 07, 2017, 08:13:42 AM
youre a fucking meme. another borewood. REIWOOD. SHIP CONFIRMED.
Quote from: Alpaca-San on November 09, 2014, 09:26:35 AM
I will force feed Dark Pit right into your ass if we ever play on wi fi.
Quote from: SlanDome on September 13, 2020, 04:40:48 PM
i think this a dark souls of a mugen forums.
Spoiler (click to show)

Byakko

#3
Sound parameter has no value, there's a "move" lost in the middle of nothing just above the "darken" line.
Can you explain how come you just left the sound parameter empty and so ? This is a really basic thing, you can't do anything as long as you don't understand that.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

JudaiZX

Quote from: Byakko on August 06, 2009, 11:20:58 PM
Sound parameter has no value, there's a "move" lost in the middle of nothing just above the "darken" line.
Can you explain how come you just left the sound parameter empty and so ? This is a really basic thing, you can't do anything as long as you don't understand that.
I dont have any sound to fill that up.
Quote from: Walruslui on February 07, 2017, 08:13:42 AM
youre a fucking meme. another borewood. REIWOOD. SHIP CONFIRMED.
Quote from: Alpaca-San on November 09, 2014, 09:26:35 AM
I will force feed Dark Pit right into your ass if we ever play on wi fi.
Quote from: SlanDome on September 13, 2020, 04:40:48 PM
i think this a dark souls of a mugen forums.
Spoiler (click to show)

Byakko

Then don't put that line. Look at the docs. If it tells you a parameter is optional, and you have no need of it, then DON'T USE IT. It's not hard to look at the docs, it's all you need to do. it's just a few of lines to read, seriously.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

JudaiZX

Ok I removed the sound and move parameter but instead of a helper coming out I get clones of the character itself.
Quote from: Walruslui on February 07, 2017, 08:13:42 AM
youre a fucking meme. another borewood. REIWOOD. SHIP CONFIRMED.
Quote from: Alpaca-San on November 09, 2014, 09:26:35 AM
I will force feed Dark Pit right into your ass if we ever play on wi fi.
Quote from: SlanDome on September 13, 2020, 04:40:48 PM
i think this a dark souls of a mugen forums.
Spoiler (click to show)

Byakko

Your helper code tells Mugen to create a helper that uses statedef 8005. Do you have a statedef 8005 ? Does it use an animation that exists ?
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

JudaiZX

Quote from: Byakko on August 06, 2009, 11:47:14 PM
Your helper code tells Mugen to create a helper that uses statedef 8005. Do you have a statedef 8005 ? Does it use an animation that exists ?
yes it does.
Quote from: Walruslui on February 07, 2017, 08:13:42 AM
youre a fucking meme. another borewood. REIWOOD. SHIP CONFIRMED.
Quote from: Alpaca-San on November 09, 2014, 09:26:35 AM
I will force feed Dark Pit right into your ass if we ever play on wi fi.
Quote from: SlanDome on September 13, 2020, 04:40:48 PM
i think this a dark souls of a mugen forums.
Spoiler (click to show)

Bastard Mami

post your state 8005 before byakko gets a heart attack.

JudaiZX

Quote from: Frederika Bernkastel~ on August 06, 2009, 11:50:35 PM
post your state 8005 before byakko gets a heart attack.
its in the code I believe
Quote from: Walruslui on February 07, 2017, 08:13:42 AM
youre a fucking meme. another borewood. REIWOOD. SHIP CONFIRMED.
Quote from: Alpaca-San on November 09, 2014, 09:26:35 AM
I will force feed Dark Pit right into your ass if we ever play on wi fi.
Quote from: SlanDome on September 13, 2020, 04:40:48 PM
i think this a dark souls of a mugen forums.
Spoiler (click to show)

Byakko

#11
Quote[State 9001, Helper]
type = Helper
trigger1 = animelem = 8005
Hint : try to figure out when statedef 9001 plays an animation that has 8005 elements. Even though yo didn't show us your anim 9001, I presume it doesn't have 8005 elements, meaning that this trigger is not what you're trying to do.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

Bastard Mami


JudaiZX

this is animation 9001
and heres animation 8005
Quote from: Walruslui on February 07, 2017, 08:13:42 AM
youre a fucking meme. another borewood. REIWOOD. SHIP CONFIRMED.
Quote from: Alpaca-San on November 09, 2014, 09:26:35 AM
I will force feed Dark Pit right into your ass if we ever play on wi fi.
Quote from: SlanDome on September 13, 2020, 04:40:48 PM
i think this a dark souls of a mugen forums.
Spoiler (click to show)

Byakko

Quote from: Byakko on August 06, 2009, 11:55:09 PM
Quote[State 9001, Helper]
type = Helper
trigger1 = animelem = 8005
Hint : try to figure out when statedef 9001 plays an animation that has 8005 elements. Even though yo didn't show us your anim 9001, I presume it doesn't have 8005 elements, meaning that this trigger is not what you're trying to do.

Also, when we ask you to post the animation, we mean the animation code from the .air file.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

JudaiZX

Allright this is what I did with the code now:

[statedef 9001]
type = S
movetype = A
physics = S
velset =0,0
ctrl =1
anim = 9001

[State 9001, SuperPause]
type = SuperPause
trigger1 = animelem = 1
time = 1
anim = 9001
pos = 0,0
darken = 1
p2defmul = 0
poweradd = 0
unhittable = 1

[State 9001, Helper]
type = Helper
trigger1 = animelem = 8005
helpertype = normal ;player
name = "knux"
ID = 8005
stateno = 8005
pos = 0,0
postype = p1    ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 0
supermove = 8003
pausemove = 8003

[state 9001]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1
;-------------------------------------------

[statedef 8005]
type = S
movetype = A
physics = U
velset = 0,0
crtl=0
anim = 8005

[State 8005, HitDef]
type = HitDef
trigger1 = animelem = 1
attr = S,HA        ;SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
hitflag = MAF        ;HLAFD+-
guardflag = MA         ;HLA
getpower = 0,0
givepower = 0,0
animtype = heavy          ;light,medium,hard,back,up,diagup
priority = 2,Hit   ;Hit,Miss,Dodge
damage = 200,20
pausetime = 0,0
sparkno = 0
guard.sparkno = 0
sparkxy = 666,666
hitsound = 0,0
guardsound = 0,0
ground.type = High      ;Low,Trip,None
ground.slide = 10
ground.velocity = 0,-6
sprpriority = 2
fall = 1
fall.recover =0
fall.damage = 20
down.bounce = 1
;----------------------------------------
[state 8006]
type = destroyself
trigger1 = animtime = 0
value = 0
ctrl = 1

That fixed the clone problem but now no helper  is appearing.
Quote from: Walruslui on February 07, 2017, 08:13:42 AM
youre a fucking meme. another borewood. REIWOOD. SHIP CONFIRMED.
Quote from: Alpaca-San on November 09, 2014, 09:26:35 AM
I will force feed Dark Pit right into your ass if we ever play on wi fi.
Quote from: SlanDome on September 13, 2020, 04:40:48 PM
i think this a dark souls of a mugen forums.
Spoiler (click to show)

Byakko

Quotetype = Helper
trigger1 = animelem = 8005
Tell me if your anim 9001 has 8005 elements.
hint : it doesn't. Obviously the helper is never going to trigger.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.