Search results for query: *

  1. ⛧Labyrinthia⛧

    How to make functions in tables and have them sync

    I'm not familiar with RSNEO nor Battle, but could you be a little more specific? Because... This should be working. And from the little tests I ran before replying the concept worked fine? If that's not what you meant could you try to fill me in a little more? 1677715799 I'm not familiar...
  2. ⛧Labyrinthia⛧

    how can i make it the player can only use this ability once?

    player.mo should be inside P_IsObjectOnGround(), not player.
  3. ⛧Labyrinthia⛧

    how can i make it the player can only use this ability once?

    First of all, you should really explain what exactly you're trying to do and what is the intended behavior. I can kinda sorta work out what this might be trying to do but I can't be certain unless you yourself explain what you're trying to do with this. Which brings me to the other point...
  4. ⛧Labyrinthia⛧

    [Open Assets] Shield Storage

    Labyrinthia updated Shield Storage with a new update entry: 2.1 Update! Compatibility changes and console commands. Read the rest of this update entry...
  5. ⛧Labyrinthia⛧

    [Open Assets] Shield Storage - 2.1 Update! Compatibility changes and console commands.

    Relatively sooner than what I expected but here we are! Let's get going. :blink: CROSS-ADDON COMPATIBILITY Should be easier now to make custom shields to work with this. Instead of having to edit the lua directly now all you need to do is create a config (or text) file in your...
  6. ⛧Labyrinthia⛧

    [Open Assets] Shield Storage

    It's less about a compatibility issue and more that I specifically made it to be that way! The stored shields are cleared on player spawn (and player death...and when they get the PF_FINISHED flag). I'm gonna roll out an update with a couple CVars to make it more flexible in the foreseeable...
  7. ⛧Labyrinthia⛧

    where can i learn lua?

    Speaking from my own personal experience with Lua (and programming as a whole), experimenting is key! Surely, you'll find the Lua's reference manual, and x number of tutorials useful, however there's only so much watching tutorials and reading concepts will do without proper practice. It also...
  8. ⛧Labyrinthia⛧

    What modding program should I use? (If there are any)

    You're definitely gonna want to use SLADE one way or the other, yeah. It's quite literally made for creating and editing mods made for games in the DooM engine. Personally I don't like SLADE's code editor , and any code editor that has Lua syntax highlighting should do the job anyway. But if...
  9. ⛧Labyrinthia⛧

    Chaos Emerald abilities upon obtention ?

    Not easily, but it's not impossible. Talking in hypotheticals you'd have to override how the game handles doing super transformations to include your own logic (assuming you mean you want both the default super transformation and your own to have the same criteria, i.e 7 Emeralds and 50 or more...
  10. ⛧Labyrinthia⛧

    [Open Assets] Shield Storage

    Labyrinthia submitted a new resource: Shield Storage - Store and exchange shields on the go! Read more about this resource...
  11. ⛧Labyrinthia⛧

    [Open Assets] Shield Storage 2.1

    DISCLAIMER • This is a port/recreation of my old script from SRB2 v2.1; • This should work in online play, unfortunately I don't have the people to test it, so I give no guarantees; • THIS ADDON USES l_ButtonState.lua BY fickleheart (GitHub), IT IS NOT MINE. The main repository implies that the...
  12. ⛧Labyrinthia⛧

    How to make it to work it gave the error "pseudo-variable out of range or not in assignment near '$' ?

    I'm an absolute buffoon and I couldn't be more wrong. Okay I'm not aware of WHY it happens but seems like you cannot use pseudo-variables ($1) in this case for some reason. If someone else knows why I'd love to know but anyway: Change $1 to player.pflags. I've went ahead and tested this out...
  13. ⛧Labyrinthia⛧

    How to make it to work it gave the error "pseudo-variable out of range or not in assignment near '$' ?

    As far as I'm aware $2 isn't a thing. What you're probably looking for is $1. So change if player.pflags == $2|PF_STARTJUMP|PF_STARTDASH to if player.pflags == $1|PF_STARTJUMP|PF_STARTDASH. In SRB2's Lua, using $1 in a variable assignment or comparison is a shorthand for the variable you're...
  14. ⛧Labyrinthia⛧

    What's your favorite game?

    I've always been a huge fan of Yume Nikki and a LOT of its fangames. And in my younger years Wild ARMs 5 for the PS2 was by far one of my favorite games of the era. If I were to take a favorite of the last few years I'd probably either say Celeste or CrossCode! The potential for extremely fast...
  15. ⛧Labyrinthia⛧

    How to get if player is being carried. And if so, whose carrying the player?

    I'm not 100% sure, this is an issue I never encountered before, but if I'd take a guess I think it could be because the code is interpreting the player from player and the player from player.mo.tracer.player (the last player in the line) as the same thing. If it's not too much trouble could you...
  16. ⛧Labyrinthia⛧

    How to get if player is being carried. And if so, whose carrying the player?

    Would you mind specifying what inputs you want to get? Is it movement inputs or jumping, spindash, custom1/2/3 inputs?
  17. ⛧Labyrinthia⛧

    How to get if player is being carried. And if so, whose carrying the player?

    In SRB2 2.1 there used to be a player state S_PLAY_CARRY that indicated whether or not a player was being carried. Such state is missing from the 2.2 list of states however since the wiki page says that it might be incomplete, I believe it's worth a shot trying it out anyway: If this does...
  18. ⛧Labyrinthia⛧

    Invincible character

    Unsure on whether you already realized it or not but you may just do the following (assuming you mean you want multiple character that don't take damage):
  19. ⛧Labyrinthia⛧

    Chaos Emerald abilities upon obtention ?

    Information taken from the wiki: To replicate the behavior which you described you'd have to perform multiple checks on either the global variable emeralds or the player property pw_emeralds through player.powers[pw_emeralds] (depending on the gamemode) to verify if the value in either of...
  20. ⛧Labyrinthia⛧

    [Open Assets] Shield Storage! — Keep 'em all for when you need them!

    Deeply sorry about the humongous delay. You've probably figured out that it doesn't, I might add it in a future version though.
Back
Top