Bladeren bron

Merge pull request #1 from LaocheXe/namenai-3den-scripts

Namenai 3den scripts

Looks like they would work
Travis Thoene 7 jaren geleden
bovenliggende
commit
35e04f2806

+ 1 - 10
Zeus Scripts/Vehicle Based/Action Menu/Boost/normalKappa1.sqf → Zeus Scripts/Vehicle Based/Action Menu/Boost/forwardKappa.sqf

@@ -26,7 +26,7 @@ hint parseText format["<t color='#FF69B4'>Speed set to:%1 Kmph</t>",((_this sele
 comment "Engage";
 _this  addAction ["<t color='#00FF00'>Engage C.R.U.I.S.I.E Control System -------- U18</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
@@ -48,16 +48,7 @@ if ((speed (_this select 0)) < ((_this select 0) getVariable "Speed")) then {
  ]
  };
 
-if ((speed (_this select 0)) > ((_this select 0) getVariable "Speed")) then { 
-_Coef_mul=-1*_Coef_mul;
-((_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)};

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


+ 0 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/arcSmokeTipPrB1.sqf → Zeus Scripts/Vehicle Based/Action Menu/Smoke/ARC/arcSmokeTipPrB.sqf


+ 0 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/arcSmokeTipRB1.sqf → Zeus Scripts/Vehicle Based/Action Menu/Smoke/ARC/arcSmokeTipRB.sqf


+ 0 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/arcSmokeTipWB1.sqf → Zeus Scripts/Vehicle Based/Action Menu/Smoke/ARC/arcSmokeTipWB.sqf


+ 0 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/laatSmokeTipPrB1.sqf → Zeus Scripts/Vehicle Based/Action Menu/Smoke/LAAT/laatSmokeTipPrB.sqf


+ 0 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/laatSmokeTipRB1.sqf → Zeus Scripts/Vehicle Based/Action Menu/Smoke/LAAT/laatSmokeTipRB.sqf


+ 0 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/laatSmokeTipWB1.sqf → Zeus Scripts/Vehicle Based/Action Menu/Smoke/LAAT/laatSmokeTipWB.sqf


+ 38 - 0
Zeus Scripts/Vehicle Based/Action Menu/Smoke/LAAT/laatSmokeTipYwB.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 ["SmokeShellYellow",((_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"];
+
+
+
+

+ 10 - 33
Zeus Scripts/Vehicle Based/Vehicle Variants/Air/ARC/arcXiphos1.sqf → Zeus Scripts/Vehicle Based/Vehicle Variants/Air/ARC/arcXiphos.sqf

@@ -1,12 +1,12 @@
 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]]
+["magazine_Missile_rim116_x21","weapon_rim116Launcher",2,[-1,0,1],21],
+["4Rnd_LG_Jian","missiles_Jian",1,[-1,0,1],4],
+["ConMisarc_mag","conmis_arc",1,[-1],8],
+["Laserbatteries","Laserdesignator_pilotCamera",1,[-1,0,1],1],
+["400Rnd_Pomehi_Mag","PomehiLauncherXT",10,[-1,0,1],400],
+["10Rnd_FAST_Cannon_TIE","Cannon_TIE_FAST",100,[1],10],
+["SmokeLauncherMag","SmokeLauncher",10,[-1,0,1],2],
+["300Rnd_CMFlare_Chaff_Magazine","CMFlareLauncher",10,[-1,0,1],300]
 ];
 
 for [{_i=0}, {_i<(count weaponsList)}, {_i=_i+1}] do
@@ -16,13 +16,14 @@ itemWeap= (itemList select 1);
 itemMag= (itemList select 0);
 itemCount= (itemList select 2);
 itemSeat= (itemList select 3);
+ammoCount=(itemList select 4);
 
 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 addMagazineTurret [itemMag ,[itemSeat select _k],ammoCount];  
 _this addWeaponTurret[itemWeap, [itemSeat select _k]];
 };
 };
@@ -41,30 +42,6 @@ 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";

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

@@ -3,3 +3,24 @@ _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"];

+ 61 - 0
Zeus Scripts/Vehicle Based/Vehicle Variants/Air/LAAT/laatClaymore.sqf

@@ -0,0 +1,61 @@
+weaponsList=[
+["1000Rnd_Laser_Cannon_LAAT","Cannon_LAAT",2,[-1],1000],
+["4Rnd_LG_Jian","missiles_Jian",8,[-1],4],
+["magazine_Missile_rim116_x21","weapon_rim116Launcher",1,[0],21],
+["magazine_Missile_rim116_x21","weapon_rim116Launcher",1,[-1],8],
+["SmokeLauncherMag","SmokeLauncher",10,[-1,0],2],
+["300Rnd_CMFlare_Chaff_Magazine","CMFlareLauncher",10,[-1,0],300],
+["400Rnd_Pomehi_Mag","PomehiLauncherXT",10,[-1,0],400],
+["10Rnd_FAST_Cannon_TIE","Cannon_TIE_FAST",100,[1,2],10],
+["Laserbatteries","Laserdesignator_pilotCamera",1,[-1],1]
+];
+
+comment "remove torpedos";
+for [{_i=0}, {_i<2}, {_i=_i+1}] do
+{
+_this removeMagazineTurret ["laat_proton_torpedo" ,[-1]];  
+_this removeWeaponTurret["laat_proton_torpedo_launcher", [-1]];
+};
+
+
+
+
+comment "adds the weapons";
+
+
+
+comment "goes through each weapon";
+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);
+ammoCount=(itemList select 4);
+
+comment "goes through each mag count,aka add magz";
+for [{_j=0}, {_j<itemCount}, {_j=_j+1}] do
+{
+comment "goes through each seat,aka add 1 mag to each seat";
+for  [{_k=0}, {_k<(count itemSeat)}, {_k=_k+1}] do
+{
+_this  addMagazineTurret [itemMag ,[itemSeat select _k],ammoCount];  
+_this  addWeaponTurret[itemWeap, [itemSeat select _k]];
+};
+};
+
+};
+
+
+
+comment "gets health";
+_this   addAction ["<t color='#00FF00'>Damage Report</t>",
+{
+
+
+hint parseText format["<t color='#0099FF'> Damage status is :%1</t>",((1-(damage (_this  select 0)))*100)];
+
+},[1],0,false,true,""," driver  _target == _this "];
+
+

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

