OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: xMobiusTyrx on 23 Jul 2009, 05:07:09

Title: AI Creation Via Barracks
Post by: xMobiusTyrx on 23 Jul 2009, 05:07:09
I've looked everywhere and have had no luck in finding this script. So I hope you guys will be able to tell me.

If you've ever played the ArmA 2 map called "Domination_AI_West" there is a barracks in which you can hire soldiers from.

How would I be able to construct that in my mission? What are the scripts and where do I put them?
Title: Re: AI Creation Via Barracks
Post by: Spooner on 23 Jul 2009, 15:58:09
There are already troop/vehicle/equipment purchase scripts built into the game (as used in Warfare). I'd advise just using those rather than trying to hack someone else's out of their mission or making your own.

Construction Interface (http://community.bistudio.com/wiki/Construction_Interface) module (though this is really taking about construction of buildings, the same module deals with all the Warfare shops too, as far as I'm aware).
Title: Re: AI Creation Via Barracks
Post by: xMobiusTyrx on 23 Jul 2009, 20:12:41
Ok, I'm using the construction module but no buildings are showing up in the list, is there something else I have to do? Any out-of-game scripting needed?