YesNoOk
avatar

Storm's Standing Foul Wind is Not Working! (Read 7986 times)

Started by Ki$@1st456v, July 21, 2021, 05:26:36 PM
Share this topic:
Storm's Standing Foul Wind is Not Working!
#1  July 21, 2021, 05:26:36 PM
  • avatar
  • *
    • USA
Hi, again! I have been trying to get one of my Storm's moves to come out but it is not. I had added COTA Storm's Foul Wind and Fair Wind moves to my MVC2 Storm but only the Fair Wind is working from standing and being in the air. For some odd reason Foul Wind is not working on the ground but in the air. I have all of my animations and values together but it just will not work. Does anyone know what I must do to fix this? I have the code and commands here.

; 風起こし・引き寄せ(Foul Wind )
[StateDef 3600]
Type = U
MoveType = A
Physics = N
Juggle = 0
PowerAdd = 0
Ctrl = 0
VelSet = 0,0
Anim = 3600
SprPriority = 1
FaceP2 = 1

[State 1400, 1]
Type = Explod
Trigger1 = StateType != A
Trigger1 = Time = 0
Anim = 7023
Scale = .5,.5
OnTop = 1
OwnPal = 1

[State 1400, 2]
Type = NotHitBy
Trigger1 = Time = 0
Value = SCA,AA,AP,AT
Time = 11

[State 1400, 3]
Type = PlaySnd
Trigger1 = Time = 10
Value = S250,0

[State 1400, 4]
Type = PlaySnd
Trigger1 = var(16) = 2
Trigger1 = Time = 10
Value = S300,20
Channel = 0

[State 1400, 5]
Type = Helper
Trigger1 = Time = 10
Name = "Foul Wind"
HelperType = Normal
PosType = P2
Pos = -40,0
StateNo = 3610
ID = 3610
OwnPal = 1
Size.height = 31073
Size.Ground.Back = 30
Size.Ground.Front = 30

[State 1400, 6]
Type = Helper
TriggerAll = Anim = 3600
TriggerAll = P2Dist X >= 0
TriggerAll = NumHelper(3611) <= 9
TriggerAll = Time >= 11
TriggerAll = Time <= 39
Trigger1 = Time %5
Name = "Foul Wind Smork"
HelperType = Normal
PosType = P2
Pos = -40,0
StateNo = 3610
ID = 3611
OwnPal = 1

[State 1400, 7]
Type = ChangeAnim
TriggerAll = StateType != A
TriggerAll = Anim != 3601
Trigger1 = Time >= 40
Trigger2 = Ctrl
Value = 3601
Persistent = 0

[State 1400, 8]
Type = ChangeAnim
TriggerAll = StateType = A
TriggerAll = Anim != 44
Trigger1 = Time >= 40
Trigger2 = Ctrl
Value = 44
Elem = 6
Persistent = 0

[State 1400, 9]
Type = CtrlSet
TriggerAll = Time >= 11
Trigger1 = P2BodyDist X = [-5,50]
Value = 1

[State 1400, 10]
Type = VelAdd
Trigger1 = StateType = A
Trigger1 = Anim = 44
Trigger1 = Pos Y < 0 && !var(7)
Y = 0.3

[State 1400, 11]
Type = StateTypeSet
Trigger1 = Anim = 44
MoveType = I
Persistent = 0

[State 1400, 12]
Type = VelSet
TriggerAll = StateType = A
TriggerAll = Name = "Storm COTA"
TriggerAll = Anim = 44
TriggerAll = Time > 0
TriggerAll = Command = "holdup"
Trigger1 = Command = "holdfwd"
Trigger1 = Vel X < 1.0
X = 1.0

[State 1400, 13]
Type = VelSet
TriggerAll = StateType = A
TriggerAll = Name = "Storm COTA"
TriggerAll = Anim = 44
TriggerAll = Time > 0
TriggerAll = Command = "holdup"
Trigger1 = Command != "holdfwd"
Trigger1 = Vel X = 1.0
X = 0.0

[State 1400, 14]
Type = VelSet
TriggerAll = StateType = A
TriggerAll = Name = "Storm COTA"
TriggerAll = Anim = 44
TriggerAll = Time > 0
TriggerAll = Command = "holdup"
TriggerAll = Command = "holdback"
Trigger1 = Vel X > -1.0
X = -1.0

[State 1400, 15]
Type = VelSet
TriggerAll = StateType = A
TriggerAll = Name = "Storm COTA"
TriggerAll = Anim = 44
TriggerAll = Time > 0
TriggerAll = Command = "holdup"
TriggerAll = Command != "holdback"
Trigger1 = Vel X = -1.0
X = -0.0

[State 1400, 16]
Type = VelSet
TriggerAll = StateType = A
TriggerAll = Name = "Storm COTA"
TriggerAll = Time > 0
TriggerAll = Command = "holdup"
Trigger1 = Vel Y > 1
Y = 1

