Browse Source

use jlts droid classes

Florian Steinschorn 4 years ago
parent
commit
8ad02130d5

+ 0 - 1
addons - Copy/JPB_Player/$PREFIX$

@@ -1 +0,0 @@
-JPB_Player

BIN
addons - Copy/JPB_Player/Model/Droid.p3d


BIN
addons - Copy/JPB_Player/Model/Droid_Headless.p3d


BIN
addons - Copy/JPB_Player/Model/data/Blue.paa


BIN
addons - Copy/JPB_Player/Model/data/Droid.paa


BIN
addons - Copy/JPB_Player/Model/data/Green.paa


BIN
addons - Copy/JPB_Player/Model/data/Red.paa


BIN
addons - Copy/JPB_Player/Model/data/Yellow.paa


BIN
addons - Copy/JPB_Player/Model/data/clean_nohq.paa


BIN
addons - Copy/JPB_Player/Model/data/clean_smdi.paa


+ 0 - 309
addons - Copy/JPB_Player/Model/model.cfg

@@ -1,309 +0,0 @@
-class CfgSkeletons
-{
-	class Default
-	{
-		isDiscrete=1;
-		skeletonInherit="";
-		skeletonBones[]={};
-	};
-	class OFP2_ManSkeleton
-	{
-		isDiscrete=0;
-		skeletonInherit="";
-		skeletonBones[]=
-		{
-			"Pelvis",
-			"",
-			"Spine",
-			"Pelvis",
-			"Spine1",
-			"Spine",
-			"Spine2",
-			"Spine1",
-			"Spine3",
-			"Spine2",
-			"Camera",
-			"Pelvis",
-			"weapon",
-			"Spine1",
-			"launcher",
-			"Spine1",
-			"neck",
-			"Spine3",
-			"neck1",
-			"neck",
-			"head",
-			"neck1",
-			"Face_Hub",
-			"head",
-			"Face_Jawbone",
-			"Face_Hub",
-			"Face_Jowl",
-			"Face_Jawbone",
-			"Face_chopRight",
-			"Face_Jawbone",
-			"Face_chopLeft",
-			"Face_Jawbone",
-			"Face_LipLowerMiddle",
-			"Face_Jawbone",
-			"Face_LipLowerLeft",
-			"Face_Jawbone",
-			"Face_LipLowerRight",
-			"Face_Jawbone",
-			"Face_Chin",
-			"Face_Jawbone",
-			"Face_Tongue",
-			"Face_Jawbone",
-			"Face_CornerRight",
-			"Face_Hub",
-			"Face_CheekSideRight",
-			"Face_CornerRight",
-			"Face_CornerLeft",
-			"Face_Hub",
-			"Face_CheekSideLeft",
-			"Face_CornerLeft",
-			"Face_CheekFrontRight",
-			"Face_Hub",
-			"Face_CheekFrontLeft",
-			"Face_Hub",
-			"Face_CheekUpperRight",
-			"Face_Hub",
-			"Face_CheekUpperLeft",
-			"Face_Hub",
-			"Face_LipUpperMiddle",
-			"Face_Hub",
-			"Face_LipUpperRight",
-			"Face_Hub",
-			"Face_LipUpperLeft",
-			"Face_Hub",
-			"Face_NostrilRight",
-			"Face_Hub",
-			"Face_NostrilLeft",
-			"Face_Hub",
-			"Face_Forehead",
-			"Face_Hub",
-			"Face_BrowFrontRight",
-			"Face_Forehead",
-			"Face_BrowFrontLeft",
-			"Face_Forehead",
-			"Face_BrowMiddle",
-			"Face_Forehead",
-			"Face_BrowSideRight",
-			"Face_Forehead",
-			"Face_BrowSideLeft",
-			"Face_Forehead",
-			"Face_Eyelids",
-			"Face_Hub",
-			"Face_EyelidUpperRight",
-			"Face_Hub",
-			"Face_EyelidUpperLeft",
-			"Face_Hub",
-			"Face_EyelidLowerRight",
-			"Face_Hub",
-			"Face_EyelidLowerLeft",
-			"Face_Hub",
-			"EyeLeft",
-			"Face_Hub",
-			"EyeRight",
-			"Face_Hub",
-			"LeftShoulder",
-			"Spine3",
-			"LeftArm",
-			"LeftShoulder",
-			"LeftArmRoll",
-			"LeftArm",
-			"LeftForeArm",
-			"LeftArmRoll",
-			"LeftForeArmRoll",
-			"LeftForeArm",
-			"LeftHand",
-			"LeftForeArmRoll",
-			"LeftHandRing",
-			"LeftHand",
-			"LeftHandRing1",
-			"LeftHandRing",
-			"LeftHandRing2",
-			"LeftHandRing1",
-			"LeftHandRing3",
-			"LeftHandRing2",
-			"LeftHandPinky1",
-			"LeftHandRing",
-			"LeftHandPinky2",
-			"LeftHandPinky1",
-			"LeftHandPinky3",
-			"LeftHandPinky2",
-			"LeftHandMiddle1",
-			"LeftHand",
-			"LeftHandMiddle2",
-			"LeftHandMiddle1",
-			"LeftHandMiddle3",
-			"LeftHandMiddle2",
-			"LeftHandIndex1",
-			"LeftHand",
-			"LeftHandIndex2",
-			"LeftHandIndex1",
-			"LeftHandIndex3",
-			"LeftHandIndex2",
-			"LeftHandThumb1",
-			"LeftHand",
-			"LeftHandThumb2",
-			"LeftHandThumb1",
-			"LeftHandThumb3",
-			"LeftHandThumb2",
-			"RightShoulder",
-			"Spine3",
-			"RightArm",
-			"RightShoulder",
-			"RightArmRoll",
-			"RightArm",
-			"RightForeArm",
-			"RightArmRoll",
-			"RightForeArmRoll",
-			"RightForeArm",
-			"RightHand",
-			"RightForeArmRoll",
-			"RightHandRing",
-			"RightHand",
-			"RightHandRing1",
-			"RightHandRing",
-			"RightHandRing2",
-			"RightHandRing1",
-			"RightHandRing3",
-			"RightHandRing2",
-			"RightHandPinky1",
-			"RightHandRing",
-			"RightHandPinky2",
-			"RightHandPinky1",
-			"RightHandPinky3",
-			"RightHandPinky2",
-			"RightHandMiddle1",
-			"RightHand",
-			"RightHandMiddle2",
-			"RightHandMiddle1",
-			"RightHandMiddle3",
-			"RightHandMiddle2",
-			"RightHandIndex1",
-			"RightHand",
-			"RightHandIndex2",
-			"RightHandIndex1",
-			"RightHandIndex3",
-			"RightHandIndex2",
-			"RightHandThumb1",
-			"RightHand",
-			"RightHandThumb2",
-			"RightHandThumb1",
-			"RightHandThumb3",
-			"RightHandThumb2",
-			"LeftUpLeg",
-			"Pelvis",
-			"LeftUpLegRoll",
-			"LeftUpLeg",
-			"LeftLeg",
-			"LeftUpLegRoll",
-			"LeftLegRoll",
-			"LeftLeg",
-			"LeftFoot",
-			"LeftLegRoll",
-			"LeftToeBase",
-			"LeftFoot",
-			"RightUpLeg",
-			"Pelvis",
-			"RightUpLegRoll",
-			"RightUpLeg",
-			"RightLeg",
-			"RightUpLegRoll",
-			"RightLegRoll",
-			"RightLeg",
-			"RightFoot",
-			"RightLegRoll",
-			"RightToeBase",
-			"RightFoot"
-		};
-		pivotsModel="A3\anims_f\data\skeleton\SkeletonPivots.p3d";
-	};
-	class JPB_Block_skeleton: Default
-	{
-		skeletonInherit="Default";
-		skeletonBones[]=
-		{
-			"Shoot",
-			""
-		};
-	};
-};
-class CfgModels
-{
-	class Default
-	{
-		sectionsInherit="";
-		sections[]={};
-		skeletonName="";
-	};
-	class ArmaMan: Default
-	{
-		htMin=60;
-		htMax=1800;
-		afMax=30;
-		mfMax=30;//0
-		mFact=1;
-		tBody=37;
-		sections[]=
-		{
-			"osobnost",
-			"Head_Injury",
-			"Body_Injury",
-			"l_leg_injury",
-			"l_arm_injury",
-			"r_arm_injury",
-			"r_leg_injury",
-			"injury_body",
-			"injury_legs",
-			"injury_hands",
-			"clan",
-			"clan_sign",
-			"Camo",
-			"CamoB",
-			"Camo1",
-			"Camo2",
-			"personality",
-			"hl",
-			"injury_head",
-			"insignia",
-			"ghillie_hide"
-		};
-		skeletonName="OFP2_ManSkeleton";
-	};
-	class Droid: ArmaMan
-	{
-	};
-	class Droid_Blue: ArmaMan
-	{
-	};
-	class Droid_Red: ArmaMan
-	{
-	};
-	class Droid_Yellow: ArmaMan
-	{
-	};
-	class Droid_Headless: ArmaMan
-	{
-	};
-	class Droid_Blue_Headless: ArmaMan
-	{
-	};
-	class Droid_Green: ArmaMan
-	{
-	};
-	class Block: Default
-	{
-		skeletonName="JPB_Block_skeleton";
-		sections[]=
-		{
-			"Shoot"
-		};
-		sectionsInherit="";
-		class Animations
-		{
-		};
-	};
-};

