Selaa lähdekoodia

Revert "Aviation related changes"

This reverts commit 94f447f48e605ba80f0bee720362411f46748d7b.
Zatama 6 vuotta sitten
vanhempi
commit
1a5b7a98a9

+ 2 - 10
Scripts/scripts/zeus3denScripts/played_based/Items/Resupply_boxes.sqf

@@ -3,8 +3,6 @@
 large_ammo=
 	{
 	params["_vic"];
-	_vic  allowDamage false;
-	_vic addEventHandler ["HandleDamage", {0}];
 	_vic  addAction ["<t color='#47FF1A'>Unlock</t>",                
     {
     box = _this select 0;
@@ -17,8 +15,6 @@ large_ammo=
 small_ammo=
 	{
 	params["_vic"];
-	_vic  allowDamage false;
-	_vic addEventHandler ["HandleDamage", {0}];
 	_vic  addAction ["<t color='#47FF1A'>Unlock</t>",                
     {
     box = _this select 0;
@@ -30,9 +26,7 @@ small_ammo=
 	
 Large_Medical=
 	{
-	params["_vic"];
-	_vic  allowDamage false;
-	_vic addEventHandler ["HandleDamage", {0}];
+		params["_vic"];
 	_vic  addAction ["<t color='#47FF1A'>Unlock</t>",                
     {
     box = _this select 0;
@@ -44,9 +38,7 @@ Large_Medical=
 
 small_Medical=
 	{
-	params["_vic"];
-	_vic  allowDamage false;
-	_vic addEventHandler ["HandleDamage", {0}];
+			params["_vic"];
 	_vic  addAction ["<t color='#47FF1A'>Unlock</t>",                
     {
     box = _this select 0;

+ 1 - 4
Scripts/scripts/zeus3denScripts/played_based/Items/boxes/Large_ammo.sqf

@@ -39,7 +39,4 @@
 	_vic addMagazineCargoGlobal ["3Rnd_SmokeOrange_Grenade_shell", 20];
 	_vic addMagazineCargoGlobal ["ACE_HuntIR_M203", 20];
 	_vic addMagazineCargoGlobal ["SWOP_DC17Pistol_Mag", 25]; 
-	_vic addMagazineCargoGlobal ["DCStun_DC17_Mag" , 20];
-	_vic addMagazineCargoGlobal ["SWOP_WESTARM5_MAG", 50];
-	_vic addMagazineCargoGlobal ["SWOP_Westar35Pistol_Mag", 50];
-	
+	_vic addMagazineCargoGlobal ["DCStun_DC17_Mag" , 20];

+ 0 - 2
Scripts/scripts/zeus3denScripts/played_based/Items/boxes/Small_ammo.sqf

@@ -42,6 +42,4 @@
 	_vic addMagazineCargoGlobal ["ACE_HuntIR_M203", 10];
 	_vic addMagazineCargoGlobal ["SWOP_DC17Pistol_Mag", 15]; 
 	_vic addMagazineCargoGlobal ["DCStun_DC17_Mag" , 15];
-	_vic addMagazineCargoGlobal ["SWOP_WESTARM5_MAG", 10];
-	_vic addMagazineCargoGlobal ["SWOP_Westar35Pistol_Mag", 15];
 	ACE_maxWeightCarry = 20000;	

+ 3 - 3
Scripts/scripts/zeus3denScripts/vehicle_based/vehicle_variants/air_based/LAAT/laatClaymore.sqf

@@ -62,13 +62,13 @@ claymoreI={
 		
 */
 	// function as file add the wing tip smoke for laat
-/*	_vic  addAction ["<t color='#886688'>Smoker--------U13</t>",
+	_vic  addAction ["<t color='#886688'>Smoker--------U13</t>",
 	{
 		[_this select 0] execVM (laatSmokeQuick);
 	}
 	,[1],0,false,true,"User13"," driver  _target == _this"];
 
-*/
+
 	comment "gets health";
 	_vic   addAction ["<t color='#00FF00'>Damage Report</t>",
 	{
@@ -167,7 +167,7 @@ claymoreI={
 						_namLaatFireObj=_namLaatFireObj+[_fire];
 					};//makes two fires or watever much, and then stores them in the array while also randomly palcing on laat
 					
-					sleep 60;
+					sleep 20;
 					_namUnitSpawn allowDamage true;	
 					_namUnitSpawn removeAllEventHandlers "HandleDamage";
 					

+ 2 - 2
Scripts/scripts/zeus3denScripts/vehicle_based/vehicle_variants/air_based/YWING/ywingScylla.sqf

@@ -61,11 +61,11 @@ scylla={
 //	else {};
 */
 	
-/*	// function as file
+	// function as file
 	_vic  addAction ["<t color='#886688'>Smoker--------U13</t>",
 	{[_this select 0] execVM (ywingSmokeQuick);}
 	,[1],0,false,true,"User13"," driver  _target == _this"];
-*/	
+	
 
 	comment "gets health";
 	_vic   addAction ["<t color='#00FF00'>Damage Report</t>",

+ 2 - 2
Scripts/scripts/zeus3denScripts/vehicle_based/vehicle_variants/air_based/arc170/arcXiphos.sqf

@@ -56,13 +56,13 @@ xiphosI={
 //	else {};
 */	
 	// function as file
-/*	_vic  addAction ["<t color='#886688'>Smoker--------U13</t>",
+	_vic  addAction ["<t color='#886688'>Smoker--------U13</t>",
 	{
 
 		[_this select 0] execVM (arc170SmokeQuick);
 	}
 	,[1],0,false,true,"User13"," driver  _target == _this"];
-*/	
+	
 
 
 	comment "gets health";

+ 1 - 1
Scripts/scripts/zeus3denScripts/vehicle_based/vehicle_variants/air_based/arc170/removeEject.sqf

@@ -1,4 +1,4 @@
-/*
+
 	params["_vic"];