I am interested in tweaking player speed within a mod I am working on, but I am unsure how to change the speed without overwriting the effects of other mods, exoskeletons, spitter splashes and various stickers. I am thinking changing the character_running_speed_modifier is the best way, but for one, its not clear if other effects also change this? And if there is another mod also changing that value then I have to make sure to restore the impact of that mod (and make sure my mod wont be overwritten by that other mod). Is there a reliable to do this, like a trick of some kind? Or are movement speed-affecting mods typically not compatible?
Thanks,
Cromptank
Best practices for setting player speed?
- Stringweasel
- Filter Inserter
- Posts: 405
- Joined: Thu Apr 27, 2017 8:22 pm
- Contact:
Re: Best practices for setting player speed?
Hello!
Not sure about the running_speed_modifier. Might be if other mods might change it after you do.
A trick you can use is to add an invisible sticker to the character. Similar to what slow-down capsules do, except to increase speed.
The tricky part is managing it though. Is it automatically created for new players? What if they go into editor mode and chamge back? Change surfaces in SE? Toggle the Jetpack? Get in and out of vehicles?
Not sure about the running_speed_modifier. Might be if other mods might change it after you do.
A trick you can use is to add an invisible sticker to the character. Similar to what slow-down capsules do, except to increase speed.
The tricky part is managing it though. Is it automatically created for new players? What if they go into editor mode and chamge back? Change surfaces in SE? Toggle the Jetpack? Get in and out of vehicles?
Alt-F4 Author | Factorio Modder
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock |Weasel's Demolition Derby
Official Contributor to Space Exploration
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock |
Official Contributor to Space Exploration
Re: Best practices for setting player speed?
The sticker strategy is quite smart. In a way it feely more hacky then changing the character speed modifier, but I really like that it would act independently of other mods and effects. I’ll have to get myself familiar with stickers and try to find a reliable way to keep it active, but this seems like a good path to insure compatibility. Thanks for your thoughts!