+ 0 - 25
addons - Copy/JPB_Player/config.cpp

@@ -1,25 +0,0 @@
-class CfgPatches
-{
-	class RD501_patch_low_poly_droid_models
-	{
-		units[]=
-		{
-			"JPB_Droid",
-			"JPB_Droid_Blue",
-			"JPB_Droid_Red",
-			"JPB_Droid_Yellow",
-			"RD501_Droid_Green",
-			"JPB_Droid_Headless",
-			"JPB_Droid_Blue_Headless",
-			"JPB_Droid_Specialist_MAWS",
-			"JPB_Droid_Specialist_Heavy",
-			"JPB_Droid_Specialist_Marksman",
-			"JPB_Droid_TL",
-			"JPB_Droid_SL"
-		};
-		weapons[]={};
-		requiredVersion=0.1;
-		requiredAddons[]={};
-	};
-};
-

BIN
addons - Copy/JPB_Player/texHeaders.bin


+ 124 - 408
addons - Copy/RD501_Droids/B1/config.cpp

@@ -8,168 +8,47 @@ class CfgPatches
 	{
 		addonRootClass=macro_patch_name(droids_config);
 		requiredAddons[] = {
-			macro_patch_name(droids_config)
+			macro_patch_name(droids_config),
+			"JLTS_characters_DroidArmor"
 		};
 
 		requiredVersion = 0.1;
 		units[] = {
 			macro_new_unit_class(opfor,B1),
-			macro_new_unit_class(opfor,B1_green),
-			macro_new_unit_class(opfor,B1_red),
-			macro_new_unit_class(opfor,B1_yellow),
-			macro_new_unit_class(opfor,B1_blue),
+			macro_new_unit_class(opfor,B1_marine),
+			macro_new_unit_class(opfor,B1_security),
+			macro_new_unit_class(opfor,B1_commander),
+			macro_new_unit_class(opfor,B1_pilot),
+			macro_new_unit_class(opfor,B1_crew),
+			macro_new_unit_class(opfor,B1_prototype),
+
 			macro_new_unit_class(opfor,B1_heavy),
 			macro_new_unit_class(opfor,B1_AT),
 			macro_new_unit_class(opfor,B1_marksmen),
-			macro_new_unit_class(opfor,B1_shotgun),
-			macro_new_unit_class(opfor,B1_leader),
-			macro_new_unit_class(opfor,B1_Medic),
-			macro_new_unit_class(opfor,B1_Pilot),
-		};
-		weapons[] = {
-			macro_new_uniform_class(opfor,B1),
-			macro_new_uniform_class(opfor,B1_red),
-			macro_new_uniform_class(opfor,B1_yellow),
-			macro_new_uniform_class(opfor,B1_green),
+			macro_new_unit_class(opfor,B1_shotgun)
 		};
 	};
 };
 
