User Tools

Site Tools


arma3:scripting:dynamic-simulation

ArmA 3 Dynamic Simulation

ArmA 3, Config, Missions, 3D Modeling, Scripting, Terrain, Texturing, Tools

Dynamic Simulation for arma3 is like what CoC AIOD was for OFP (I bet you have no idea what I'm talking about hehe, if you do, you are true old school guy). Basically it freezes AI units that are further out than the value you define, this causes them to use zero CPU power and allows you to put completely crazy amounts of AI into your mission without any “lag” or slowdowns.

It is important to understand that the frozen AI are just that, totally unable to do anything even move, so these AI units must be well beyond your view distance so you wont be able to turkey shoot the defenseless poor AI (actually they cant even be killed in this state). Dynamic Simulation wont help small missions, but those large or huge missions covering most of the terrain will get incredible performance boost, well actually this allows you to create such huge missions in the first place.

Dynamic Simulation is best used on large terrain area where the AI is spread out and players must advance towards them etc.

We tested this with 2593 AI on a mission with i7 4790k CPU and it ran like being alone in the mission editor. See our demo video.

See bis wiki page for details.

How to use sqf scripting to enable and configure dynamic simulation:

// turn it on
enableDynamicSimulationSystem true;
 
// set the infantry enable distance
"Group" setDynamicSimulationDistance 1000;
 
// create your group here
 
// turn on dynamic simulation for this group
_grp enableDynamicSimulation true;

Dynamic Simulation Buggy?

2022-06-21T18:13:23Z

When playing single player PMC Livonia Ninjas campaign/mission the next day, after being loading back into the game after yesterdays probably 10hrs gaming session, dynamic simulation soldiers seem to not switch into “active” state even after players group approached within 1000 meters which was the configured group activating distance.

Is dynamic simulation buggy with very long and large savegames? 781 units under dynamic simulation in this one.

I do not know, I'm simply asking, don't go spreading this info as a fact because it is not, its simply one savegame load experience so far. Please let me know in PMC Tactical Forums: ArmA 3 area if you have further info.

arma3/scripting/dynamic-simulation.txt · Last modified: 2022-06-25 12:43 by snakeman