YesNoOk
avatar

8-way Air Dash Question (Read 825 times)

Started by Ki$@1st456v, June 10, 2021, 11:33:08 AM
Share this topic:
8-way Air Dash Question
#1  June 10, 2021, 11:33:08 AM
  • avatar
  • *
    • USA
Hi. I have downloaded Gladiacloud's Dormammu and I was wondering, has anyone ever had problems trying to get all directions of an characters airdash to work? Dormammu can airdash in all directions except for the down-left direction. Can anyone please help me to get this direction to work?
I have tried to add commands to his airdash triggers at value 110 in his command section but it did not work

;Float
[State -1, Run Fwd]
type = ChangeState
value = 110
triggerall = statetype = A
triggerall = ctrl
triggerall = var(4) = 0
triggerall = stateno != 110
triggerall = stateno != 460
trigger1 = command = "FF"
trigger2 = command = "BB"
trigger3 = command = "float"

I tried to add a third trigger for "DB" in this section where I hoped it would recognize it. I added the command "DB" to try to get it to work.

[Command]
name = "DB"     
command = /$DB, x+y
time = 10

;Float
[State -1, Run Fwd]
type = ChangeState
value = 110
triggerall = statetype = A
triggerall = ctrl
triggerall = var(4) = 0
triggerall = stateno != 110
triggerall = stateno != 460
trigger1 = command = "FF"
trigger2 = command = "BB"
trigger3 = command = "DB"
trigger4 = command = "float"

The next question I have is: can the directions that you have listed to hold in the command list conflict with each other preventing a character from doing all of their movements? I have tried to remove one of the "holddownfwd" commands in order to get the airdash to work but still it does nothing. I even tried to add "holddownback2" to get the airdash but still there is nothing.

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdfwd";Required (do not remove)
command = /$F
time = 1

[Command]
name = "holdback";Required (do not remove)
command = /$B
time = 1

[Command]
name = "holdup" ;Required (do not remove)
command = /$U
time = 1

[Command]
name = "holddown";Required (do not remove)
command = /$D
time = 1

[command]
name = "holddownback"
command = /$DB
time = 1

[command]
name = "holddownfwd"
command = /$DF
time = 1

[command]
name = "holdupback"
command = /$UB
time = 1

[command]
name = "holdupfwd"
command = /$UF
time = 1

[command]
name = "holddownforward"
command = /$DF
time = 1

I also have the statedefs for the airdash here

;Float
[Statedef 110]
type    = A
physics = N
anim = 110
sprpriority = 1
ctrl = 0
velset = 0,0

[state a]
type = ctrlset
trigger1 = animelem = 3,>=0
value = 1

[state a]
type = varset
trigger1 = time = 0
v = 5
value = 0

[state a]
type = varset
trigger1 = time = 0
trigger1 = command = "holdup"
v = 5
value = 1

[state a]
type = varset
trigger1 = time = 0
trigger1 = command = "holdback"
v = 5
value = 2

[state a]
type = varset
trigger1 = time = 0
trigger1 = command = "holddown"
v = 5
value = 3


[state a]
type = varset
trigger1 = time = 0
trigger1 = command = "holdfwd"
trigger1 = command = "holdup"
v = 5
value = 4

[state a]
type = varset
trigger1 = time = 0
trigger1 = command = "holdback"
trigger1 = command = "holdup"
v = 5
value = 5

[state a]
type = varset
trigger1 = time = 0
trigger1 = command = "holdback"
trigger1 = command = "holddown"
v = 5
value = 6

[state a]
type = varset
trigger1 = time = 0
trigger1 = command = "holdfwd"
trigger1 = command = "holddown"
v = 5
value = 7

[State explod];
type = Explod
trigger1 = time = 0
anim = 115
id = 115
sprpriority = 5
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
under = 0
ownpal = 1
ignorehitpause = 1
removeongethit = 1
scale = 1,0.7

[state 100, 4]
type = explod
trigger1 = var(5) = 0
trigger1 = time % 5 = 0
id = 100
anim = 6014
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
sprpriority = 5
persistent = 0
removeongethit = 1

[state 100, 4]
type = explod
trigger1 = var(5) = 2
trigger1 = time % 5 = 0
id = 100
anim = 6014
postype = p1
facing = -1
pos = 0,0
ownpal = 1
bindtime = 1
sprpriority = 5
persistent = 0
removeongethit = 1

[state a]
type = changeanim
triggerall = time = 0
trigger1 = var(5) = 0
trigger2 = var(5) = 4
trigger3 = var(5) = 7
value = 110

[state a]
type = changeanim
triggerall = time = 0
trigger1 = var(5) = 2
trigger2 = var(5) = 5
trigger3 = var(5) = 6
value = 111

[state a]
type = changeanim
triggerall = time = 0
trigger1 = var(5) = 1
value = 112

[state a]
type = changeanim
triggerall = time = 0
trigger1 = var(5) = 3
value = 113

[state 192, 2]
type = playsnd
trigger1 = time = 0
value = 0, 17

[State 100, 1]
type = VelSet
trigger1 = var(5) = 0
trigger1 = time = 0
x = 8

[State 100, 1]
type = VelSet
trigger1 = var(5) = 1
trigger1 = time = 0
y = -11

[State 100, 1]
type = VelSet
trigger1 = var(5) = 2
trigger1 = time = 0
x = -11

[State 100, 1]
type = VelSet
trigger1 = var(5) = 3
trigger1 = time = 0
y = 11

[State 100, 1]
type = VelSet
trigger1 = var(5) = 4
trigger1 = time = 0
x = 9.5
y = -9.5

[State 100, 1]
type = VelSet
trigger1 = var(5) = 5
trigger1 = time = 0
x = -9.5
y = -9.5

[State 100, 1]
type = VelSet
trigger1 = var(5) = 6
trigger1 = time = 0
x = -9.5
y = 9.5

[State 100, 1]
type = VelSet
trigger1 = var(5) = 7
trigger1 = time = 0
x = 9.5
y = 9.5

[State 100, 1]
type = Velmul
trigger1 = var(5) != 0
x = 0.92
y = 0.92

[State 100, 1]
type = Velmul
trigger1 = var(5) = 0
x = 0.96

[state a]
type = posset
trigger1 = pos y >= -5
y = -5

[state 222, 5]
type = changestate
trigger1 = animtime = 0
value = 460

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

I am not sure what it may be, but what do I have to add to these things in order to get the 8-Way Airdash to work in every direction? I greatly appreciate any help in this topic.

I have a video link showing what I am talking about too. I can do Dormammu's airdash in all directions except down+left.

https://drive.google.com/file/d/1-AObj7eHZdowI2XS3agqFZAQWnS9fabJ/view?usp=sharing