scottb613 285 Posted September 2, 2022 Hi Folks, By default - most AI driven vehicles seem to be racing around at cartoon like speeds. Has anyone made a mod to limit the speed on all AI driven vehicles for a given scenario? If not - how would I find all the ground vehicles in any scenario to impart said speed restrictions? I guess I would need to leave the script running for the duration to control newly spawned vehicles as well. This is really for missions ran by ALiVE or Drongo's Map Population... Thanks. Regards, Scott Share this post Link to post Share on other sites
Harzach 2518 Posted September 3, 2022 https://community.bistudio.com/wiki/limitSpeed Share this post Link to post Share on other sites
scottb613 285 Posted September 3, 2022 On 9/3/2022 at 9:42 AM, Harzach said: https://community.bistudio.com/wiki/limitSpeed Hi Folks, Thanks so much - yeah - I've used limitSpeed before - the thing I'm uncertain about is identifying ALL ground vehicles - in a given mission - to apply limitSpeed to... Regards, Scott Share this post Link to post Share on other sites
fn_Quiksilver 1636 Posted September 5, 2022 On 9/3/2022 at 9:42 AM, Harzach said: https://community.bistudio.com/wiki/limitSpeed this does not apply to vehicles in aware/combat mode once they enter aware/combat, they ignore limitspeed It has continuous effect and AI will not break through the speed limitation until one is contacted, engaged or regrouped. you can do some interesting things with AI driving by removing the group/combat/AI overhead .. delete the driver unit and replace him with an Agent driver 1 Share this post Link to post Share on other sites
The Real Bunc 137 Posted September 5, 2022 Re that last comment - whats he easiest way to create an agent in a vehicle? There is now way to do this by dropping one in the editor right? So it has to be by script? Share this post Link to post Share on other sites
Harzach 2518 Posted September 5, 2022 On 9/5/2022 at 3:35 PM, The Real Bunc said: create an agent createAgent _newDriver = createAgent ["B_Soldier_F", [0,0,0], [], 0, "NONE"]; _newDriver setVariable ["BIS_fnc_animalBehaviour_disable", true]; _newDriver moveInDriver _vehicle; Share this post Link to post Share on other sites
fn_Quiksilver 1636 Posted September 6, 2022 On 9/5/2022 at 3:55 PM, Harzach said: createAgent _newDriver = createAgent ["B_Soldier_F", [0,0,0], [], 0, "NONE"]; _newDriver setVariable ["BIS_fnc_animalBehaviour_disable", true]; _newDriver moveInDriver _vehicle; i got a chuckle out of that snippet ... "disable animal behaviour on the man" 1 Share this post Link to post Share on other sites
Harzach 2518 Posted September 6, 2022 If only it were that simple! Share this post Link to post Share on other sites