@@ -1,53 +0,0 @@
-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]],
-["magazine_Missile_rim116_x21","weapon_rim116Launcher",2,[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='#00FF00'>Damage Report</t>",
-{
-
-
-hint parseText format["<t color='#0099FF'> Damage status is :%1</t>",((1-(damage (_this select 0)))*100)];
-
-},[1],0,false,true,""," driver  _target == _this"];
-
-

+ 47 - 0
Zeus Scripts/player based/pilotProtectorBoxEH.sqf

@@ -0,0 +1,47 @@
+
+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"];
+};
+
+
+_this addAction ["<t color='#00FF00'>Pilot Protection</t>", {
+
+params["_this","_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];
+}];
+
+_user groupChat format["%1 is protected at time %2",(name _user),time];
+
+
+
+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"];
+};
+
+sleep 1;
+
+
+
+
+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"];
+};
+
+
+}];
+
+
+

+ 48 - 0
Zeus Scripts/warden based/wardenAmmoBox.sqf

@@ -0,0 +1,48 @@
+
+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"];
+};
+
+
+_this addAction ["<t color='#00FF00'>Add Warden Ammo</t>", {
+
+params["_this","_user"];
+
+_user  addAction ["<t color='#0000FF'>Resupply Ammo</t>",
+{
+(vehicle (_this select 0)) setVehicleAmmo 1;
+}
+];
+
+_user groupChat format["%1 add warden ammo at time %2",(name _user),time];
+
+
+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"];
+};
+
+sleep 1;
+
+
+
+
+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"];
+};
+
+
+}];
+
+
+