Search results for query: *

  • Users: Dodobee
  • Content: Threads
  • Order by date
  1. Dodobee

    P_SpawnMobjFromMobj not working

    I really don't understand what's going on but it just doesn't spawn anything at all addHook("MobjThinker", function(mo) -- runs once per player each frame if mo.extraenemyx == nil then mo.extraenemyx = P_RandomRange(-3, 3) end if mo.extraenemyy == nil then...
  2. Dodobee

    Why isn't this working?

    For some reason, specifically the spring and underwater part (lines 2 and 3) don't work but the player.mo.z - player.mo.floorz (line 1) works fine. if player.mo.z/FRACUNIT - player.mo.floorz/FRACUNIT < 256 or (player.mo.eflags & MFE_UNDERWATER) or (player.mo.eflags & MFE_SPRUNG)...
  3. Dodobee

    How do I kill the player when they touch the ceiling?

    I need it so that if the player touches a ceiling, they are instantly killed. 1741940294 And same thing with the walls too 1742013722 I figured out how to make the ceiling work using ceilingz but I still need help figuring out how to check if the player touched a wall
  4. Dodobee

    Is it possible to change the speed of certain animations?

    I'm making a death animation and I would like it to be faster. How should I do it?
  5. Dodobee

    How to force player to jump using lua

    I want the player to jump basically whenever they touch the ground so I need a function or something that forces the player to jump.
  6. Dodobee

    How would I delay a teleport?

    I'm making a character mod where the character's main ability is teleporting up to 3 times in the air. I need it so that the character doesn't teleport instantly and there's a moment where the character is just invisible and then it teleports. Espio's teleport is a good example of what I'm...
  7. Dodobee

    The Wisp Pack W.I.P

    Welcome to my Wisp Pack progress thread! The Wisp pack is a project I'm planning to work on for SRB2. The Wisp Pack is a character pack full of wisps from the Sonic universe. It will include all the wisps from Sonic Colors and if I feel like it I'll add more. I have planned for the wisps to...
  8. Dodobee

    How do I change a player variable with a custom command?

    I need the player to be able to choose the amount of a custom player. variable using a command but I'm not sure how to do that.
  9. Dodobee

    For some reason my Lua isn't working

    Basically, I'm making a prototype for a roguelite-ish system where every time you spawn into a map you get to choose between more speed or more jump height but I don't know why it just doesn't do anything. addHook("PlayerThink", function(player) -- runs once per player each frame if...
  10. Dodobee

    Is there a way to check if the player used spring?

    Pretty self-explanatory, I just need something that checks if the player used a spring.
  11. Dodobee

    Cartoon Air Walk

    Dodobee submitted a new resource: Cartoon Air Walk - A goofy addon that gives a new meaning to "Airwalking" Read more about this resource...
  12. Dodobee

    Need help with getting my character to load

    Whenever I load my character, SRB2 crashes and it says R_AddSkins: syntax error in S_SKIN lump# 1(S_SKIN). What do I do to make it able to load?
  13. Dodobee

    No Jump Knuckles

    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...
  14. Dodobee

    Is there any way to measure the space between the floor and the player?

    I'm wondering if there's an if statement that you can use to check if the distance between the player and the floor is a certain number?
  15. Dodobee

    How does "end" work in lua?

    Using end confuses me as I don't understand when to put the bracket at the end of the script and it always gives me errors saying unexpected symbol near ')'
  16. Dodobee

    Having trouble making commands.

    So I am attempting to make a mod where you can kind of create small lua scripts in game using console commands and i literally have no idea how to do it. Here is what I have so far. Would appreciate if somebody explained how to make commands. (i am planning to make a command for every character...
  17. Dodobee

    What are the most common lua "if" and "then" statements?

    Pretty self-explanatory, just wanted to know. It would also be nice if there was an explanation on what those do.
  18. Dodobee

    Attempting to create a custom ability and need some help

    I am trying to make an ability where if the player jumps and then touches the ground again and jumps directly after they get a higher jump. I honestly have no idea how lua works but I tried something. I'm not sure what's the problem so if somebody can point out some issues, I would greatly...
  19. Dodobee

    I don't know how to create particles

    I'm trying to make my own custom particles spawn whenever the player uses their ability but I have no idea how to turn my particles into an object or how to spawn them when the player uses their ability.
  20. Dodobee

    I need help with a mod I'm working on

    So I thought of an idea for a mod that tries to incorporate the Mario Wonder badges into the Mario Bros mod but I ran into a problem, I need help for a way that the player can change their badge and I also need help for the animations. The Mario Bros mod uses a lot of the base game animations...
Back
Top