Przeglądaj źródła

daisey chained wingtip smoke for laats and the arc-170 ejection

Namenai 7 lat temu
rodzic
commit
1cef647759
18 zmienionych plików z 284 dodań i 108 usunięć
  1. 12 0
      Scripts/scripts/zeus3denScripts/namenaisInit.sqf
  2. 9 8
      Scripts/scripts/zeus3denScripts/playerBased/aviation/pilotBased/pilotProtectorBoxEH.sqf
  3. 4 4
      Scripts/scripts/zeus3denScripts/playerBased/aviation/wardenBased/wardenAmmoBox.sqf
  4. 8 6
      Scripts/scripts/zeus3denScripts/readme.txt
  5. 7 10
      Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/ARC/arcSmokeTipPrB.sqf
  6. 6 10
      Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/ARC/arcSmokeTipRB.sqf
  7. 6 10
      Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/ARC/arcSmokeTipWB.sqf
  8. 97 0
      Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTip.sqf
  9. 32 0
      Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTipBB.sqf
  10. 5 18
      Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTipPrB.sqf
  11. 7 13
      Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTipRB.sqf
  12. 32 0
      Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTipRG.sqf
  13. 6 11
      Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTipWB.sqf
  14. 5 11
      Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTipYwB.sqf
  15. 18 1
      Scripts/scripts/zeus3denScripts/vehicleBased/vehicleVariants/airBased/ARC/arcXiphos.sqf
  16. 6 3
      Scripts/scripts/zeus3denScripts/vehicleBased/vehicleVariants/airBased/ARC/removeEject.sqf
  17. 15 1
      Scripts/scripts/zeus3denScripts/vehicleBased/vehicleVariants/airBased/LAAT/laatClaymore.sqf
  18. 9 2
      Scripts/scripts/zeus3denScripts/vehicleBased/vehicleVariants/airBased/YWING/ywingScylla.sqf

+ 12 - 0
Scripts/scripts/zeus3denScripts/namenaisInit.sqf

@@ -0,0 +1,12 @@
+
+
+//laat weapons
+	[] execVM "vehicleBased\vehicleVariants\airBased\LAAT\laatClaymore.sqf";
+
+//arc-170 weapon
+	[] execVM "vehicleBased\vehicleVariants\airBased\ARC\arcXiphos.sqf";
+	
+//y-wing weapons
+	[] execVM "vehicleBased\vehicleVariants\airBased\YWING\ywingScylla.sqf";
+
+

+ 9 - 8
Scripts/scripts/zeus3denScripts/playerBased/aviation/pilotBased/pilotProtectorBoxEH.sqf

@@ -1,15 +1,16 @@
+params["_obj"];
 
 for [{_i=0}, {_i<7}, {_i=_i+1}] do
 {
 	_color="#(argb,8,8,3)color(1,0,0,1)";
-_this setObjectTextureGlobal [_i,_color];
-_this setObjectMaterialGlobal [_i, "a3\characters_f_bootcamp\common\data\vrarmoremmisive.rvmat"];
+_obj setObjectTextureGlobal [_i,_color];
+_obj setObjectMaterialGlobal [_i, "a3\characters_f_bootcamp\common\data\vrarmoremmisive.rvmat"];
 };
 
 
