Arma 3
Ravage
Grimwald 28 Aug, 2019 @ 8:19pm
Frequency of AI raiders spawn
Hi there,
On smaller maps the AI raiders become quite prevalent. I've seen multiple teams within minutes. I tried reducing population to 1, and then 0.2 (which is interpreted as zero, it seems). Is there a way to slow the frequency of AI raider spawns? Say instead of every 2 minutes, every 15minutes?
< >
Showing 1-4 of 4 comments
Grimwald 1 Sep, 2019 @ 5:36pm 
The best I have been able to do is delay the commencement of AI raider spawns until half-way through the scenario where the player will have better gear using the "condition" of the module. Still interested if there's a way to alter frequency of AI raider spawns, though.
Haleks  [developer] 3 Sep, 2019 @ 5:35am 
Not really at the moment - it's one of the reasons I want to upgrade the AI module soon.
Grimwald 4 Sep, 2019 @ 6:06pm 
That flexibility would be very useful. Thanks.

Perhaps consider an option like Chance of spawn (user input value) per time-interval-a (user input value) - with a guaranteed spawn per time-interval-b (user input-value). All capped by population factor.
Default something like:
100% per minute (which will be capped by Population factor).

Then those who want it less busy could set something like:
30% per 8 minutes and guaranteed once per 48 minutes.
Last edited by Grimwald; 4 Sep, 2019 @ 6:14pm
Grimwald 6 Sep, 2019 @ 3:47am 
For anyone watching, what I did is control the module with a public variable.
The public variable I put in the condition part of the AI module, in parentheses. I found it does not work without the parentheses.
When it is time to turn on AI raider spawning I set the public variable to true, declare it, then sleep for how long I want the AI raiders to spawn. Then I set it back to false; turning off the AI raider spawn.
//in the Ravage AI Condition module put the name of the publicVariable (RVG_AI_active) //any time I want to turn it on, set the public variable to true RVG_AI_active = true; publicVariable "RVG_AI_active"; //make it public sleep 300; //5 minutes RVG_AI_active = false; publicVariable "RVG_AI_active";

You may not have to make it public with the publicVariable declaration after changing the value. I do it anyway as prep for making MP scenarios and the process-cost is as low as possible in this context (just setting a boolean) .
Last edited by Grimwald; 6 Sep, 2019 @ 3:47am
< >
Showing 1-4 of 4 comments
Per page: 1530 50