Forum Jump :

Author Message


Posts: 156
Rank:


Level: Member

Country: us
Location: NY
Occupation:
Age:
In-game name: A Hamburgler

 
#1 Posted at 2011-05-05 01:13        
     
ok so in the dac addon for arma2 it spawns the arma 2 usmc units so i was wondering if any one changed the files to spawn arma 2 oa us army units. If you have it can you post it. I dont know how hard it will be to do this but if it is hard to do then just tell me how to do it and if there is a post for this already just give me the link.

This post was edited by Foxhound (2011-05-05 08:16, ago)


Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 29
In-game name: VIPER [RR]

 
#2 Posted at 2011-05-05 01:23        
     
Well, all of the tutorials of how to do it etc are over at the BI Forums, which I'll link, perhaps you can try and apologize to whoever you offended and speak to a moderator about it.

http://forums.bistudio.com/showthread.php?t=100617
http://forums.bistudio.com/showthread.php?t=99759

But really its simple, just change the USMC classnames for that of the US Army Units. (if its for OA style maps also change the rest of the units classnames.)

//////////////////////////////
//    Dynamic-AI-Creator    //
//    Version 2.1 - 2009    //
//--------------------------//
//    DAC_Config_Units      //
//--------------------------//
//    Script by Silola      //
//         //
//////////////////////////////

private [
			"_TypNumber","_TempArray",
			"_Unit_Pool_S","_Unit_Pool_V","_Unit_Pool_T","_Unit_Pool_A"
		];

			_TypNumber = _this select 0;_TempArray = [];