-class cfgWeapons
-{
-	class ItemCore;
-	class InventoryItem_Base_F;
-	class HeadgearItem;
-	class Vest_NoCamo_Base;
-	class VestItem;
-	class UniformItem;
-	class Uniform_Base;
-
-	class macro_new_uniform_class(opfor,B1): Uniform_Base
-	{
-		scope=2;
-		author="Mr.Clock";
-		displayName="B1 Battledroid";
-		model="\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
-		class ItemInfo: UniformItem
-		{
-			uniformModel="-";
-			uniformClass=macro_new_unit_class(opfor,B1);
-			containerClass="Supply500";
-			mass=60;
-		};
-	};
-	class macro_new_uniform_class(opfor,B1_red): Uniform_Base
-	{
-		scope=2;
-		author="Mr.Clock";
-		displayName="B1 Battledroid Red";
-		model="\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
-		class ItemInfo: UniformItem
-		{
-			uniformModel="-";
-			uniformClass=macro_new_unit_class(opfor,B1_red)
-			containerClass="Supply500";
-			mass=60;
-		};
-	};
-	class macro_new_uniform_class(opfor,B1_yellow): Uniform_Base
-	{
-		scope=2;
-		author="Mr.Clock";
-		displayName="B1 Battledroid Yellow";
-		model="\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
-		class ItemInfo: UniformItem
-		{
-			uniformModel="-";
-			uniformClass=macro_new_unit_class(opfor,B1_yellow);
-			containerClass="Supply500";
-			mass=60;
-		};
-	};
-	class macro_new_uniform_class(opfor,B1_green): Uniform_Base
-	{
-		scope=2;
-		author="Mr.Clock";
-		displayName="B1 Battledroid Green";
-		model="\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
-		class ItemInfo: UniformItem
-		{
-			uniformModel="-";
-			uniformClass=macro_new_unit_class(opfor,B1_green);
-			containerClass="Supply500";
-			mass=60;
-		};
-	};
-	class macro_new_uniform_class(opfor,B1_blue): Uniform_Base
-	{
-		scope=2;
-		author="Mr.Clock";
-		displayName="B1 Battledroid Blue";
-		model="\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
-		class ItemInfo: UniformItem
-		{
-			uniformModel="-";
-			uniformClass=macro_new_unit_class(opfor,B1_blue);
-			containerClass="Supply500";
-			mass=60;
-		};
-	};
-};
 class CfgVehicles
 {
-	class Man;
-	class CAManBase: Man
-	{
-		class HitPoints
-		{
-			class HitHead;
-			class HitBody;
-			class HitHands;
-			class HitLegs;
-			class HitAbdomen;
-			class HitArms;
-			class HitChest;
-			class HitDiaphragm;
-			class HitFace;
-			class HitLeftArm;
-			class HitLeftLeg;
-			class HitNeck;
-			class HitPelvis;
-			class HitRightArm;
-			class HitRightLeg;
-			class Incapacitated;
-		};
-	};
-	class SoldierEB: CAManBase
-	{
-		//threat[]={1,0.1,0.1};
-	};
+	class JLTS_Droid_B1_E5;
+
 	//basic unit
-	class macro_new_unit_class(opfor,B1): SoldierEB
+	class macro_new_unit_class(opfor,B1): JLTS_Droid_B1_E5
 	{
 		JLTS_isDroid = 1;
 		JLTS_hasEMPProtection = 0;
 		JLTS_deathSounds = "DeathDroid";
-		author = "MrClock";
+		author = "RD501";
 		scope = 2;
-		displayName = "B1 Battle droid";
-		picture = "\MRC\JLTS\characters\DroidArmor\data\ui\b1_uniform_ui_ca.paa";
-		model = "\MRC\JLTS\characters\DroidArmor\DroidUniformB1.p3d";
+		displayName = "B1 Battle Droid";
 
 		faction = macro_cis_faction
 		editorSubcategory = macro_editor_cat(B1)
 
-		hiddenSelections[] = {"camo1"};
-		hiddenSelectionsTextures[] = {
-			macro_b1_textures\b1_co.paa
-		};
-		uniformClass=macro_new_uniform_class(opfor,B1);
-
-		backpack = "\MRC\JLTS\characters\DroidArmor\DroidBackpackB1.p3d";
-
+		uniformClass=JLTS_DroidB1;
 
-		//linkeditems[] = {"ItemGPS", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
 		linkeditems[]=
 		{
 			"ItemGPS",
@@ -399,188 +278,132 @@ class CfgVehicles
 				visual="";
 			};
 		};
-		class SoundEnvironExt
-		{
-			virtual[]=
-			{
-				
-				{
-					"walk",
-					
-					{
-						"JPB_sfx\Droid\walk1.ogg",
-						4,
-						1,
-						50
-					}
-				},
-				
-				{
-					"walk",
-					
-					{
-						"JPB_sfx\Droid\walk2.ogg",
-						4,
-						1,
-						50
-					}
-				},
-				
-				{
-					"walk",
-					
-					{
-						"JPB_sfx\Droid\walk3.ogg",
-						4,
-						1,
-						50
-					}
-				},
-				
-				{
-					"walk",
-					
-					{
-						"JPB_sfx\Droid\walk4.ogg",
-						4,
-						1,
-						50
-					}
-				},
-				
-				{
-					"run",
-					
-					{
-						"JPB_sfx\Droid\walk1.ogg",
-						4,
-						1,
-						50
-					}
-				},
-				
-				{
-					"run",
-					
-					{
-						"JPB_sfx\Droid\walk2.ogg",
-						4,
-						1,
-						50
-					}
-				},
-				
-				{
-					"run",
-					
-					{
-						"JPB_sfx\Droid\walk3.ogg",
-						4,
-						1,
-						50
-					}
-				},
-				
-				{
-					"run",
-					
-					{
-						"JPB_sfx\Droid\walk4.ogg",
-						4,
-						1,
-						50
-					}
-				},
-				
-				{
-					"sprint",
-					
-					{
-						"JPB_sfx\Droid\walk1.ogg",
-						4,
-						1,
-						50
-					}
-				},
-				
-				{
-					"sprint",
-					
-					{
-						"JPB_sfx\Droid\walk2.ogg",
-						4,
-						1,
-						50
-					}
-				},
-				
-				{
-					"sprint",
-					
-					{
-						"JPB_sfx\Droid\walk3.ogg",
-						4,
-						1,
-						50
-					}
-				},
-				
-				{
-					"sprint",
-					
-					{
-						"JPB_sfx\Droid\walk4.ogg",
-						4,
-						1,
-						50
-					}
-				}
-			};
-		};
-		class SoundEquipment
-		{
-		};
-		class SoundGear
-		{
-		};
 	};
