Browse Source

Zeus Scripts

These are Zeus scripts that are made by me,Namenai. Seperated into as of right now 2 types, vehicle and action menu based. Vehicle based scripts are the weapons themself and some fucntions. action menu based are scripts that are executed via action menu
Namenai 7 years ago
parent
commit
b7578aa9f8

+ 0 - 0
Zues Scripts/README.txt → Zeus Scripts/README.txt


+ 90 - 0
Zeus Scripts/Vehicle Based/Action Menu/Boost/normalKappa1.sqf

@@ -0,0 +1,90 @@
+comment "Varialbe Decs";
+_this allowDamage false;
+_this  setvariable ["Speed",200,true];
+_this  setvariable ["turnon",true,true];
+
+
+comment "Increment Speed";
+_this  addAction ["<t color='#A668C2'>Increment Speed by 10</t>",
+{
+(_this select 0)  setvariable ["Speed",(((_this select 0) getVariable "Speed")+10),true];
+hint parseText format["<t color='#A668C2'> Speed set to:%1 Kmph</t>",((_this select 0) getVariable "Speed")];
+},[1],0,false,true,"User16"," driver  _target == _this"];
+
+
+
+comment "Decrement Speed";
+_this  addAction ["<t color='#FF69B4'>Decrement Speed by 10</t>",
+{
+(_this select 0)  setvariable ["Speed",(((_this select 0) getVariable "Speed")-10),true];
+hint parseText format["<t color='#FF69B4'>Speed set to:%1 Kmph</t>",((_this select 0) getVariable "Speed")];
+},[1],0,false,true,"User17"," driver  _target == _this"];
+
+
+
+
+comment "Engage";
+_this  addAction ["<t color='#00FF00'>Engage C.R.U.I.S.I.E Control System</t>",
+{
+(_this select 0) setobjecttextureglobal [1,"optre_vehicles\pelican\data\PelicanExterior_Black_CO.paa"];
+(_this select 0) setvariable ["turnon",true,true];
+hint parseText "<t color='#00FF00'>ENGAGING C.R.U.I.S.I.E Control System</t>";
+while { (alive (_this select 0)) AND (((_this select 0) getvariable "turnon"))} do
+{
+
+_Multiplier = 0.4;
+_Acceleration = 0.6;
+_sleep_time_acceleration_loop = 0.1;
+_Max_Multiplier = .1;
+_Coef_mul=((_Acceleration*_Multiplier/2)*(15*_sleep_time_acceleration_loop));
+
+
+if ((speed (_this select 0)) < ((_this select 0) getVariable "Speed")) then { ((_this select 0)) setVelocity [(velocity ((_this select 0)) select 0)+((vectordir ((_this select 0))) select 0)*_Coef_mul,(velocity ((_this select 0)) select 1)+((vectordir ((_this select 0))) select 1)*_Coef_mul,(velocity ((_this select 0)) select 2)+((vectordir ((_this select 0))) select 2)*_Coef_mul]};
+
+
+if (_Multiplier < _Max_Multiplier) then {_Multiplier = _Multiplier + 0.1*(15*_sleep_time_acceleration_loop)};
+    
+};
+turnon=false;
+},[1],0,false,true,"User18"," driver  _target == _this"];
+
+
+
+comment "Disenage";
+_this  addAction ["<t color='#FFA500'>Disengage C.R.U.I.S.I.E Control System</t>",
+{
+(_this select 0) setvariable ["turnon",false,true];
+hint parseText "<t color='#FFA500'>DISENGAGING C.R.U.I.S.I.E Control System</t>";
+
+hint parseText "<t color='#FFA500'>DRIVE DOWN</t>";
+},[1],0,false,true,"User19"," driver  _target == _this"];
+
+
+
+comment "Halt";
+_this  addAction ["<t color='#FF0000'>Stop Driver</t>",
+{
+(_this select 0) setvariable ["turnon",false,true];
+hint parseText "<t color='#FF0000'>HALTING</t>";
+while {(speed (_this select 0) > 10)} do
+{
+	hint "DRIVING DOWN NOW";
+	_vel = velocity (_this select 0) ;
+	_dir = direction (_this select 0) ;
+	_speed = -3;
+	(_this select 0) setVelocity [
+	(_vel select 0) + (sin _dir * _speed),
+	(_vel select 1) + (cos _dir * _speed),
+	(_vel select 2)
+	];
+   
+};
+hint parseText "<t color='#FF0000'>HALTING</t>";
+},[1],0,false,true,"User20"," driver  _target == _this"];
+
+
+
+
+
+
+