switch (_TypNumber) do
{
//-------------------------------------------------------------------------------------------------
	case 0:
	{
		_Unit_Pool_S = 	[
							
							"RU_Soldier_Crew","RU_Soldier_Pilot","RU_Soldier_SL","RU_Soldier","RU_Soldier_GL",
							"RU_Soldier_MG","RU_Soldier2","RU_Soldier_Medic","RU_Soldier_AT",
							"RU_Soldier_Sniper","RU_Soldier_AR","RU_Soldier_Marksman",
							"RUS_Soldier_Sab","RUS_Soldier_Marksman"	
						];

		_Unit_Pool_V = 	[	"UAZMG","UralOpen_INS","UAZ_RU","UAZ_AGS30_RU","BRDM2_INS","UAZ_MG_INS","GAZ_Vodnik_HMG","GAZ_Vodnik"];
		_Unit_Pool_T = 	[	"T72_RU","ZSU_INS","BMP3","2S6M_Tunguska","T90","BMP3","BTR90"];
		_Unit_Pool_A = 	[	"Mi17_rockets_RU","Ka52","Mi24_V","Mi24_P"];
	};
//-------------------------------------------------------------------------------------------------
	case 1:
	{
		_Unit_Pool_S = 	[
							"USMC_Soldier_Crew","USMC_Soldier_Pilot","USMC_Soldier_SL","USMC_Soldier_HAT",
							"USMC_Soldier_AR","USMC_Soldier_Medic","USMC_Soldier_MG","USMC_Soldier_GL",
							"USMC_Soldier_AT","USMC_Soldier_LAT","USMC_SoldierS_Sniper","USMC_SoldierS_SniperH","USMC_SoldierS_Spotter",
							"USMC_SoldierS_Engineer","USMC_SoldierM_Marksman","USMC_Soldier_TL","USMC_Soldier_MG"
							
						];
		_Unit_Pool_V = 	[	"HMMWV","HMMWV_M2","MTVR","HMMWV_MK19","HMMWV_Armored","MTVR","LAV25","HMMWV_TOW","HMMWV_Avenger"];
		_Unit_Pool_T =	[	"M1A1","LAV25","M1A2_TUSK_MG","MLRS","AAV"];
		_Unit_Pool_A = 	[	"AH1Z","UH1Y","MH60S"];
	};
//-------------------------------------------------------------------------------------------------
	case 2:
	{
		_Unit_Pool_S = 	[
							"GUE_Soldier_Crew","GUE_Soldier_Pilot","GUE_Soldier_CO","GUE_Soldier_Medic",
							"GUE_Soldier_1","GUE_Soldier_2","GUE_Soldier_3","GUE_Soldier_AR","GUE_Soldier_MG",
							"GUE_Soldier_AT","GUE_Soldier_AA","GUE_Soldier_GL",
							"GUE_Soldier_Sniper","GUE_Soldier_Sab","GUE_Soldier_Scout"
						];
		_Unit_Pool_V = 	[	"Offroad_DSHKM_INS","Pickup_PK_INS","UAZ_INS","UAZ_AGS30_INS","UAZ_MG_INS","UAZ_SPG9_INS","Ural_INS","UralOpen_INS","Ural_ZU23_INS"];
		_Unit_Pool_T = 	[	"BMP2_INS","BRDM2_INS","BRDM2_ATGM_INS","T72_INS","ZSU_INS"];
		_Unit_Pool_A = 	[	"Mi17_MG","Ka52","Mi17_MG","Mi24_V","Mi24_D","mi171_Sh","Mi17","Mi24_P","Mi_8T_Hip_C"];
	};
//-------------------------------------------------------------------------------------------------
	case 3:
	{
		_Unit_Pool_S = 	[
							"Citizen1","Citizen2","Citizen3","Citizen4",
							"Woodlander1","Woodlander2","Woodlander3","Woodlander4",
							"Profiteer1","Profiteer2","Profiteer3","Profiteer4",
							"Rocker1","Rocker2","Rocker3","Rocker4",
							"Woodlander1","Woodlander2","Woodlander3","Woodlander4",
							"Villager1","Villager2","Villager3","Villager4"
						];
		_Unit_Pool_V = 	[	"datsun1_civil_2_covered","hilux1_civil_1_open","UralCivil","SkodaBlue","Bus_city","car_sedan","SkodaRed","Skoda","SkodaGreen","datsun1_civil_3_open","car_hatchback"];
		_Unit_Pool_T = 	[	"Tractor","UralCivil","	UralCivil2"];
		_Unit_Pool_A = 	[];
	};
//-------------------------------------------------------------------------------------------------
	case 4:
	{
		_Unit_Pool_S = 	[
							"FR_TL","FR_TL","FR_TL","FR_AC","FR_GL","FR_Commander",
							"FR_Miles","FR_OHara","FR_Rodriguez","FR_R","FR_Corpsman","FR_Marksman",
							"FR_AR","FR_Sapper","FR_Assault_R","FR_Assault_GL","FR_Sykes"
						];
		_Unit_Pool_V = 	[	"HMMWV","HMMWV_M2","MTVR","HMMWV_MK19","HMMWV_Armored","MTVR","LAV25","HMMWV_TOW","M1030","HMMWV_Avenger"];
		_Unit_Pool_T =	[	"M1A1","LAV25","M1A2_TUSK_MG","MLRS","AAV"];
		_Unit_Pool_A = 	[	"AH1Z","UH1Y","MH60S"];
	};
//-------------------------------------------------------------------------------------------------
	case 5:
	{
		_Unit_Pool_S = 	[
							"CDF_Soldier_Crew","CDF_Soldier_Pilot","CDF_Soldier_Officer","CDF_Soldier_SL",
							"CDF_Soldier_Spotter","CDF_Commander","CDF_Soldier_GL","CDF_Soldier_AR",
							"CDF_Soldier_Strela","CDF_Soldier_MG","CDF_Soldier_Militia","CDF_Soldier_RPG",
							"CDF_Soldier_Engineer","CDF_Soldier_Medic",
							"CDF_Soldier","CDF_Soldier_Sniper","CDF_Soldier_Marksman"
						];
		_Unit_Pool_V = 	[	"UAZ_CDF","UAZ_AGS30_CDF","UAZ_MG_CDF","Ural_CDF","UralOpen_CDF","Ural_ZU23_CDF"];
		_Unit_Pool_T = 	[	"BMP2_CDF","BRDM2_CDF","BRDM2_ATGM_CDF","T72_CDF","ZSU_CDF"];
		_Unit_Pool_A = 	[	"Mi17_CDF","Mi24_D"];
	};
//-------------------------------------------------------------------------------------------------
	case 6:
	{
		_Unit_Pool_S = 	[
							"Ins_Soldier_Crew","Ins_Soldier_Pilot","Ins_Commander","Ins_Soldier_GL","Ins_Soldier_AR",
							"Ins_Soldier_AA","Ins_Soldier_MG","Ins_Soldier_CO","Ins_Soldier_AT",
							"Ins_Soldier_Sab","Ins_Soldier_Medic","Ins_Soldier_Sappe",
							"Ins_Soldier_1","Ins_Bardak","Ins_Soldier_2","Ins_Soldier_Sniper"
						];
		_Unit_Pool_V = 	[	"UAZ_INS","UAZ_AGS30_INS","UAZ_SPG9_INS","UAZ_MG_INS","Ural_INS","UralOpen_INS","Ural_ZU23_INS"];
		_Unit_Pool_T = 	[	"BMP2_INS","BRDM2_INS","BRDM2_ATGM_INS","T72_INS","ZSU_INS"];
		_Unit_Pool_A = 	[	"Mi17_Ins"];
	};
//-------------------------------------------------------------------------------------------------
	case 7:
	{
		_Unit_Pool_S = 	[
							"RU_Soldier_Crew","RU_Soldier_Pilot","MVD_Soldier_GL","MVD_Soldier_TL","MVD_Soldier_MG","MVD_Soldier",
							"MVD_Soldier_AT","MVD_Soldier_Sniper","MVD_Soldier_Marksman","MVD_Soldier_Marksman","MVD_Soldier_MG","MVD_Soldier"
						];
		_Unit_Pool_V = 	[	"UAZ_CDF","UAZ_AGS30_CDF","UAZ_MG_CDF","Ural_CDF","UralOpen_CDF","Ural_ZU23_CDF"];
		_Unit_Pool_T = 	[	"BMP2_CDF","BRDM2_CDF","BRDM2_ATGM_CDF","T72_CDF","ZSU_CDF"];
		_Unit_Pool_A = 	[	"Mi17_CDF","Mi24_D"];
	};
//-------------------------------------------------------------------------------------------------
	case 8:
	{
		_Unit_Pool_S = 	[
							"RU_Soldier_Crew","RU_Soldier_Pilot","RUS_Commander","RUS_Soldier_GL","RUS_Soldier1","RUS_Soldier2",
							"RUS_Soldier_Marksman","RUS_Soldier_TL","RUS_Soldier3","RUS_Soldier1","RUS_Soldier2"
						];
		_Unit_Pool_V = 	[	"UAZ_CDF","UAZ_AGS30_CDF","UAZ_MG_CDF","Ural_CDF","UralOpen_CDF","Ural_ZU23_CDF"];
		_Unit_Pool_T = 	[	"BMP2_CDF","BRDM2_CDF","BRDM2_ATGM_CDF","T72_CDF","ZSU_CDF"];
		_Unit_Pool_A = 	[	"Mi17_CDF","Mi24_D"];
	};
//-------------------------------------------------------------------------------------------------
	Default {
				if(DAC_Basic_Value != 5) then
				{
					DAC_Basic_Value = 5;publicvariable "DAC_Basic_Value";
					hintc format["DAC_Config_Units > No valid config number = %1",_TypNumber];
				};
				if(true) exitwith {};
			};
};