-	class macro_new_unit_class(opfor,B1_green): macro_new_unit_class(opfor,B1)
+	class macro_new_unit_class(opfor,B1_marine): macro_new_unit_class(opfor,B1)
 	{
-		displayName="B1 Battledroid Green";
+		displayName="B1 Battledroid Marine";
 		hiddenSelectionsTextures[] = {
-			macro_b1_textures\b1_crew_co.paa
+			macro_b1_textures\b1_marine_co.paa
 		};
-		uniformClass=macro_new_uniform_class(opfor,B1_green);
+		uniformClass=JLTS_DroidB1_Marine;
 	};
-	class macro_new_unit_class(opfor,B1_red): macro_new_unit_class(opfor,B1)
+	class macro_new_unit_class(opfor,B1_security): macro_new_unit_class(opfor,B1)
 	{
-		displayName="B1 Battledroid Red";
+		displayName="B1 Battledroid Security";
 		hiddenSelectionsTextures[] = {
 			macro_b1_textures\b1_security_co.paa
 		};
-		uniformClass=macro_new_uniform_class(opfor,B1_red);
+		uniformClass=JLTS_DroidB1_Security;
+		backpack="";
 	};
-	class macro_new_unit_class(opfor,B1_yellow): macro_new_unit_class(opfor,B1)
+	class macro_new_unit_class(opfor,B1_commander): macro_new_unit_class(opfor,B1)
 	{
-		displayName="B1 Battledroid Yellow";
+		displayName="B1 Battledroid Commander";
 		hiddenSelectionsTextures[] = {
 			macro_b1_textures\b1_commander_co.paa
 		};
-		uniformClass=macro_new_uniform_class(opfor,B1_yellow);
+		uniformClass=JLTS_DroidB1_Commander;
+		backpack="JLTS_B1_antenna";
+
+		weapons[]=
+		{
+			"JLTS_RG4D"
+		};
+		respawnWeapons[]=
+		{
+			"JLTS_RG4D"
+		};
+		magazines[]=
+		{
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"SWOP_BCCKtermimploder_G",
+			"SWOP_BCCKtermimploder_G"
+		};
+		respawnMagazines[]=
+		{
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"SWOP_BCCKtermimploder_G",
+			"SWOP_BCCKtermimploder_G"
+		};
 	};
