Jump to content
Sign in to follow this  
jefferonmouze

AI Recruitment xeno dominiation 2 -ArmA 3-

Recommended Posts

Hi guys,

I have a question about recruiting ai in the domination 2 by xeno.

I'm editing the xeno file for my clan. I was wondering how do i set the amount of the ai higher.

And i want also set more types of soldiers like the recon soldiers and snipers. I searched i bunch of files for this script but i can't find it.

Does this have to be done in the in-game mission editor?

I do not have alot of experience with scripting so if someone can help me it wil mean alot!!

Thx,

Jeffrey

sorry guys posted it in the wrong thread i will move it

Edited by jefferonmouze
Moved!

Share this post


Link to post
Share on other sites

@ Jefferonmouze

Very simple you can adjust the number of AI right from the parameters at the start of the mission just scroll down. If you want to increase the default number which is 16 just go into the description.sqf and look for the code

class GVAR(max_ai) {

title = "$STR_DOM_MISSIONSTRING_1176";

values[] = {6,8,10,12,14,16};

default = 8;

texts[] = {"6","8","10","12","14","16"};

and adjust to want you want.

to add different units to the list open the X_CLIENT FOLDER and look for the x_recruitsetp.sqf and look for the code line

if (isNil QGVAR(UnitsToRecruit)) then {

GVAR(UnitsToRecruit) =

#ifdef __OA__

switch (GVAR(player_side)) do {

case west: {

["US_Soldier_TL_EP1", "US_Soldier_GL_EP1", "US_Soldier_AR_EP1", "US_Soldier_Marksman_EP1", "US_Soldier_MG_EP1", "US_Soldier_LAT_EP1", "US_Soldier_AT_EP1", "US_Soldier_HAT_EP1", "US_Soldier_AA_EP1", "US_Soldier_Medic_EP1", "US_Soldier_Engineer_EP1"]

};

I already add a few units to the defult as you can see when you look at 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  

×