-_this addAction ["<t color='#00FF00'>Pilot Protection</t>", {
+_obj addAction ["<t color='#00FF00'>Pilot Protection</t>", {
 
-params["_this","_user"];
+params["_box","_user"];
 
 _user addMPEventHandler ["MPKilled",{
 (_this select 0) groupChat format["Killer vanilla %1 ---------- ACE killer %2 ------- time %3",(name(_this select 1)),(name((_this select 0) getVariable ["ace_medical_lastDamageSource", objNull])),time];
@@ -23,8 +24,8 @@ comment "have after code";
 for [{_i=0}, {_i<7}, {_i=_i+1}] do
 {
 	_color="#(argb,8,8,3)color(0,1,0,1)";
-_this setObjectTextureGlobal [_i,_color];
-_this setObjectMaterialGlobal [_i, "a3\characters_f_bootcamp\common\data\vrarmoremmisive.rvmat"];
+_box setObjectTextureGlobal [_i,_color];
+_box setObjectMaterialGlobal [_i, "a3\characters_f_bootcamp\common\data\vrarmoremmisive.rvmat"];
 };
 
 sleep 1;
@@ -36,8 +37,8 @@ comment "reset";
 for [{_i=0}, {_i<7}, {_i=_i+1}] do
 {
 	_color="#(argb,8,8,3)color(1,0,0,1)";
-_this setObjectTextureGlobal [_i,_color];
-_this setObjectMaterialGlobal [_i, "a3\characters_f_bootcamp\common\data\vrarmoremmisive.rvmat"];
+_box setObjectTextureGlobal [_i,_color];
+_box setObjectMaterialGlobal [_i, "a3\characters_f_bootcamp\common\data\vrarmoremmisive.rvmat"];
 };
 
 

+ 4 - 4
Scripts/scripts/zeus3denScripts/playerBased/aviation/wardenBased/wardenAmmoBox.sqf

@@ -1,13 +1,13 @@
-
+params["_obj"];
 for [{_i=0}, {_i<7}, {_i=_i+1}] do
 {
 	_color="#(argb,8,8,3)color(1,0,0,1)";
-_this setObjectTextureGlobal [_i,_color];
-_this setObjectMaterialGlobal [_i, "a3\characters_f_bootcamp\common\data\vrarmoremmisive.rvmat"];
+_obj setObjectTextureGlobal [_i,_color];
+_obj setObjectMaterialGlobal [_i, "a3\characters_f_bootcamp\common\data\vrarmoremmisive.rvmat"];
 };
 
 
-_this addAction ["<t color='#00FF00'>Add Warden Ammo</t>", {
+_obj addAction ["<t color='#00FF00'>Add Warden Ammo</t>", {
 
 params["_this","_user"];
 

+ 8 - 6
Scripts/scripts/zeus3denScripts/readme.txt

@@ -7,34 +7,36 @@ Here is the file path of various scripts,if its not listed here then its probabl
 //arc-170 weapon
 	[] execVM "scripts\zeus3denScripts\vehicleBased\vehicleVariants\airBased\ARC\arcXiphos.sqf";
 	
-//arc-170 prevent ejection
+//arc-170 prevent ejection,note this is tied into the arc-170 weapon script
 	[] execVM "scripts\zeus3denScripts\vehicleBased\vehicleVariants\airBased\ARC\removeEject.sqf";
 	
 //y-wing weapons
 	[] execVM "scripts\zeus3denScripts\vehicleBased\vehicleVariants\airBased\YWING\ywingScylla.sqf";
 
 
-//kappa-cruisie boost
+//kappa-cruisie boost not ready for xeh server use
 	[] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Boost\forwardKappa.sqf";
 	[] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Boost\reverseKappa.sqf";
 
 
-//arc-170 wing tip smoke
+//arc-170 wing tip smoke not ready for xeh server use
 	[] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Smoke\ARC\arcSmokeTipPrB.sqf";
 	[] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Smoke\ARC\arcSmokeTipRB.sqf";
 	[] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Smoke\ARC\arcSmokeTipWB.sqf";
 
-//laat wing tip smoke
+//laat wing tip smoke 
 	[] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTipPrB.sqf";
 	[] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTipRB.sqf";
 	[] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTipWB.sqf";
 	[] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTipYwB.sqf";
+	[] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTipBB.sqf";
+	[] execVM "scripts\zeus3denScripts\vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTipRG.sqf";
 
 
-//pilot kill detector
+//pilot kill detector not ready for xeh server use
 	[] execVM "scripts\zeus3denScripts\playerBased\aviation\pilotBased\pilotProtectorBoxEH.sqf";
 	
-//warden resupply ammo
+//warden resupply ammo not ready for xeh server use
 	[] execVM "scripts\zeus3denScripts\playerBased\aviation\wardenBased\wardenAmmoBox.sqf";
 	
 //b2 reconfig

+ 7 - 10
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/ARC/arcSmokeTipPrB.sqf

@@ -1,25 +1,22 @@
   
 
   
-  
-  
-  _this  addAction ["<t color='#886688'>Smoker--------U13</t>",
-{
-  
 
   
+  params ["_vic"];
+  
   for [{_i=0}, {_i<10}, {_i=_i+1}] do
 {
-   _frag_grenade = createvehicle ["smokeshellpurple",((_this select 0 ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+   _frag_grenade = createvehicle ["smokeshellpurple",((_vic ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-   _frag_grenade attachTo [_this select 0  ,[-8.8,-.5,-1]];
+   _frag_grenade attachTo [_vic  ,[-8.8,-.5,-1]];
   
   
-     _frag_grenade = createvehicle ["smokeshellblue",((_this select 0  ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+     _frag_grenade = createvehicle ["smokeshellblue",((_vic  ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-    _frag_grenade attachTo [_this  select 0  ,[8.8,-.5,-1]];
+    _frag_grenade attachTo [_vic  ,[8.8,-.5,-1]];
 };
   
   
@@ -31,5 +28,5 @@
   
 
   
-  },[1],0,false,true,"User13"," driver  _target == _this"];
+
 

+ 6 - 10
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/ARC/arcSmokeTipRB.sqf

@@ -2,24 +2,20 @@
 
   
   
-  
-  _this  addAction ["<t color='#886688'>Smoker--------U13</t>",
-{
-  
-
+  params ["_vic"];
   
   for [{_i=0}, {_i<10}, {_i=_i+1}] do
 {
-   _frag_grenade = createvehicle ["smokeshellred",((_this select 0 ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+   _frag_grenade = createvehicle ["smokeshellred",((_vic ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-   _frag_grenade attachTo [_this select 0  ,[-8.8,-.5,-1]];
+   _frag_grenade attachTo [_vic  ,[-8.8,-.5,-1]];
   
   
-     _frag_grenade = createvehicle ["smokeshellblue",((_this select 0  ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+     _frag_grenade = createvehicle ["smokeshellblue",((_vic  ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-    _frag_grenade attachTo [_this  select 0  ,[8.8,-.5,-1]];
+    _frag_grenade attachTo [_vic  ,[8.8,-.5,-1]];
 };
   
   
@@ -31,5 +27,5 @@
   
 
   
-  },[1],0,false,true,"User13"," driver  _target == _this"];
+
 

+ 6 - 10
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/ARC/arcSmokeTipWB.sqf

@@ -2,24 +2,21 @@
 
   
   
-  
-  _this  addAction ["<t color='#886688'>Smoker--------U13</t>",
-{
-  
+  params ["_vic"];
 
   
   for [{_i=0}, {_i<10}, {_i=_i+1}] do
 {
-   _frag_grenade = createvehicle ["smokeshell",((_this select 0 ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+   _frag_grenade = createvehicle ["smokeshell",((_vic) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-   _frag_grenade attachTo [_this select 0  ,[-8.8,-.5,-1]];
+   _frag_grenade attachTo [_vic ,[-8.8,-.5,-1]];
   
   
-     _frag_grenade = createvehicle ["smokeshellblue",((_this select 0  ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+     _frag_grenade = createvehicle ["smokeshellblue",((_vic ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-    _frag_grenade attachTo [_this  select 0  ,[8.8,-.5,-1]];
+    _frag_grenade attachTo [_vic  ,[8.8,-.5,-1]];
 };
   
   
@@ -30,6 +27,5 @@
   
   
 
-  
-  },[1],0,false,true,"User13"," driver  _target == _this"];
+
 

+ 97 - 0
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTip.sqf

@@ -0,0 +1,97 @@
+  
+
+  
+  
+
+	params ["_vic"];
+  
+	_namLeftSmoke="smokeshellred";
+	_namRightSmoke="SmokeShellGreen";
+  
+  
+  
+	  namVicType=typeOf _vic;
+
+	if (namVicType isEqualTo "swop_LAAT") then
+	{
+		_namLeftSmoke="smokeshellYellow";
+		_namRightSmoke="SmokeShellblue";
+		namSmokePath="vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTipYwB.sqf";
+	}
+	else
+	{
+		if (namVicType isEqualTo "swop_LAATmk2") then
+		{
+			_namLeftSmoke="smokeshell";
+			_namRightSmoke="SmokeShellblue";
+			namSmokePath="vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTipWB.sqf";
+		}
+		else
+		{
+			if (namVicType isEqualTo "swop_LAATmk2_104") then
+			{
+				_namLeftSmoke="smokeshellYellow";
+				_namRightSmoke="SmokeShellblue";
+				namSmokePath="vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTipYwB.sqf";
+			}
+			else
+			{
+				if (namVicType isEqualTo "swop_LAATmk2_74") then
+				{
+					_namLeftSmoke="smokeshellYellow";
+					_namRightSmoke="SmokeShellblue";
+					namSmokePath="vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTipYwB.sqf"; 
+				}
+				else
+				{
+					if (namVicType isEqualTo "swop_LAATmk2_spec") then
+					{
+						_namLeftSmoke="smokeshellred";
+						_namRightSmoke="SmokeShellblue";
+						namSmokePath="vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTipRB.sqf";
+					}
+					else
+					{
+						if (namVicType isEqualTo "swop_LAATmk2_ARC") then
+						{
+							_namLeftSmoke="smokeshellblue";
+							_namRightSmoke="SmokeShellblue";
+							namSmokePath="vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTipBB.sqf"; 
+						}
+						else
+						{
+							
+						};
+					};
+				};
+			};
+		};
+	};
+  
+  
+	 for [{_i=0}, {_i<1}, {_i=_i+1}] do
+	{
+		//left
+	   _frag_grenade = createvehicle [_namLeftSmoke,((_vic ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
+	   
+		comment "side,forward,up";
+		_frag_grenade attachTo [_vic ,[-8,-1.8+_i/50,-1.8]];
+	  
+		//right
+		_frag_grenade = createvehicle [_namRightSmoke,((_vic  ) getPos [0, (direction (_vic))]) ,[],0,"none"]; 
+	   
+	   comment "side,forward,up";
+	_frag_grenade attachTo [_vic ,[8,-1.8+_i/50,-1.8]];
+	};
+  
+  
+
+
+  
+
+  
+  
+
+
+
+

+ 32 - 0
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTipBB.sqf

@@ -0,0 +1,32 @@
+  
+
+  
+  
+
+params ["_vic"];
+  
+  for [{_i=0}, {_i<1}, {_i=_i+1}] do
+{
+   _frag_grenade = createvehicle ["smokeshellblue",((_vic ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
+   
+   comment "side,forward,up";
+_frag_grenade attachTo [_vic ,[-8,-1.8+_i/50,-1.8]];
+  
+  
+     _frag_grenade = createvehicle ["smokeshellblue",((_vic  ) getPos [0, (direction (_vic))]) ,[],0,"none"]; 
+   
+   comment "side,forward,up";
+_frag_grenade attachTo [_vic ,[8,-1.8+_i/50,-1.8]];
+};
+  
+  
+
+
+  
+
+  
+  
+
+
+
+

+ 5 - 18
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTipPrB.sqf

@@ -1,37 +1,24 @@
   
 
   
-  
-  
-  _this  addAction ["<t color='#886688'>Smoker--------U13</t>",
-{
-  
+  params ["_vic"];
 
   
   for [{_i=0}, {_i<1}, {_i=_i+1}] do
 {
-   _frag_grenade = createvehicle ["smokeshellpurple",((_this select 0 ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+   _frag_grenade = createvehicle ["smokeshellpurple",((_vic ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-_frag_grenade attachTo [_this  select 0 ,[-8,-1.8+_i/50,-1.8]];
+_frag_grenade attachTo [_vic ,[-8,-1.8+_i/50,-1.8]];
   
   
-     _frag_grenade = createvehicle ["smokeshellblue",((_this select 0  ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+     _frag_grenade = createvehicle ["smokeshellblue",((_vic  ) getPos [0, (direction (_vic))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-_frag_grenade attachTo [_this  select 0 ,[8,-1.8+_i/50,-1.8]];
+_frag_grenade attachTo [_vic ,[8,-1.8+_i/50,-1.8]];
 };
   
-  
-
-
-  
-
-  
-  
 
-  
-  },[1],0,false,true,"User13"," driver  _target == _this"];
 
 
 

+ 7 - 13
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTipRB.sqf

@@ -1,28 +1,22 @@
-  
 
-  
-  
-  
-  _this  addAction ["<t color='#886688'>Smoker--------U13</t>",
-{
-  
 
+   params ["_vic"];
   
   for [{_i=0}, {_i<1}, {_i=_i+1}] do
 {
-   _frag_grenade = createvehicle ["smokeshellred",((_this select 0 ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+   _frag_grenade = createvehicle ["smokeshellred",((_vic ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-_frag_grenade attachTo [_this  select 0 ,[-8,-1.8+_i/50,-1.8]];
+_frag_grenade attachTo [_vic ,[-8,-1.8+_i/50,-1.8]];
   
   
-     _frag_grenade = createvehicle ["smokeshellblue",((_this select 0  ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+     _frag_grenade = createvehicle ["smokeshellblue",((_vic  ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-_frag_grenade attachTo [_this  select 0 ,[8,-1.8+_i/50,-1.8]];
+_frag_grenade attachTo [_vic ,[8,-1.8+_i/50,-1.8]];
 };
   
-  
+ 
 
 
   
@@ -31,7 +25,7 @@ _frag_grenade attachTo [_this  select 0 ,[8,-1.8+_i/50,-1.8]];
   
 
   
-  },[1],0,false,true,"User13"," driver  _target == _this"];
+  
 
 
 

+ 32 - 0
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTipRG.sqf

@@ -0,0 +1,32 @@
+
+
+   params ["_vic"];
+  
+  for [{_i=0}, {_i<1}, {_i=_i+1}] do
+{
+   _frag_grenade = createvehicle ["smokeshellred",((_vic ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
+   
+   comment "side,forward,up";
+_frag_grenade attachTo [_vic ,[-8,-1.8+_i/50,-1.8]];
+  
+  
+     _frag_grenade = createvehicle ["SmokeShellGreen",((_vic  ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
+   
+   comment "side,forward,up";
+_frag_grenade attachTo [_vic ,[8,-1.8+_i/50,-1.8]];
+};
+  
+ 
+
+
+  
+
+  
+  
+
+  
+  
+
+
+
+

+ 6 - 11
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTipWB.sqf

@@ -1,25 +1,21 @@
   
 
   
-  
-  
-  _this  addAction ["<t color='#886688'>Smoker--------U13</t>",
-{
-  
 
+params ["_vic"];
   
   for [{_i=0}, {_i<1}, {_i=_i+1}] do
 {
-   _frag_grenade = createvehicle ["smokeshell",((_this select 0 ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+   _frag_grenade = createvehicle ["smokeshell",((_vic) getPos [0, (direction (_vic))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-_frag_grenade attachTo [_this  select 0 ,[-8,-1.8+_i/50,-1.8]];
+_frag_grenade attachTo [_vic ,[-8,-1.8+_i/50,-1.8]];
   
   
-     _frag_grenade = createvehicle ["smokeshellblue",((_this select 0  ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+     _frag_grenade = createvehicle ["smokeshellblue",((_vic  ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-_frag_grenade attachTo [_this  select 0 ,[8,-1.8+_i/50,-1.8]];
+_frag_grenade attachTo [_vic ,[8,-1.8+_i/50,-1.8]];
 };
   
   
@@ -30,8 +26,7 @@ _frag_grenade attachTo [_this  select 0 ,[8,-1.8+_i/50,-1.8]];
   
   
 
-  
-  },[1],0,false,true,"User13"," driver  _target == _this"];
+
 
 
 

+ 5 - 11
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Smoke/LAAT/laatSmokeTipYwB.sqf

@@ -2,24 +2,21 @@
 
   
   
-  
-  _this  addAction ["<t color='#886688'>Smoker--------U13</t>",
-{
-  
 
+params ["_vic"];
   
   for [{_i=0}, {_i<1}, {_i=_i+1}] do
 {
-   _frag_grenade = createvehicle ["SmokeShellYellow",((_this select 0 ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+   _frag_grenade = createvehicle ["SmokeShellYellow",((_vic ) getPos [0, (direction (_vic ))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-_frag_grenade attachTo [_this  select 0 ,[-8,-1.8+_i/50,-1.8]];
+_frag_grenade attachTo [_vic ,[-8,-1.8+_i/50,-1.8]];
   
   
-     _frag_grenade = createvehicle ["smokeshellblue",((_this select 0  ) getPos [0, (direction (_this  select 0 ))]) ,[],0,"none"]; 
+     _frag_grenade = createvehicle ["smokeshellblue",((_vic  ) getPos [0, (direction (_vic))]) ,[],0,"none"]; 
    
    comment "side,forward,up";
-_frag_grenade attachTo [_this  select 0 ,[8,-1.8+_i/50,-1.8]];
+_frag_grenade attachTo [_vic ,[8,-1.8+_i/50,-1.8]];
 };
   
   
@@ -30,9 +27,6 @@ _frag_grenade attachTo [_this  select 0 ,[8,-1.8+_i/50,-1.8]];
   
   
 
-  
-  },[1],0,false,true,"User13"," driver  _target == _this"];
-
 
 
 

+ 18 - 1
Scripts/scripts/zeus3denScripts/vehicleBased/vehicleVariants/airBased/ARC/arcXiphos.sqf

@@ -1,6 +1,9 @@
 xiphosI={
 	params["_vic"];
 
+	
+	if (!local _vic) exitWith {};
+	
 	comment "data for weapons";
 	comment"format of [weapon,weaponMagType,[[seat,ammoPerMag,MagCount],[seat,ammoPerMag,MagCount],......etc]]";
 	weaponData=[
@@ -49,7 +52,12 @@ xiphosI={
 
 	};
 
-
+	
+	// function as file
+	_vic  addAction ["<t color='#886688'>Smoker--------U13</t>",
+	{[_this select 0] execVM "vehicleBased\actionMenu\Smoke\ARC\arcSmokeTipRB.sqf";}
+	,[1],0,false,true,"User13"," driver  _target == _this"];
+	
 
 
 	comment "gets health";
@@ -78,6 +86,15 @@ xiphosI={
 	(_this select 0) setAirplaneThrottle ((airplaneThrottle (_this select 0))-0.01);	
 
 	},[1],0,false,true,"User17","driver  _target == _this"];
+	
+	
+	
+	[_vic] execVm "vehicleBased\vehicleVariants\airBased\ARC\removeEject.sqf";
+
+	
+	
+	
+	
 };
 
 ["swop_arc_t", "init",xiphosI, true, [], true] call CBA_fnc_addClassEventHandler; 

+ 6 - 3
Scripts/scripts/zeus3denScripts/vehicleBased/vehicleVariants/airBased/ARC/removeEject.sqf

@@ -1,5 +1,8 @@
-removeEjectARC={
+
 	params["_vic"];
+	
+	if (!local _vic) exitWith {};
+	
 	_vic setVehicleLock "LOCKED";
 
 
@@ -68,6 +71,6 @@ removeEjectARC={
 
 	},[1],0,false,true,"User15"];
 
-};
 
-["swop_arc_t", "init",removeEjectARC, true, [], true] call CBA_fnc_addClassEventHandler; 
+
+//["swop_arc_t", "init",removeEjectARC, true, [], true] call CBA_fnc_addClassEventHandler; 

+ 15 - 1
Scripts/scripts/zeus3denScripts/vehicleBased/vehicleVariants/airBased/LAAT/laatClaymore.sqf

@@ -3,6 +3,10 @@
 laatClaymoreIV={
     params ["_vic"];
 
+	if (!local _vic) exitWith {};
+	
+
+	
 	comment "data for weapons";
 	comment"format of [weapon,weaponMagType,[[seat,ammoPerMag,MagCount],[seat,ammoPerMag,MagCount],......etc]]";
 	weaponData=[
@@ -72,6 +76,16 @@ laatClaymoreIV={
 	hint parseText format["<t color='#0099FF'> Hull Integrity is :%1%2</t>",((1-(damage (_this  select 0)))*100),"%"];
 
 	},[1],0,false,true,""," driver  _target == _this "];
+	
+	
+
+	
+	// function as file
+	_vic  addAction ["<t color='#886688'>Smoker--------U13</t>",
+	{[_this select 0] execVM "vehicleBased\actionMenu\Smoke\LAAT\laatSmokeTip.sqf";}
+	,[1],0,false,true,"User13"," driver  _target == _this"];
+	
 };
 
-["swop_LAAT", "init",laatClaymoreIV, true, [], true] call CBA_fnc_addClassEventHandler; 
+["swop_LAAT", "init",laatClaymoreIV, true, [], true] call CBA_fnc_addClassEventHandler; 
+

+ 9 - 2
Scripts/scripts/zeus3denScripts/vehicleBased/vehicleVariants/airBased/YWING/ywingScylla.sqf

@@ -1,6 +1,8 @@
 scylla={
 	params["_vic"];
 
+	if (!local _vic) exitWith {};
+	
 	comment "data for weapons";
 	comment"format of [weapon,weaponMagType,[[seat,ammoPerMag,MagCount],[seat,ammoPerMag,MagCount],......etc]]";
 	weaponData=[
@@ -54,7 +56,12 @@ scylla={
 	};
 
 
-
+	/*
+	// function as file
+	_vic  addAction ["<t color='#886688'>Smoker--------U13</t>",
+	{[_this select 0] execVM "file path";}
+	,[1],0,false,true,"User13"," driver  _target == _this"];
+	*/
 
 	comment "gets health";
 	_vic   addAction ["<t color='#00FF00'>Damage Report</t>",
@@ -81,4 +88,4 @@ scylla={
 	},[1],0,false,true,"User17","driver  _target == _this"];
 };
 
-["swop_ywclone", "init",scylla, true, [], true] call CBA_fnc_addClassEventHandler; 
+["swop_ywclones", "init",scylla, true, [], true] call CBA_fnc_addClassEventHandler;