• Do not use Works in Progress as a way of avoiding the releases system! Works in Progress can be used for sharing early betas and for getting suggestions for improvement. Releases of finished content are not allowed in this forum! If you would like to submit a finished addon, click here for instructions on how to do so.

Bark the polar bear(WIP)

I'm working on a mod of Bark the polar bear, I need a little help with the lua and the sprites
You say bark, and needed help scripting? I can do that of course!

GIF:


srb20179.gif


[I also used knuckles's sprites for the placeholder of bark]
 
You say bark, and needed help scripting? I can do that of course!

GIF:


View attachment 82218

[I also used knuckles's sprites for the placeholder of bark]
I really appreciate your help! This is also the idea of what I want to do (I don't know if it's understood)
Post automatically merged:

The jump ability will be the same as you used
Post automatically merged:

Forget this
Post automatically merged:

I meant that I forgot something, not that you forget it
 
Last edited:
I really appreciate your help! This is also the idea of what I want to do (I don't know if it's understood)
Post automatically merged:

The jump ability will be the same as you used
Post automatically merged:

Forget this
Post automatically merged:

I meant that I forgot something, not that you forget it
I can atleast try this
Post automatically merged:

I sadly try to do the grab and throw but It failed, am only a beginner however. Because I can do Custom 2: beat Spin: Smash
 
Last edited:
I could help you with sprites! I’m almost finished with my mod, so just let me know if you’re alright with it.
 
So i finally made everything, Here's the gifs

srb20187.gif


[I forgot the Custom 2: Beat Taunt since I was gonna do the gifs early]
[Also made the description much better]

srb20188.gif


Also did the smash since he smash down

srb20189.gif


Also I made him use custom 1 to spin

srb20190.gif


And the beating taunt as custom 2, since i used sonic's
sprites as a placeholder of his victory sprite
which is just the gasp sprite.

[Which Cheese-Boi might do of course]
also the sound effect was sfx_ideya

Also I will show you the lua script of course if you need it to be in here

LUA_MAIN:
-- Abilities



// Smash (Spin)
addHook("PlayerThink", function(player)
    if player.mo and player.mo.skin == "bark"
        if(player.mo.state == S_PLAY_JUMP)
        and(player.cmd.buttons & BT_USE)
        and(player.playerstate == PST_LIVE)
        and not (player.pflags & PF_STASIS)
        and not (player.pflags & PF_FULLSTASIS)
        and not (player.powers[pw_shield])
        and(P_IsObjectOnGround(player.mo) == false)
           player.mo.state = S_PLAY_FALL
           player.smash = true
           player.mo.momx = 0
           player.mo.momy = 0
           player.mo.momz = -35*FRACUNIT
           S_StartSound(player.mo, sfx_zoom, player)
           P_SpawnSkidDust(player, 7*FRACUNIT, sfx_none)
        end
       
        if(player.smash)
        and(P_IsObjectOnGround(player.mo) == true)
           player.mo.state = S_PLAY_FALL
           player.smash = false
           player.mo.momx = 0
           player.mo.momy = 0
           player.mo.momz = 0
           player.mo.state = S_PLAY_GLIDE_LANDING
           S_StartSound(player.mo, sfx_s3k49, player)
           P_NukeEnemies(player.mo, player.mo, 950*FRACUNIT)
        end
    end
end)


// Spin (Custom 1)
addHook("PlayerThink", function(player)
    if player.mo and player.mo.skin == "bark"
        if P_IsObjectOnGround(player.mo)
        and(player.cmd.buttons & BT_CUSTOM1)
        and not (player.pflags & PF_SPINNING)
        and(player.speed > 2*FRACUNIT)
           player.mo.state = S_PLAY_ROLL
           player.pflags = PF_SPINNING
           S_StartSound(player.mo, sfx_spin, player)
        end
    end
end)


-- Others



// Beat Taunt (Custom 2)
addHook("PlayerThink", function(player)
    if player.mo and player.mo.skin == "bark" and (player.cmd.buttons & BT_CUSTOM2)
        if P_IsObjectOnGround(player.mo) and player.pflags & PF_FINISHED
        and not player.powers[pw_carry]
        and(player.mo.state == S_PLAY_STND or player.mo.state == S_PLAY_WAIT)
           S_StartSound(player.mo, sfx_ideya, player)
           player.pflags = PF_FULLSTASIS
           player.mo.state = S_PLAY_GASP
        end
    end
end)
Post automatically merged:

Fixed:


Custom 2: Victory/Beat Taunt has been added in the character select description


GIF:


srb20191.gif
 
Last edited:
the ability to spin i meant this (At minute 0:23)
But it's ok although I found a bug (The sprite stnda1 stnda2a8 and stnda3a7 disappear)
Your very welcome of course, happy to even join this for you.
I am grateful that you have helped me with the lua (which I try to learn and fail)
 

Attachments

  • srb20001.gif
    srb20001.gif
    2.1 MB · Views: 71
the ability to spin i meant this (At minute 0:23)
Oh, well that almost looks like a torando attack but i'll do that
 
Oh, well that almost looks like a torando attack but i'll do that
Also if you press ONLY the spin button (smash is jump + spin) just pressing the spin button would hit the enemies, I don't know if I'm explaining myself correctly
Post automatically merged:

That is the ability to press the spin button
Custom 1: tornado atack
Spin:hit enemies
Jump + spin:smash
Jump: idk
 
Also if you press ONLY the spin button (smash is jump + spin) just pressing the spin button would hit the enemies, I don't know if I'm explaining myself correctly
well I am a beginner if you know, so I would have to learn to do that if I was a expert at it. but am not currently
Post automatically merged:

That is the ability to press the spin button
Custom 1: tornado atack
Spin:hit enemies
Jump + spin:smash
Jump: idk
Jump + Spin: Smash... I might not able to do that, How about Spin as hit enemies was Custom 3?
 
Last edited:
About jump + spin I meant to press jump first and then spin (as shown in the gif).I know you are a beginner and I try to make the work easy, I don't know how you would do it about the ability to hit,but luck!
Post automatically merged:

You already made the ability of jump + spin to be smash, what I mean what ability would be just pressing spin (without jumping or doing anything, just pressing spin)
 

Attachments

  • srb20002.gif
    srb20002.gif
    357.1 KB · Views: 82
About jump + spin I meant to press jump first and then spin (as shown in the gif).I know you are a beginner and I try to make the work easy, I don't know how you would do it about the ability to hit,but luck!
Post automatically merged:

You already made the ability of jump + spin to be smash, what I mean what ability would be just pressing spin (without jumping or doing anything, just pressing spin)
Oh ok then
Post automatically merged:

Also bark doesn't glide and climb so I removed it
 
I might add in my code I used before called, mid air punch
Post automatically merged:

As used in the jump button
 
Last edited:

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

Back
Top