Jump to content
Sign in to follow this  
scottb613

All AI Ground Vehicles - Speed Restriction

Recommended Posts

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
On 9/3/2022 at 7:42 PM, Harzach said:

 

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

  • Like 1

Share this post


Link to post
Share on other sites

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
14 minutes ago, 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
21 hours ago, 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"

  • Haha 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×