Ludeon Forums

RimWorld => Mods => Help => Topic started by: Legionnairegames on November 04, 2021, 07:26:37 PM

Title: Help changing movement speed
Post by: Legionnairegames on November 04, 2021, 07:26:37 PM
I am making a mod for my scenario that is based on real-life earth. In this mod, I am making things based more on realistic things. Basically changing everything. I need help with a way to change the movement speed to be more realistic based on the time scale. Currently, I am changing the movespeed in the Races XML. But that also makes travelling in the world much faster. So I tried using the mod Caravan options to slow that down. But I am not satisfied with doing this, so if anyone has ideas on how I can accomplish this in a better way, it will be greatly appreciated. My first idea is to leave the movespeed to its default and apply a move multiplier that only affects pawns and animals on the map and not in the world. I also notice that pawns in wandering state appear to be slower than the base movement speed. If I can go that route will be more preferable as I can simulate running to like fires or important tasks but walking to just generic jobs like crafting. I am new to modding and C#, so I understand what I am asking might not be possible and might be super easy to someone that is very experienced. Thank you for any help.
Title: Re: Help changing movement speed
Post by: Legionnairegames on November 04, 2021, 11:29:39 PM
I think I figured it out! I decompiled another mod that did something similar and just used some of that to accomplish what I wanted to do. It only changes the overall movement speed of pawns. If anyone knows a way to target movement speed when doing certain tasks, similar to the way pawns move slower when wandering or going for a walk. It will be greatly appreciated.