• 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.

LeoTheHedgehog12's Bargain Bin

I'm able to add the textures perfectly fine, but the map makes the game crash (except for in 2213 for some reason)

srb20034.gif

srb20035.gif

srb20036.gif

srb20037.gif

srb20038.gif
 
redhot69's bad scripts that i could never make work

1. 2 shadow scripts that try to replicate both of his abilities from sonic exe the disaster
boost(its not a boost either)
addHook("PlayerThink", function(player)
if player.mo.skin == "shadow"
if (player.cmd.buttons & BT_CUSTOM2)
and P_IsObjectOnGround(player.mo)
and (player.mo.state == S_PLAY_STND) then
P_InstaThrust(player.mo, player.mo.angle, 20*FRACUNIT)
P_SetObjectMomZ(player.mo, 5*FRACUNIT)
player.mo.state = S_PLAY_SPRING
end
end
end)
Homing attack (this is no fucking homing attack when you have to aim it idk why they named it like that)
addHook("PlayerThink", function(player)
if player.mo.skin == "shadow"
if (player.cmd.buttons & BT_CUSTOM1)
and not P_IsObjectOnGround(player.mo)
and (player.mo.state == S_PLAY_JUMP) then
P_InstaThrust(player.mo, player.mo.angle, 30*FRACUNIT)
player.mo.state = S_PLAY_ROLL
player.pflags = $|PF_SPINNING
end
end
end)

2. another script that tries to replicate sonics sonic the fighters ability and didnt work either not sure why

addHook ("PlayerThink", function(player)
if player.mo.skin == "sonic"
if player.cmd.buttons & BT_CUSTOM1
and P_IsObjectOnGround(player.mo)
and player.mo.state == S_PLAY_RUN or S_PLAY_WALK or S_PLAY_STND then
P_InstaThrust(player.mo, player.mo.angle, 5*FRACUNIT)
P_SetObjectMomZ(player.mo, 15*FRACUNIT)
player.mo.state = S_PLAY_ROLL
player.pflags = $|PF_SPINNING
end
end)
why did you put this here and is this modified code
 
DUDE YOU STOLE MY ENTIRE BRANDING!

Dude, this is for MY stuff that I haven't finished. NOT YOURS. Next time use your own thread (and next time namee it something unique, bud.)
That’s not plagiarism. You’re not the first person in the world to have it something something’s bargain brand. Don’t treat it like it’s your brand.
 
That’s not plagiarism. You’re not the first person in the world to have it something something’s bargain brand. Don’t treat it like it’s your brand.
goodness all I said was they knocked me off. They made a wip thread named the same thing but with a different name after being told they need to make their own thing. you're always the first one to jump the gun whenever I say anything.
 
goodness all I said was they knocked me off. They made a wip thread named the same thing but with a different name after being told they need to make their own thing. you're always the first one to jump the gun whenever I say anything.
i actually didnt i was joking i dont have any thread for a wip thing yet
 
Does anyone know how to make this work? it keeps saying the variable is a nil value, even though I've given it a value in other lines of code.
Lua:
addHook("TouchSpecial", function(special, player)
    player.counter = $+1
end, MT_RING)
 
Does anyone know how to make this work? it keeps saying the variable is a nil value, even though I've given it a value in other lines of code.

* THE CODE *
Hmm... Maybe you should make sure to check if the value isn't nil before modifying it. SRB2 can be a little tricky sometimes.

Lua:
addHook("TouchSpecial", function(special, player)
    if player.counter != nil
        player.counter = $+1
    end
end, MT_RING)
 

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

Back
Top