Search results for query: *

  1. Honey Bee

    P_SKIN suddenly not working

    the skin folder shouldn't be in the 'Sprites' folder, i think the game is reading all these files there as sprites
  2. Honey Bee

    map header help

    can you show the error?
  3. Honey Bee

    How do I make a SOC object

    you have to freeslot the sprite, just type SPR_DODO
  4. Honey Bee

    Ability works, but for some reason it gives me a warning.

    you are not setting PF_THOKKED in the pflags i think, just do player.pflags = $|PF_THOKKED
  5. Honey Bee

    Ability works, but for some reason it gives me a warning.

    you should put player.mo.momz instead of player.momz
  6. Honey Bee

    need help on Custom HUD :c

    use the hook "HUD" or hud.add(), the library: https://wiki.srb2.org/wiki/Lua/Functions#HUD_library and the hook: https://wiki.srb2.org/wiki/Lua/Hooks#HUD examples: hook: addHook("HUD", function(v) v.drawString(0, 0, "Hello!") // Draws "Hello!" on the screen end) hud.add: local function...
  7. Honey Bee

    Color pack help

    there is a error in line 10, it should be "freeslot" instead of "reeslot"
  8. Honey Bee

    Help with a constant

    how INFLIVES works? i tried player.lives & INFLIVES and player.lives == INFLIVES and it didn't work, any help is greatly appreciated. for the context i want my HUD to display a infinite symbol when lives is infinite, and i can't find a way to check if it's infinite or not.
  9. Honey Bee

    SRB2 Cannont play my replaced music

    try naming the audio file O__SUPER.
  10. Honey Bee

    Script editor in Zone Builder not working??

    try saving the level wad first, and then open the script editor.
  11. Honey Bee

    i need help

    this code doesn't even do anything lol, you should start with simple things and then do the difficult ones and also don't use AI.
  12. Honey Bee

    [Open Assets] simple reusable double jump

    i found a bug that instead of setting the momz value it's adding to it example: here is the fixed code: // The argument 2 in the P_SetObjectMomZ is for adding to the MomZ, use false or just don't put anything to disable it P_SetObjectMomZ(player.mo, (10*player.jumpfactor))...
  13. Honey Bee

    need help on Custom HUD :c

    idk if you still need this, but use drawScaled (https://wiki.srb2.org/wiki/Lua/Functions#v.drawScaled). (you will need to multiply the X and Y values by FRACUNIT, and scale use FRACUNIT, like: FRACUNIT / 2 = 0.5 of the original size or FRACUNIT = 1 the original size)
  14. Honey Bee

    help

    idk, sorry
  15. Honey Bee

    help

    try using player.pflags, here is the constants (https://wiki.srb2.org/wiki/Constants#Internal_player_flags_(PF_*)), you can use PF_SPINNING in this case, like: player.pflags = $|PF_SPINNING and also don't forget to put the check if the player is already spinning if not(player.pflags & PF_SPINNING)
  16. Honey Bee

    my script is not working

    use it in whatever you want, happy modding! it's easy, just put (emeralds & EMERALD1) and (emeralds & EMERALD2) etc... look in the wiki to see all the emerald constants available (https://wiki.srb2.org/wiki/Chaos_Emerald#Technical_information).
  17. Honey Bee

    help pls

    this is the right code (im on my pc now): addHook("PlayerThink", function(player) if player.mo.skin == "sonic" if (player.cmd.buttons & BT_CUSTOM1) and not P_IsObjectOnGround(player.mo) if (player.pflags & PF_JUMPED) P_SetObjectMomZ(player.mo...
  18. Honey Bee

    help pls

    no, put one more end before 'end)' (sorry im not on my pc rn to test if it works)
  19. Honey Bee

    help pls

    add one more 'end', it should work
  20. Honey Bee

    my script is not working

    try this: addHook("PlayerThink", function(player) if (player.mo.skin == "c.l.sonic") if (emeralds & EMERALD1) player.charflags = $ & ~(SF_NOJUMPSPIN|SF_NOJUMPDAMAGE) else player.charflags = $|(SF_NOJUMPSPIN|SF_NOJUMPDAMAGE) end end end)
Back
Top