瀏覽代碼

testing rexis new improvements

Namenai 7 年之前
父節點
當前提交
d05a93338b

+ 2 - 1
Scripts/scripts/LAATCMonitor.sqf

@@ -10,7 +10,7 @@
 
 	// Global Configuration Vars
 co18_BDC_LAATCMonitor_AirCargoTypes = ["swop_LAAT_cargo"]; // default: "swop_LAAT_cargo" contingent on classname change
-co18_BDC_LAATCMonitor_ExcludedObjects = []; // List of any classnames of objects we do NOT want to be able to pick up
+co18_BDC_LAATCMonitor_ExcludedObjects = ["B_HMG_01_A_F","O_SWOP_HoverTa_2","O_SWOP_HoverTr_2"]; // List of any classnames of objects we do NOT want to be able to pick up
 co18_BDC_LAATCMonitor_ReverseObjects = ["SW_AV7"]; // Object to load in 180* direction
 co18_BDC_LAATCMonitor_IncludeAircraft = true; // If true, parent class 'Air' will be included in scan search and loading functionality (default: false)
 co18_BDC_LAATCMonitor_IncludeAircraftObjects = [ // List of aircraft classes (by object classname) that will be able to be loaded (if other air are not in this list, they will be automatically excluded)
@@ -26,6 +26,7 @@ co18_BDC_LAATCMonitor_SpecificAttachPoints = [ // List of specific object classe
 	[["Republic_ATTE"],[0,-1.65,-7.75]], // Republic AT-TE turret tank monstrosity
 	[["SW_FIELDGUN"],[0,-2.5,-6.75]], // Republic large turret - move it back a bit so the main turret isn't sticking thru the cockpit
 	[["SW_AV7"],[0,-4,-9]], // AV7
+	[["B_UGV_01_rcws_F"],[0,-3.65,-6.75]], // ATTE Composition
 	[["O_JM_TX130r_1","O_JM_TX130m1r_1","O_JM_TX130m2r_1","O_JM_TX130_1","O_JM_TX130m1_1","O_JM_TX130m2_1"],[0,0,-4.0]], // Sabre tanks raised up due to short body
 	[["Slingload_base_F","Slingload_01_Base_F"],[0,-3,-1.5]], // Cargo containers - move back and up
 	[["swop_LAAT","swop_LAATmk2","swop_LAATmk2_104","swop_LAATmk2_74","swop_LAATmk2_ARC","swop_LAATmk2_spec"],[0,0,-4.35]] // LAAT gunships

+ 12 - 34
Scripts/scripts/zeus3denScripts/vehicleBased/vehicleVariants/landBased/ATTE/atteBase.sqf

@@ -2,35 +2,6 @@
 //Now this file is called in the init.sqf. Thus whenever the the atteTypeSelector is executed and the at-te from there is spawned,this is ran
 
 
-//Function that makes at-te gun do more dmg
-rexiAtteBulMux={
-	
-	
-	_rexiUnit = (_this select 0); 
-	_rexiProjType = _this select 4; 
-	_rexiProjectile = _this select 6; 
-	_rexiUp = vectorUp _rexiProjectile; 
-	_rexiProjPos = getPosASL _rexiProjectile; 
-	_RexiDist=1; 
-	for "_i" from 1 to 4 do { 
-			 
-	_rexiO = _rexiProjType createVehicle _rexiProjPos; 
-	_rexiO setPosASL [ 
-	(_rexiProjPos select 0) + ((vectorDir _rexiUnit) select 0)*(_RexiDist), 
-	(_rexiProjPos select 1) + ((vectorDir _rexiUnit) select 1)*(_RexiDist), 
-	(_rexiProjPos select 2) + ((vectorDir _rexiUnit) select 2)*(_RexiDist) 
-	 ]; 
-	_rexiO setVectorDirAndUp[(vectorDir _rexiUnit),_rexiUp]; 
-	_rexiO setVelocity velocity _rexiProjectile; 
-	}; 
-	
-
-};//end at-te bul mux
-
-
-
-
-
 
 //general script
 rexiAtteBase={
@@ -41,11 +12,10 @@ rexiAtteBase={
 	//adds the ability to check how much dmg the at-te has taken
 	_vic addAction ["<t color='#00FF00'>Hull Damage Report</t>",
 	{
-
-
 		hint parseText format["<t color='#0099FF'> Hull Integrity is :%1%2</t>",((1-(damage (_this  select 0)))*100),"%"];
 
-	},[1],0,false,true,""," commander  _target == _this "];
+	}];
+	
 	
 	
 	_vic removeAllEventHandlers "Fired";
@@ -71,6 +41,15 @@ rexiAtteBase={
 		_rexiReturn = _rexiOldDamage + ((_rexiPassedDamage - _rexiOldDamage) / _rexiDmgScaleFactor);
 		_rexiReturn
 	}];
+	
+	//Removes the standard weapon and replaces it with a 120mm cannon
+	_vic removeWeaponTurret ["Cannon_ATTE", [0]];
+	_vic addWeaponTurret ["cannon_120mm", [0]];
+	
+	for [{_i=0}, {_i<(5)}, {_i=_i+1}] do
+	{
+		_vic addMagazineTurret ["32Rnd_120mm_APFSDS_shells_Tracer_Green" ,[0]];
+	};
 
 
 };//end at-te Base