+ 82 - 0
Zeus Scripts/Vehicle Based/Action Menu/Boost/reverseKappa1.sqf

@@ -0,0 +1,82 @@
+comment "Varialbe Decs";
+
+_this  setvariable ["Speed",200,true];
+_this  setvariable ["turnon",true,true];
+
+
+comment "Increment Speed";
+_this  addAction ["<t color='#A668C2'>Increment Cap by 10</t>",
+{
+(_this select 0)  setvariable ["Speed",(((_this select 0) getVariable "Speed")+10),true];
+hint parseText format["<t color='#A668C2'> Cap set to:%1 Kmph</t>",((_this select 0) getVariable "Speed")];
+},[1],0,false,true,"User16"," driver  _target == _this"];
+
+
+
+comment "Decrement Speed";
+_this  addAction ["<t color='#FF69B4'>Decrement Cap by 10</t>",
+{
+(_this select 0)  setvariable ["Speed",(((_this select 0) getVariable "Speed")-10),true];
+hint parseText format["<t color='#FF69B4'>Cap set to:%1 Kmph</t>",((_this select 0) getVariable "Speed")];
+},[1],0,false,true,"User17"," driver  _target == _this"];
+
+
+
+
+comment "Engage";
+_this  addAction ["<t color='#00FF00'>Engage Matter Stopper</t>",
+{
+
+(_this select 0) setvariable ["turnon",true,true];
+hint parseText "<t color='#00FF00'>ENGAGING C.R.U.I.S.I.E Control System</t>";
+while { (alive (_this select 0)) AND (((_this select 0) getvariable "turnon"))} do
+{
+
+_Multiplier = 0.4;
+_Acceleration = 0.6;
+_sleep_time_acceleration_loop = 0.1;
+_Max_Multiplier = .1;
+_Coef_mul=(-1)*((_Acceleration*_Multiplier/2)*(15*_sleep_time_acceleration_loop));
+
+
+if ((speed (_this select 0)) > ((_this select 0) getVariable "Speed")) then { 
+
+((_this select 0)) setVelocity 
+[
+(velocity ((_this select 0)) select 0)+((vectordir ((_this select 0))) select 0)*_Coef_mul,
+(velocity ((_this select 0)) select 1)+((vectordir ((_this select 0))) select 1)*_Coef_mul,
+(velocity ((_this select 0)) select 2)+((vectordir ((_this select 0))) select 2)*_Coef_mul
+]
+
+};
+
+
+if (_Multiplier < _Max_Multiplier) then {_Multiplier = _Multiplier + 0.1*(15*_sleep_time_acceleration_loop)};
+    
+};
+turnon=false;
+},[1],0,false,true,"User18"," driver  _target == _this"];
+
+
+
+comment "Disenage";
+_this  addAction ["<t color='#FFA500'>Disengage Matter Stopper</t>",
+{
+(_this select 0) setvariable ["turnon",false,true];
+hint parseText "<t color='#FFA500'>DISENGAGING</t>";
+
+hint parseText "<t color='#FFA500'>DRIVE DOWN</t>";
+},[1],0,false,true,"User19"," driver  _target == _this"];
+
+
+
+
+
+
+
+
+
+
+
+
+

+ 35 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/arcSmokeTipPrB1.sqf

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

+ 35 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/arcSmokeTipRB1.sqf

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

+ 35 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/arcSmokeTipWB1.sqf

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

+ 38 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/laatSmokeTipPrB1.sqf

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

+ 38 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/laatSmokeTipRB1.sqf

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

+ 38 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/laatSmokeTipWB1.sqf

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

+ 85 - 0
Zeus Scripts/Vehicle Based/Vehicle Variants/Air/ARC/arcXiphos1.sqf