-	class macro_new_unit_class(opfor,B1_blue): macro_new_unit_class(opfor,B1)
+	class macro_new_unit_class(opfor,B1_pilot): macro_new_unit_class(opfor,B1)
 	{
-		displayName="B1 Battledroid Blue";
+		displayName="B1 Battledroid Pilot";
 		hiddenSelectionsTextures[] = {
 			macro_b1_textures\b1_pilot_co.paa
 		};
-		uniformClass=macro_new_uniform_class(opfor,B1_blue);
+		uniformClass=JLTS_DroidB1_Pilot;
+		backpack="";
+
+		weapons[]=
+		{
+			"JLTS_RG4D"
+		};
+		respawnWeapons[]=
+		{
+			"JLTS_RG4D"
+		};
+		magazines[]=
+		{
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"FirstAidKit",
+			"FirstAidKit",
+			"FirstAidKit"
+		};
+		respawnMagazines[]=
+		{
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"JLTS_RG4D_mag",
+			"FirstAidKit",
+			"FirstAidKit",
+			"FirstAidKit"
+		};
+	};
+	class macro_new_unit_class(opfor,B1_crew): macro_new_unit_class(opfor,B1)
+	{
+		displayName="B1 Battledroid Crew";
+		hiddenSelectionsTextures[] = {
+			macro_b1_textures\b1_crew_co.paa
+		};
+		uniformClass=JLTS_DroidB1_Crew;
+	};
+	class macro_new_unit_class(opfor,B1_prototype): macro_new_unit_class(opfor,B1)
+	{
+		displayName="B1 Battledroid Prototype";
+		hiddenSelectionsTextures[] = {
+			macro_b1_textures\b1_prototype_co.paa
+		};
+		uniformClass=JLTS_DroidB1_Prototype;
+		backpack="JLTS_B1_backpack_prototype";
 	};
 
 	//fancy units
