Jump to content
Sign in to follow this  
jsmith82

SQF Address Loot Cycle & AI Populator (ravage)

Recommended Posts

Hello,

 

I’m using Ravage Ambient AI and Loot for a scenario I’m working on.  In my scenario, I allow the user to adjust settings to change the “ai populator” (ravage’s AI multiplier, X Ai to Y units) and I’d like to also allow adjustments of the loot cycle which is a default 24 hours, no module settings to manipulate.

 

As for the presence of AI, I’ve tried using a global variable that is set to a number based on the user’s difficulty selection, and I placed that variable into the Ravage AI module populator parameter hoping the value would suffice, but it doesn’t work and the module clears out the variable replacing it with a zero when you close the module.

 

Next I decided 3 AI modules for 3 difficulties, created 3 Boolean variables, and based on the user setting I’d set the variable for the selected difficulty to true with all others to false so AI module that was functional had the appropriate difficulty set.

 

This kind of worked, but flaked out as I tested changing difficulty throughout a game.

 

Regarding the loot cycle, I’m at a loss on how to force reset.  I could speed up environment simulation and will probably do that.

 

Long winded, but here’s the questions:

 

Can you call a command to change Ravage module settings?  It seems so logical that based on a choice of the user, I could do something like rvg_AIPopulator = 3;  But I can’t find any documentation as such.  Likewise for the loot cycle, some rvg_forceLootCycleReset true; 

 

Appreciate any help from the ravage pros!

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  

×