@@ -0,0 +1,85 @@
+weaponsList=[
+["2Rnd_Missile_AA_04_F","Missile_AA_04_Plane_CAS_01_F",20,[-1,0,1]],
+["magazine_Missile_rim116_x21","weapon_rim116Launcher",4,[-1,0,1]],
+["4Rnd_LG_Jian","missiles_Jian",4,[-1,0,1]],
+["Laserbatteries","Laserdesignator_pilotCamera",1,[-1,0,1]],
+["400Rnd_Pomehi_Mag","PomehiLauncherXT",10,[-1,0,1]],
+["10Rnd_FAST_Cannon_TIE","Cannon_TIE_FAST",100,[-1,0,1]],
+["SmokeLauncherMag","SmokeLauncher",10,[-1,0,1]],
+["300Rnd_CMFlare_Chaff_Magazine","CMFlareLauncher",10,[-1,0,1]]
+];
+
+for [{_i=0}, {_i<(count weaponsList)}, {_i=_i+1}] do
+{
+itemList = (weaponsList select _i);
+itemWeap= (itemList select 1);
+itemMag= (itemList select 0);
+itemCount= (itemList select 2);
+itemSeat= (itemList select 3);
+
+for [{_j=0}, {_j<itemCount}, {_j=_j+1}] do
+{
+
+for  [{_k=0}, {_k<(count itemSeat)}, {_k=_k+1}] do
+{
+_this addMagazineTurret [itemMag ,[itemSeat select _k]];  
+_this addWeaponTurret[itemWeap, [itemSeat select _k]];
+};
+};
+
+};
+
+
+_this  addAction ["<t color='#FFFF00'>GET OUT OF VIC------------- U11</t>",
+{
+
+(vehicle (_this select 0)) setVehicleLock "UNLOCKED";
+(vehicle (_this select 0)) vehicleChat "UNLOCKED";
+
+params["_this","_user"];
+moveOut _user ;
+},[1],0,false,true,"User12"];
+
+
+_this addEventHandler ["GetIn",{
+(vehicle (_this select 0)) setVehicleLock "LOCKED";
+(vehicle (_this select 0)) vehicleChat "LOCKED";
+}];
+
+_this  addAction ["<t color='#FF0000'>LOCK--------U14</t>",
+{
+
+
+(vehicle (_this select 0)) setVehicleLock "LOCKED";
+(vehicle (_this select 0)) vehicleChat "LOCKED";
+
+
+},[1],0,false,true,"User14"," driver  _target == _this"];
+
+
+_this  addAction ["<t color='#00FF00'>UNLOCK--------U15</t>",
+{
+
+
+(vehicle (_this select 0)) setVehicleLock "UNLOCKED";
+(vehicle (_this select 0)) vehicleChat "UNLOCKED";
+
+},[1],0,false,true,"User15"];
+
+
+comment "Increment Throttle";
+_this  addAction ["<t color='#0000FF'>Increment Throttle--------U16</t>",
+{
+(_this select 0) setAirplaneThrottle ((airplaneThrottle (_this select 0))+.01);
+
+},[1],0,false,true,"User16"];
+
+comment "Decrement Throttle";
+_this  addAction ["<t color='#FF0000'>Decrement Throttle--------U17</t>",
+{
+(_this select 0) setAirplaneThrottle ((airplaneThrottle (_this select 0))-0.01);	
+
+},[1],0,false,true,"User17"];
+
+
+

+ 5 - 0
Zeus Scripts/Vehicle Based/Vehicle Variants/Air/ARC/removeEject.sqf

@@ -0,0 +1,5 @@
+
+_this addEventHandler ["GetIn",{
+(vehicle (_this select 0)) setVehicleLock "LOCKED";
+(vehicle (_this select 0)) vehicleChat "LOCKED";
+}];

+ 52 - 0
Zeus Scripts/Vehicle Based/Vehicle Variants/Air/LAAT/laatClaymore3.sqf