-	class macro_new_unit_class(opfor,B1_heavy): macro_new_unit_class(opfor,B1_red)
+	class macro_new_unit_class(opfor,B1_heavy): macro_new_unit_class(opfor,B1_security)
 	{
 		displayName="B1 Battledroid (Heavy)";
+		backpack="JLTS_B1_backpack";
 		weapons[]=
 		{
 			"SWOP_E5C"
@@ -612,9 +435,10 @@ class CfgVehicles
 			"SWOP_E5C_Mag"
 		};
 	};
-	class macro_new_unit_class(opfor,B1_AT): macro_new_unit_class(opfor,B1_red)
+	class macro_new_unit_class(opfor,B1_AT): macro_new_unit_class(opfor,B1_security)
 	{
 		displayName="B1 Battledroid (AT)";
+		backpack="JLTS_B1_backpack";
 		weapons[]=
 		{
 			"JLTS_E5",
@@ -655,9 +479,9 @@ class CfgVehicles
 			"JLTS_E60R_AT_mag",
 			"JLTS_E60R_AT_mag"
 		};
-		backpack="\MRC\JLTS\characters\DroidArmor\DroidBackpackB1.p3d"
+		backpack=""
 	};
-	class macro_new_unit_class(opfor,B1_marksmen): macro_new_unit_class(opfor,B1_green)
+	class macro_new_unit_class(opfor,B1_marksmen): macro_new_unit_class(opfor,B1)
 	{
 		displayName="B1 Battledroid (Marksman)";
 		weapons[]=
@@ -695,9 +519,10 @@ class CfgVehicles
 			"JLTS_E5S_mag"
 		};
 	};
-	class macro_new_unit_class(opfor,B1_shotgun): macro_new_unit_class(opfor,B1_red)
+	class macro_new_unit_class(opfor,B1_shotgun): macro_new_unit_class(opfor,B1_security)
 	{
 		displayName="B1 Battledroid (Shotgun)";
+		backpack="JLTS_B1_backpack";
 		weapons[]=
 		{
 			"swop_CISShotgun"
@@ -727,114 +552,5 @@ class CfgVehicles
 			"swop_termDetDT_G"
 		};
 	};
