Jump to content
Sign in to follow this  
arthur666

Question about configuring Modules

Recommended Posts

Sorry for such a basic question but, I want to configure the ACM a little. Where do i put the scripting to change patrol types etc?

Example: Physicaly, where would I type this : [bIS_ACM, 100, 500] call BIS_ACM_setSpawnDistanceFunc; ?

Share this post


Link to post
Share on other sites

Not 100% sure but I don't think it matters where you place that line of code as long as it executes before the module executes. So maybe try the init file?

Share this post


Link to post
Share on other sites

I'll try that when I get home. And I assume you can just put one after another, but does it matter what order they're in? I'm still trying to wrap my head around this coding stuff.

Share this post


Link to post
Share on other sites

Sorry I really haven't toyed with the modules that much yet, just know the artillery one fairly well. As for editing/changing their values I have no idea, I don't even know what that line of code you typed does lol. My reasoning is just I assume that if you want a module to execute in a certain way, you gotta define that way before it initializes. A lot of things you can't change when they're already running.

Share this post


Link to post
Share on other sites

Was just looking around and found this short script... I might've been totally wrong haha. This script waits until the ACM is initialized before changing it. Hope this is more helpful than I am lol.

http://www.caveofdistraction.com/2009/06/26/arma2-basic-tweaking-of-the-ambient-combat-module/

_

edit: k well half of that is the exact thing Daveyboy just posted

Edited by JDog

Share this post


Link to post
Share on other sites

init.sqf , Thanks yall. That's just the info I needed!

Share this post


Link to post
Share on other sites

My sniper behind enemy lines mission is much better now. We had eliminated our target, making our way back to the LZ after fending off a few random patrols. Ambushed by a random patrol of insurgents, I was wounded, my spotter saved my ass. We made it back, only to find a large squad in the area. Picked off their sniper and MGs, boarded the chopper under heavy fire. Made it out alive. ACM is great! Really made my mission.

Share this post


Link to post
Share on other sites

Sounds cool, glad it worked out, I'll have to give it a try. I recently put my first one - Gatekeeper - up there also :)

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  

×