IPB


Welcome Guest ( Log In | Register )

 Forum Rules ArmedAssault.info Forum Rules
> Ambient combat, same as A2?
TacticalyMalici0us
post Oct 4 2010, 18:07
Post #1


Member
***

Group: Members
Posts: 45
Joined: 3-August 10
Member No.: 8,086



Hi....
Just bought OA over the weekend and was just wondering if the ACM works the same way as it does in A2?
I tried using an "init" file from A2 in an OA mission for the ACM but didnt notice any combat happening.
Yes, I waited atleast 10 minutes as where in A2 with the same ACM init it only takes about 2 minutes to start.

I found an init code on the BI-WIKI and tried that one too but to no avail.

any help is greatly appreciated!


--------------------
SAVE IN CASE OF CRASH!
 
Quote Post
 
Start new topic
Replies
TacticalyMalici0us
post Oct 5 2010, 15:05
Post #2


Member
***

Group: Members
Posts: 45
Joined: 3-August 10
Member No.: 8,086



QUOTE(TacticalyMalici0us @ Oct 4 2010, 10:07) *
Hi....
Just bought OA over the weekend and was just wondering if the ACM works the same way as it does in A2?
I tried using an "init" file from A2 in an OA mission for the ACM but didnt notice any combat happening.
Yes, I waited atleast 10 minutes as where in A2 with the same ACM init it only takes about 2 minutes to start.

I found an init code on the BI-WIKI and tried that one too but to no avail.

any help is greatly appreciated!



Got it to work...finally.

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, 400, 800] call BIS_ACM_setSpawnDistanceFunc;

//factions to be spawned
[["BIS_TK"], BIS_ACM] call BIS_ACM_setFactionsFunc;

//Skill range for spawned units
[0, 1, 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", -1, BIS_ACM] call BIS_ACM_setTypeChanceFunc;

the one on the wiki page doesnt seem to work right.
if I knew what I was doing then id probably know why, but alas I have NO idea what I'm doing lol.
but I got this one to work and it works great for anyone who wants to use the ACM.
Anywhoz....peace wink.gif


--------------------
SAVE IN CASE OF CRASH!
 
Quote Post

Posts in this topic


Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 20th April 2024 - 06:28