Parcourir la source

fixed aatMohawkClassBase naming

Namenai il y a 7 ans
Parent
commit
6723511b6d

+ 20 - 0
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Boost/thrusterdisengage.sqf

@@ -0,0 +1,20 @@
+params["_vic","_namMaxSpeed","_namMinSpeed","_namAccel"];
+
+
+_pelican = _vic;
+
+_pelican setobjecttextureglobal [1,""];
+hint format["DISENGAGING FORWARD THRUSTERS\n\nACTIVATING AIR BRAKES"];
+while {(!(_pelican getvariable ["OPTRE_Thruster_EngagedStatus",false]) AND (speed _pelican > 100))} do
+{
+	_vel = velocity _pelican;
+	_dir = direction _pelican;
+	_speed = -10;
+	_pelican setVelocity [
+	(_vel select 0) + (sin _dir * _speed), 
+	(_vel select 1) + (cos _dir * _speed), 
+	(_vel select 2)
+	];
+	sleep 0.5;
+};
+ 

+ 18 - 0
Scripts/scripts/zeus3denScripts/vehicleBased/actionMenu/Boost/thrusterengage.sqf

@@ -0,0 +1,18 @@
+_pelican = _this;
+_pelican setvariable ["OPTRE_Thruster_EngagedStatus",true,true];
+_pelican setobjecttextureglobal [1,"optre_vehicles\pelican\data\bolt_blue_ca.paa"];
+hint "ENGAGING FORWARD THRUSTERS";
+while {((_pelican getvariable ["OPTRE_Thruster_EngagedStatus",false]) AND (alive _pelican))} do
+{
+	if (speed _pelican <= 600) then {
+		_vel = velocity _pelican;
+		_dir = direction _pelican;
+		_speed = 10;
+		_pelican setVelocity [
+		(_vel select 0) + (sin _dir * _speed), 
+		(_vel select 1) + (cos _dir * _speed), 
+		(_vel select 2)
+		];
+	};
+	sleep 0.5;
+};

+ 1 - 1
Scripts/scripts/zeus3denScripts/vehicleBased/vehicleVariants/landBased/AAT/aatBase.sqf → Scripts/scripts/zeus3denScripts/vehicleBased/vehicleVariants/landBased/AAT/aatMohawkClassBase.sqf

@@ -2,7 +2,7 @@
 rexiAttMohawk=
 	{
 		params["_vic"];
-		_namAATConfigChance=.5;
+