Did you not put anything in the P_Thrust section? You're supposed to do it like this P_Thrust(player.mo, player.mo.angle, 10*FRACUNIT)or whatever value you want.
(also next time put your code in a code box so that its clearer)
I used an underscore for the name but used a space for the realname
(edit: that was the problem, thanks)
1713663864
but now when I load my character, it just doesn't show up in the character select screen
Dodobee submitted a new resource:
No Jump Knuckles - An addon that makes knuckles more interesting to play (in my opinion)
Read more about this resource...
If you wanted to play SRB2 without jumping, then you might want to try this addon. This addon makes Knuckles unable to jump but causes him to be able to glide basically whenever you're in the air. To make the game possible, using Custom 1 will launch Knuckles up a bit but damage him as a...
Would it be fine if I make it so that the normal thok and the homing thok are just with the jump button? I found an open assets mod that should do what you're asking for.
This script should make it so that you can use a normal thok when you press the spin button after a jump and use a homing thok if you press the jump button again after jumping.
addHook("PlayerThink", function(player)
if player.mo.skin ~= "sonic" then
return
end --this stops the...
Thanks, this was supposed to be for an add-on I'm making but it turned out to be too complex for me to do now so I'm probably not going to need this anymore.
Alright so pk3 is easier to handle than wad but they're basically the same thing, wad just doesn't have folders so its more cluttered. So basically you have to open SLADE (I assume you're using SLADE but if not then I'm not sure how to make wads) and then there is a button in the top left which...
There are 2 ways that I know of that can be used to make Lua work. You can simply download any other Lua mod and just replace the text inside with your own code, or you can use a wad editor such as SLADE to put your Lua into a wad. Because you're a beginner, I'd recommend the first.
There definitely is a way more efficient way to do this but I'm not sure how but here is the code and it works fine. (Give your character the CA_THOK ability instead of CA_JUMPTHOK)
addHook("PlayerThink", function(player) -- runs once per player each frame
if player.mo.skin ~= "sonic" then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.