@@ -0,0 +1,52 @@
+weaponsList=[
+["1000Rnd_Laser_Cannon_LAAT","Cannon_LAAT",2,[-1]],
+["laat_proton_torpedo","laat_proton_torpedo_launcher",2,[-1,0]],
+["4Rnd_LG_Jian","missiles_Jian",8,[-1,0]],
+["2Rnd_Missile_AA_04_F","Missile_AA_04_Plane_CAS_01_F",10,[-1,0]],
+["magazine_Missile_rim116_x21","weapon_rim116Launcher",1,[-1,0]],
+["SmokeLauncherMag","SmokeLauncher",10,[-1,0]],
+["300Rnd_CMFlare_Chaff_Magazine","CMFlareLauncher",10,[-1,0]],
+["400Rnd_Pomehi_Mag","PomehiLauncherXT",10,[-1,0]],
+["10Rnd_FAST_Cannon_TIE","Cannon_TIE_FAST",100,[1,2]],
+["Laserbatteries","Laserdesignator_pilotCamera",1,[-1,0]]
+];
+;
+
+for [{_i=0}, {_i<2}, {_i=_i+1}] do
+{
+_this removeMagazineTurret ["laat_proton_torpedo" ,[-1]];  
+_this removeWeaponTurret["laat_proton_torpedo_launcher", [-1]];
+};
+
+for [{_i=0}, {_i<(count weaponsList)}, {_i=_i+1}] do
+{
+itemList = (weaponsList select _i);
+itemWeap= (itemList select 1);
+itemMag= (itemList select 0);
+itemCount= (itemList select 2);
+itemSeat= (itemList select 3);
+
+for [{_j=0}, {_j<itemCount}, {_j=_j+1}] do
+{
+
+for  [{_k=0}, {_k<(count itemSeat)}, {_k=_k+1}] do
+{
+_this addMagazineTurret [itemMag ,[itemSeat select _k]];  
+_this addWeaponTurret[itemWeap, [itemSeat select _k]];
+};
+};
+
+};
+
+
+
+comment "gets health";
+_this  addAction ["<t color='#0000FF'>Damage Report</t>",
+{
+
+
+hint parseText format["<t color='#A668C2'> Damage status is :%1</t>",((1-(damage _this select 0))*100)];
+
+},[1],0,false,true,""," driver  _target == _this"];
+
+

+ 66 - 0
Zeus Scripts/Vehicle Based/Vehicle Variants/Air/YWING/ywingScylla1.sqf

@@ -0,0 +1,66 @@
+weaponsList=[
+["500Rnd_Cannon_ARCback","Cannon_ARCback",20,[-1,0]],
+["c7_airedblaster_mag","c7_airedblaster",20,[-1,0]],
+["2Rnd_Missile_AA_04_F","Missile_AA_04_Plane_CAS_01_F",3,[-1,0]],
+["2Rnd_Missile_AA_04_F","Missile_AA_04_Plane_CAS_01_F",3,[0]],
+["magazine_Missile_rim116_x21","weapon_rim116Launcher",1,[-1,0]],
+["4Rnd_LG_Jian","missiles_Jian",14,[-1,0]],
+["Mg7_proton_torpedo","Mg7_proton_torpedo_launcher",10,[-1,0]],
+["PylonMissile_1Rnd_BombCluster_01_F","BombCluster_01_F",10,[-1,0]],
+["4Rnd_Bomb_04_F","Bomb_04_Plane_CAS_01_F",10,[-1,0]],
+["Laserbatteries","Laserdesignator_pilotCamera",1,[-1,0]],
+["400Rnd_Pomehi_Mag","PomehiLauncherXT",10,[-1,0]]
+];
+ 
+for [{_i=0}, {_i<5}, {_i=_i+1}] do
+{
+_this removeMagazineTurret ["ProtonBombM" ,[-1]];  
+_this removeWeaponTurret["ProtonBombW", [-1]];
+
+_this removeMagazineTurret ["ProtonBombMCluster" ,[-1]];  
+_this removeWeaponTurret["ProtonBombWCLUSTER", [-1]];
+};
+ 
+ 
+for [{_i=0}, {_i<(count weaponsList)}, {_i=_i+1}] do
+{
+itemList = (weaponsList select _i);
+itemWeap= (itemList select 1);
+itemMag= (itemList select 0);
+itemCount= (itemList select 2);
+itemSeat= (itemList select 3);
+
+for [{_j=0}, {_j<itemCount}, {_j=_j+1}] do
+{
+
+for  [{_k=0}, {_k<(count itemSeat)}, {_k=_k+1}] do
+{
+_this addMagazineTurret [itemMag ,[itemSeat select _k]];  
+_this addWeaponTurret[itemWeap, [itemSeat select _k]];
+};
+};
+
+};
+
+
+
+comment "Increment Throttle";
+_this  addAction ["<t color='#0000FF'>Increment Throttle</t>",
+{
+(_this select 0) setAirplaneThrottle ((airplaneThrottle (_this select 0))+.01);
+
+},[1],0,false,true,"User16"," driver  _target == _this"];
+
+
+comment "Decrement Throttle";
+_this  addAction ["<t color='#FF0000'>Decrement Throttle</t>",
+{
+(_this select 0) setAirplaneThrottle ((airplaneThrottle (_this select 0))-0.01);	
+
+},[1],0,false,true,"User17"," driver  _target == _this"];
+
+
+
+
+
+