- What permissions do you give others to modify and/or maintain your submission?
- Modify: YES - Maintain: YES - I give permission for my entire submission to be modified by others or used in their own work. I give permission for my entire submission to be maintained by others as well.
|
---|
|
An Introduction to this addon! This here lua addon is designed to give the player momentum by manipulating the player's current normalspeed based on their current Z position when on the ground. This, and an obvious speed cap to make sure you don't lose control of your character while moving at high speeds.I would also like to add the fact that this momentum addon would have to be a callable function as long as you had copied the function itself, allowing for your custom characters to make usage of their own momentum. |
How do I 'apply' the momentum? Well, young one, all you have to do is call the "P_ApplyMomentum" command making sure to place brackets with the appropriate values within them.Here, you can see a potential example that is also found within the lua file itself:
Exemplar code:
|
How do I exclude a skin from using the momentum? Use the new 'applymom' command as of v1c to exclude a skin from using momentum! Usage goes about the following:- applymom 1: Apply to current skin - applymom 2: Unapply to current skin. |
Recommended addons to use with this! Well, well, well... Looking for addons that I personally recommend to ya that make the experience better? You're in the right place! Here's some that I recommend:- Run on Water - Uncurl v4 (sfx update) - Spring Recurl |
To finish off I coded this while I was a little ill and took the day off from having a normal life, so please do report any errors you see back to me. Well, that's all I gotta say really... Good day to you all!Can someone count the amount of times I wrote the word 'momentum' for me? |