@@ -82,7 +61,7 @@ UAVT={
 	comment "ADDS REPAIR";
 	
 	_vic addAction ["<t color='#47FF1A'>Repair Turret</t>",
-	{[_this select 0] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Repair\repair.sqf";}];		   
+	{[_this select 0] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Repair\repairTo65.sqf";}];		   
 	   
 	
 	_vic addEventHandler ["HandleDamage", { 
@@ -105,4 +84,3 @@ UAVT={
 
 ["Republic_ATTE", "init",rexiAtteBase, true, [], true] call CBA_fnc_addClassEventHandler; 
 
-["Republic_ATTE", "fired",rexiAtteBulMux] call CBA_fnc_addClassEventHandler;

+ 15 - 12
Scripts/scripts/zeus3denScripts/vehicleBased/vehicleVariants/landBased/ATTE/atteTridentClass.sqf

@@ -15,19 +15,22 @@
 	};
 // remove cargo space of uav;
 	[atte_drive, -1] call ace_cargo_fnc_setSpace;
-
+ 
 
 // damage the wheels of uav to set top speed: gives 3 speeds slow forward = 10km forward = 20km fast forward = 29km;
 	{atte_drive setHitPointDamage[_x,0.90]} forEach ["HitLF2Wheel","HitRF2Wheel"];
 	{atte_drive setHitPointDamage[_x,0.90]} forEach ["HitLFWheel","HitRFWheel"];
 	{atte_drive setHitPointDamage[_x,0.90]} forEach ["HitLmWheel","HitRmWheel"];
 	
-	//dmgs wheels
-	for [{_i=20}, {_i<(25)}, {_i=_i+1}] do
-	{
-		atte_drive setHitIndex [_i, 1]; 
-	};
+	//dmgs lights
+	atte_drive setHitIndex [20, 1];
+	atte_drive setHitIndex [21, 1];
+	atte_drive setHitIndex [22, 1];
+	atte_drive setHitIndex [23, 1];
+	atte_drive setHitIndex [24, 1];	
 	
+//cant take dmg the stomper	
+	atte_drive allowDamage false;  	
 	atte_drive lockTurret [[1], true];
 
 // Remove the stompers weapons and add in smoke launcher and laser desig;
@@ -43,23 +46,23 @@
 	atte_drive addWeaponTurret  ["Laserdesignator_mounted",[0]];  
 	atte_drive addMagazineTurret ["Laserbatteries",[0]]; 
 	
-//cant take dmg the stomper	
-	atte_drive allowDamage false;                                                                                                         
+                                                                                                      
 
 // create the infantry cargo;
 	clearMagazineCargoGlobal atte_drive;
-	atte_drive addMagazineCargoGlobal ["SWOP_DC15ABlasterRifle_Low_Mag", 20];// is 40 possible?
+	atte_drive addMagazineCargoGlobal ["SWOP_DC15ABlasterRifle_Low_Mag", 40];
 	atte_drive addMagazineCargoGlobal ["SWOP_DC15ABlasterRifle_Full_Mag", 10];
 	atte_drive addMagazineCargoGlobal ["SWOP_DC15ABlasterRifle_Mag", 20];
-	atte_drive addMagazineCargoGlobal ["SWOP_DC15_Mag", 3];//carbines ammo right?
+	atte_drive addMagazineCargoGlobal ["SWOP_DC15_Mag", 10];
 	
 	clearItemCargoGlobal atte_drive;
 	atte_drive addItemCargoGlobal ["ACE_elasticBandage", 40];
 	atte_drive addItemCargoGlobal ["ACE_quikclot", 40];
-	atte_drive addItemCargoGlobal ["ACE_epinephrine", 10];//add morphine?
+	atte_drive addItemCargoGlobal ["ACE_morphine", 15];
+	atte_drive addItemCargoGlobal ["ACE_epinephrine", 15];
 	atte_drive addItemCargoGlobal ["ACE_plasmaIV_500", 40];
 	atte_drive addItemCargoGlobal ["ACE_packingBandage", 20];
-	atte_drive addItemCargoGlobal ["SW_SquadShield_Mag", 4];
+	atte_drive addItemCargoGlobal ["SW_SquadShield_Mag", 3];
 	atte_drive addItemCargoGlobal ["B_UavTerminal", 5];
 
 //spawns a at-te on the dropturrets pos