Randomly spawning powerups
- CFC Logger
- (optional) CFC ULX Commands for the Curse powerup
You can download the latest release from our Releases tab, or you can clone our lua
branch and use it to stay up-to-date.
- Install moonloader to auto-compile while developing. It even works with lua autorefresh!
- Copy
moon/powerups/server/_template_powerup.moon
tomoon/powerups/server/your_powerup.moon
- Modify your new powerup file to your liking
- Copy the
moon/entities/_powerup_template
directory tomoon/entities/powerup_your_name
- Modify the new entity files (self explanatory once you're in there)
- Modify
lua/powerups/loaders/sv_powerups_init.moon
toinclude
your powerup andAddCSLuaFile
any clientside files you made (if applicable) - If needed, modify
lua/powerups/loaders/cl_powerups_init.moon
to include your clientside files (if you made any)
And that's it! Assuming your code runs, your new powerup should work!