Naidingo Posted February 7, 2015 Share Posted February 7, 2015 Working on my first mod here and can't seem to find a way to alter my character's run speed and didn't know if anyone could help me out as to where to look for that? Link to comment https://forums.kleientertainment.com/forums/topic/50640-how-do-you-change-a-characters-run-speed/ Share on other sites More sharing options...
Justintime235 Posted February 7, 2015 Share Posted February 7, 2015 inst.components.locomotor.walkspeed = ()inst.components.locomotor.runspeed = () This goes under the function(inst) in your prefab's lua. Normal walk speed is 4, and normal run speed is 6. For more look under the data\scripts\components\locomotor.lua Link to comment https://forums.kleientertainment.com/forums/topic/50640-how-do-you-change-a-characters-run-speed/#findComment-610780 Share on other sites More sharing options...
Naidingo Posted February 8, 2015 Author Share Posted February 8, 2015 Thank you! It worked : )Thank you! It worked : ) Link to comment https://forums.kleientertainment.com/forums/topic/50640-how-do-you-change-a-characters-run-speed/#findComment-610890 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.