top of page

Easy FPS Hub Group

Public·41 members

Trying to make a kick attack that acts as a dash

so i have been working pretty hard on trying to make a kick that pushes enemies back, dashes the player forward and can be combo'd to increase momentum. I figured using a state for it would be best this is the code i have for the state and the animation plays but none of the actions happen and sound doesnt even play. frame 4 is transparent so when idle player cant see a knee staying on screen image kick 0 4

sound KICK


state IDLE

NONE

0

frame 4 0.05 0 0 0


state ALTATTACK IDLE

NONE

0

frame 3 0.05 0 0 0

action attack 25

action push 200

action incvar combo 1


action ifplayeronground ifvar combo 1 pushplayer 200

action ifplayeronground ifvar combo 2 pushplayer 260

action ifplayeronground ifvar combo 3 pushplayer 320

action ifplayeronground ifvar combo 4 pushplayer 380


action ifplayernotonground pushplayer 450


action ifvar combo 1 shakecamera 8

action ifvar combo 2 shakecamera 12

action ifvar combo 3 shakecamera 16

action ifvar combo 4 shakecamera 20


frame 2 0.07 0 0 0

frame 3 0.10 0 0 0 action sound 0

frame 4 0.25 0 0 0 action setvar combo 0 nextstate IDLE

425 Views

That's because none of that is valid FSM code. That is gibberish and looks like it came out of an AI prompt. You don't do nested actions in FSM, nowhere will you even find that suggested. frame 0(number) 0(time) 0(x) 0(y) 0(z) ACTION (usually NONE, can be RELOAD, SOUND, IFVAREQUALS IFVARLEQUALS etc). You can't nest a bunch of actiosn onto a single frame. Please don't use AI to generate scripts or FSM for Easy FPS Editor without actually training the AI specifically on the scripting language. This happens so often for new comers. I reccomend you join the DISCORD and ask in there for more help: https://discord.gg/TtwVDFYbZ

bottom of page