Need help with sprites for characters (with animations)

TjSgRf

Member
2024 Collaborator
So, I've been trying to make a character mod with a custom ability, but I've been having a rather hard time.
For the past few... hours... I've been simply trying to make an animation show. However, it will NOT work.

Here is the script that defines the state:
defs.lua:
--taken from a wiki page about making states, then modified a bit
freeslot("SPR2_FSHJ")
freeslot("S_PLAY_FISHJUMP")

states[S_PLAY_FISHJUMP] = {
        sprite = SPR2_FSHJ,
        frame = FF_ANIMATE|A,
        tics = 5,
        var1 = 0,
        var2 = 5,
        nextstate = S_PLAY_FISHJUMP
}

Before ANYONE asks, yes, the sprites do exist. But for some reason, it sets the character's sprite to some reticle? When I tested to see if the fall sprite would work, it used the sprite for the turret...?

I have no clue how to fix this, and I'd appreciate some help. I'm trying to make this for a friend who's really into the character/person I'm making.

Thanks in advance!
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top