Browse Source

fix ball turret laser

thefloff 4 years ago
parent
commit
e42ed4f364

+ 4 - 1
addons - Copy/RD501_Vehicle_Weapons/aircraft/ball_turret/config.cpp

@@ -16,7 +16,10 @@ class CfgPatches
 		};
 		requiredVersion=0.1;
 		units[]={};
-		weapons[]={};
+		weapons[]={
+			macro_new_weapon(turret,laat_ball_beam_l),
+			macro_new_weapon(turret,laat_ball_beam_r)
+		};
 	};
 };
 

+ 1 - 1
addons - Copy/RD501_Vehicles/air/LAAT/fired_laser.sqf

@@ -53,7 +53,7 @@ if (isServer) then {
 		if (_w == "RD501_turret_laat_ball_beam_l") then {
 			_laser_chamber = "Laser_L_chamber";
 			_laser_muzzle = "Laser_L_muzzle";
-			_laser_anim = "Laser"; // would be cleaner if you renamed this to "Laser_Left" or something
+			_laser_anim = "Laser_L"; // would be cleaner if you renamed this to "Laser_Left" or something
 		} else {
 			if (_w == "RD501_turret_laat_ball_beam_r") then { // replace this with the new "Laser_weapon_right" weapon classname
 				_laser_chamber = "Lazer_R_chamber";// replace this with new "Laser_R_chamber" that you set up in the memory lod