scottdog62 9 Posted May 18, 2016 Hey is it possible to make units run faster? I want the player to move 1.5 times faster and ai run faster, is this possible? Share this post Link to post Share on other sites
Neviothr 102 Posted May 18, 2016 Not sure about the player unit, but am pretty sure that this works for AI. https://community.bistudio.com/wiki/forceSpeed Share this post Link to post Share on other sites
gc8 970 Posted May 18, 2016 You could take the unit's https://community.bistudio.com/wiki/velocity and multiply it and then use setVelocity I wouldnt recommend using that for AI units because it may messup their pathfinding Share this post Link to post Share on other sites
Grumpy Old Man 3540 Posted May 18, 2016 forceSpeed never worked for me (except for vehicles in a loop), setVelocity might kill the unit/player. Use this player setAnimSpeedCoef 1.5 instead. Cheers 4 1 Share this post Link to post Share on other sites
scottdog62 9 Posted May 18, 2016 Thanks, Grumpy old man, thats what i was looking for 1 Share this post Link to post Share on other sites
haleks 8206 Posted May 19, 2016 Trickier question : how one could achieve this on land vehicles? I think it's impossible via scripting, but I would like to be proven wrong. :) Share this post Link to post Share on other sites
Arkensor 96 Posted May 19, 2016 Trickier question : how one could achieve this on land vehicles? I think it's impossible via scripting, but I would like to be proven wrong. :) setAnimSpeedCoef does not work for vehicles, you need to use https://community.bistudio.com/wiki/setVelocity, that will speed up vehicles Regards Arkensor Share this post Link to post Share on other sites
Grumpy Old Man 3540 Posted May 19, 2016 Trickier question : how one could achieve this on land vehicles? I think it's impossible via scripting, but I would like to be proven wrong. :) You could take a look at my vehicle tuning script. Cheers Share this post Link to post Share on other sites