-	class macro_new_unit_class(opfor,B1_leader): macro_new_unit_class(opfor,B1_yellow)
-	{
-		displayName="B1 Battledroid Squad Lead";
-		weapons[]=
-		{
-			"JLTS_RG4D"
-		};
-		respawnWeapons[]=
-		{
-			"JLTS_RG4D"
-		};
-		magazines[]=
-		{
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"SWOP_BCCKtermimploder_G",
-			"SWOP_BCCKtermimploder_G"
-		};
-		respawnMagazines[]=
-		{
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"SWOP_BCCKtermimploder_G",
-			"SWOP_BCCKtermimploder_G"
-		};
-		uniformClass=macro_new_uniform_class(opfor, B1_yellow);
-	};
-	class macro_new_unit_class(opfor,B1_Medic): macro_new_unit_class(opfor,B1_green)
-	{
-		displayName="B1 Battledroid Medic";
-		weapons[]=
-		{
-			"JLTS_RG4D"
-		};
-		respawnWeapons[]=
-		{
-			"JLTS_RG4D"
-		};
-		magazines[]=
-		{
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"FirstAidKit",
-			"FirstAidKit",
-			"FirstAidKit"
-		};
-		respawnMagazines[]=
-		{
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"FirstAidKit",
-			"FirstAidKit",
-			"FirstAidKit"
-		};
-		uniformClass=macro_new_uniform_class(opfor, B1_green);
-	};
-	class macro_new_unit_class(opfor,B1_Pilot): macro_new_unit_class(opfor,B1_blue)
-	{
-		displayName="B1 Battledroid (Pilot)";
-		weapons[]=
-		{
-			"JLTS_RG4D"
-		};
-		respawnWeapons[]=
-		{
-			"JLTS_RG4D"
-		};
-		magazines[]=
-		{
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"FirstAidKit",
-			"FirstAidKit",
-			"FirstAidKit"
-		};
-		respawnMagazines[]=
-		{
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"JLTS_E5_mag",
-			"FirstAidKit",
-			"FirstAidKit",
-			"FirstAidKit"
-		};
-		uniformClass=macro_new_uniform_class(opfor, B1_blue);
-	};
 
 };

+ 8 - 23
addons - Copy/RD501_Droids/config.cpp

@@ -40,7 +40,7 @@ class CfgGroups
 						position[]={0,0,0};
 						rank="CAPTAIN";
 						side=0;
-						vehicle=macro_new_unit_class(opfor,B1_leader);
+						vehicle=macro_new_unit_class(opfor,B1_commander);
 					};
 					class Unit1
 					{
@@ -130,16 +130,16 @@ class CfgGroups
 					class Unit0
 					{
 						position[]={0,0,0};
-						rank="CAPTAIN";
+						rank="SERGEANT";
 						side=0;
-						vehicle=macro_new_unit_class(opfor,B1_Pilot);
+						vehicle=macro_new_unit_class(opfor,B1_crew);
 					};
 					class Unit1
 					{
 						position[]={.5,-.5,0};
 						rank="CAPTAIN";
 						side=0;
-						vehicle=macro_new_unit_class(opfor,B1_leader);
+						vehicle=macro_new_unit_class(opfor,B1_commander);
 					};
 					class Unit2
 					{
@@ -229,16 +229,16 @@ class CfgGroups
 					class Unit0
 					{
 						position[]={0,0,0};
-						rank="CAPTAIN";
+						rank="SERGEANT";
 						side=0;
-						vehicle=macro_new_unit_class(opfor,B1_Pilot);
+						vehicle=macro_new_unit_class(opfor,B1_crew);
 					};
 					class Unit1
 					{
 						position[]={.5,-.5,0};
 						rank="CAPTAIN";
 						side=0;
-						vehicle=macro_new_unit_class(opfor,B1_leader);
+						vehicle=macro_new_unit_class(opfor,B1_commander);
 					};
 					class Unit2
 					{
@@ -295,7 +295,7 @@ class CfgGroups
 						position[]={0,0,0};
 						rank="CAPTAIN";
 						side=0;
-						vehicle=macro_new_unit_class(opfor,B1_leader);
+						vehicle=macro_new_unit_class(opfor,B1_commander);
 					};
 					class Unit1
 					{
@@ -411,21 +411,6 @@ class CfgGroups
 						vehicle=macro_new_unit_class(opfor,B1);
 					};
 				};
-				class RD501_Group_INF_B1_HAT
-				{
-					name = "Heavy Asault Team";
-					side = 0;
-					faction = macro_cis_faction
-					icon = "\a3\ui_f\data\map\markers\nato\o_inf.paa";
-					rarityGroup = 1;
-					class Unit0
-					{
-						position[] = { 0,0,0 };
-						rank = "CAPTAIN";
-						side = 0;
-						vehicle = macro_new_unit_class(opfor, B1_heavy);
-					};
-				};
 			};
 		};
 	};