Jump to content
Sign in to follow this  
Redfist

Question from a total noob about changing variable in the ACM module

Recommended Posts

Hi all,

I read on the BI-wiki page that you can change the configuration of the Ambient Combat Manager module (and maybe even the Secom module), but - I have absolutely no idea of how to do it. E.g.

[<intensity | Scalar>, <ACM reference | Object>] call BIS_ACM_setIntensityFunc;

Is a line to affect the inensity of the fighting. Where do I put it? Where should the number variable go within the particular line?

I am a total editing noob, so please don't be impatient.

Also, does anyone know how I can spawn in enemy units and get them to behave in a certain way via a trigger? (e.g attack a village or patrol a route)

Thanks,

:)

Share this post


Link to post
Share on other sites

Try this post by:trini scourge

http://forums.bistudio.com/showthread.php?t=73393&page=6

For those that still need help with getting it to work, copy and paste this into your mission's "init.sqf", and change whatever you need to.

Code:

waitUntil {!isNil {BIS_ACM getVariable "initDone"}};

waitUntil {BIS_ACM getVariable "initDone"};

//Sets frequency and number of patrols (0-1). BIS_ACM is module name

[1, BIS_ACM] call BIS_ACM_setIntensityFunc;

//min max spawn distance

[bIS_ACM, 300, 600] call BIS_ACM_setSpawnDistanceFunc;

//factions to be spawned

[["USMC", "RU"], BIS_ACM] call BIS_ACM_setFactionsFunc;

//Skill range for spawned units

[0, 0.6, BIS_ACM] call BIS_ACM_setSkillFunc;

//Amount of ammo spawned units possess

[0.2, 0.5, BIS_ACM] call BIS_ACM_setAmmoFunc;

//Type of patrol. With 0 meaning no chance of appearing, and 1 meaning 100% chance. -1 removes patrol type completely.

["ground_patrol", 1, BIS_ACM] call BIS_ACM_setTypeChanceFunc;

["air_patrol", 0, BIS_ACM] call BIS_ACM_setTypeChanceFunc;

__________________

:)

Share this post


Link to post
Share on other sites

Thanks guys :)

I will try to make sense of your replies.

Although, it appears as though nobody really understands what being a 'noob' means. Are there any other beginner-friendly forums around? I get the idea that most people here are quite experience map makers.

Thanks for help anyway. Really appreciate it. :)

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  

×