if(count _this == 2) then
{
	_TempArray = _TempArray + [_Unit_Pool_S,_Unit_Pool_V,_Unit_Pool_T,_Unit_Pool_A];
}
else
{
	_TempArray = _Unit_Pool_V + _Unit_Pool_T + _Unit_Pool_A;
};
_TempArray
I'm not going to do it for you, as then you wont learn.


Advertisement


Author Message


Posts: 156
Rank:


Level: Member

Country: us
Location: NY
Occupation:
Age:
In-game name: A Hamburgler

 
#3 Posted at 2011-05-05 03:30        
     
Thanks but I know how to do it now so don't wast your time. Thanks again tho.


Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 29
In-game name: VIPER [RR]

 
#4 Posted at 2011-05-05 04:36        
     
Yes of course you do, as I have shown you how...


Author Message

DarkXess  

Modsaholic Founder


Posts: 2878
Rank:


Level: Member

Country: cn
Location: PRC
Occupation:
Age: 37
In-game name: DarkXess

 
#5 Posted at 2011-05-05 05:32        
     
Modedit:
Yet again, wrong section ... moved*

Let me just point out, if you had never been banned over at the BIS forums, and talk to people
nicely instead of for example like above "I know how to do it now so don't wast your time"
then im sure you will go further in life.

This post was edited by DarkXess (2011-05-05 22:09, ago)

1st - Check The Rules! 2nd - Use The Search!

Author Message


Posts: 156
Rank:


Level: Member

Country: us
Location: NY
Occupation:
Age:
In-game name: A Hamburgler

 
#6 Posted at 2011-05-05 20:30        
     
i dont under stand that and this is about something new i never posted any thing about dac.

Added 1 minute later:

i did not think i was being mean i was just saying that i found out how to do it so dont wast your time on me.

Added 1 second later:

i did not think i was being mean i was just saying that i found out how to do it so dont wast your time on me.

Added 52 seconds later:

o sorry i did not even see that you did it


Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 29
In-game name: VIPER [RR]

 
#7 Posted at 2011-05-05 20:35        
     
Answered 10 minutes after your first post.... no idea how you missed it as it would of said last post by VIPER[CWW] and yes you are correct this is your first question on DAC the others were about WIC.


Author Message


Posts: 156
Rank:


Level: Member

Country: us
Location: NY
Occupation:
Age:
In-game name: A Hamburgler

 
#8 Posted at 2011-05-05 21:31        
     
Thank you viper and sorry i did not see the edited file


Author Message

DarkXess  

Modsaholic Founder


Posts: 2878
Rank:


Level: Member

Country: cn
Location: PRC
Occupation:
Age: 37
In-game name: DarkXess

 
#9 Posted at 2011-05-05 22:09        
     
Erm, ooops... yep, my bad sorry! it was WIC not DAC, stupid me /slap /slap! lol

Comments edited from last comment :-)

1st - Check The Rules! 2nd - Use The Search!

Author Message


Posts: 156
Rank:


Level: Member

Country: us
Location: NY
Occupation:
Age:
In-game name: A Hamburgler

 
#10 Posted at 2011-05-05 22:36        
     
No problem DarkXess






Tags: Dac, Spawn