[State 1400, 17]
Type = CtrlSet
TriggerAll = StateType = A
Trigger1 = Anim = 44
Value = 1
Persistent = 0

[State 1400, 18]
Type = SelfState
TriggerAll = var(7)
TriggerAll = StateType = A
Trigger1 = Time >= 40
Trigger2 = Anim = 44
Value = 1505
Ctrl = 1

[State 1400, 19]
Type = SelfState
TriggerAll = StateType = A
TriggerAll = var(12)
Trigger1 = Anim = 44
Value = 62
Ctrl = 1

[State 1400, 20]
Type = SelfState
TriggerAll = StateType = A
Trigger1 = Pos Y >= 0
Trigger1 = Vel Y >= 0 && Anim = 44
Value = 52
Ctrl = 1

[State 1400, 21]
Type = SelfState
TriggerAll = StateType != A
Trigger1 = AnimTime = 0 && Anim = 3601
Value = 0
Ctrl = 1

;---------------------------------------------------------------------------
; 風起こし・引き寄せ(Foul Wind)押し返し判定ヘルパー
[StateDef 3610]
Type = S
MoveType = I
Physics = N
PowerAdd = 0
Ctrl = 0
Anim = 3610
SprPriority = -4

[State 1410, SelfState];もし本体が間違ってここへ飛んで来たらSelfStateで復帰させる。
Type = SelfState
TriggerAll = Name = "Storm COTA"
Trigger1 = !IsHelper
Value = IfElse(StateType=L,5120,IfElse(StateType=A,5040,IfElse(Pos Y!=0,5040,0)))
Ctrl = 1

[State 1410, 1]
Type = PosSet
Trigger1 = 1
Y = 0

[State 1410, 2]
Type = PlayerPush
Trigger1 = IsHelper(3610)
Trigger1 = RootDist X > 0
Value = 1

[State 1410, 3]
Type = PlayerPush
Trigger1 = IsHelper(3611)
Trigger2 = IsHelper(3610)
Trigger2 = RootDist X <= 0
Value = 0

[State 1410, 4]
Type = VelSet
Trigger1 = RootDist X > 0
X = 15

[State 1410, 5]
Type = VelSet
Trigger1 = RootDist X <= 0
X = 2

[State 1410, 6]
Type = NotHitBy
Trigger1 = 1
Value = SCA,AA,AP,AT
Time = 1

[State 1410, 7]
Type = DestroySelf
Trigger1 = Time >= 36

;--------------------------------------------------------------------------- 

[Command]
Name = "Foul Wind"
Command = D, B, b+c
Time = 30
buffer.time = 30

[Command]
Name = "Foul Wind"
Command = D, B, b+c
Time = 30
buffer.time = 30

[Command]
Name = "Foul Wind"
Command = D, B, ~b+c
Time = 30
buffer.time = 30

[Command]
Name = "Foul WInd"
Command = D, B, ~b+c
Time = 30
buffer.time = 30

; 風起こし・引き寄せ(Foul WInd)
[State -1, Foul Wind]
Type = SelfState
Value = 3600
TriggerAll = var(59) = 0
TriggerAll = Alive = 1
TriggerAll = StateNo != 199
TriggerAll = !NumHelper(3610)
TriggerAll = Command = "Foul Wind"
TriggerAll = (Power >= 1*PowerMax / 6) || (Power >= 500) || var(53)
Trigger1 = Ctrl
Trigger2 = (StateNo = [200,499])
Trigger3 = (StateNo = [600,699])
Trigger4 = Ctrl
Trigger4 = fvar(4) != 0
Trigger4 = StateNo = [120,155]
Trigger4 = InGuardDist
;---------------------------------------------------------------------------
Re: Storm's Standing Foul Wind is Not Working!
#2  July 22, 2021, 04:42:19 PM
  • avatar
  • ***
Are you forget it State list?
Re: Storm's Standing Foul Wind is Not Working!
#3  July 22, 2021, 06:05:48 PM
  • avatar
  • *
    • USA
What? Are you saying the constants? I have the statedefs for 3600 and 3610 as the definitions with the animations for 3600, 3601, and 3610 for Foul Wind. I still cannot get the move to work on the ground though.
Re: Storm's Standing Foul Wind is Not Working!
#4  July 25, 2021, 08:51:47 PM
  • avatar
  • ***
I meen COMMANDS´s States...
Re: Storm's Standing Foul Wind is Not Working!
#5  July 26, 2021, 07:36:24 AM
  • avatar
  • *
    • USA
The Command State is a Selfstate at State -1 and is at value 3600. I am not sure exactly if that is what you are looking for but I have that from the CMND list at the bottom of my first post. I am not sure what else I am missing though.