Page MenuHomeFeedback Tracker

Gunner searchlights not working
Closed, ResolvedPublic

Description

after 1.56 patch reflectors defined in turret class no longer follow turret movement. prior that patch everything was ok

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Modding
Additional Information

some example code

class CfgVehicles
{
	class LandVehicle;
	class Car: LandVehicle
	{
		class NewTurret;
	};
	class Car_F: Car
	{
		class Turrets
		{
			class MainTurret: NewTurret
			{
				class ViewGunner;
				class ViewOptics;
			};
		};
	};

	class Wheeled_APC_F: car_F {};
	class somevehicle: Wheeled_APC_F
	{

		class Turrets: Turrets{

			class MainTurret: MainTurret
			{
				class Reflectors
				{
					class gunlight
					{
						color[] = {1900,1300,950};
						ambient[] = {5,5,5};
						position = "t svetlo";
						direction = "konec t svetla";
						hitpoint = "t svetlo";
						selection = "t svetlo";
						size = 0.1; //1.0
						innerAngle = 10;
						outerAngle = 12;
						coneFadeCoef = 10;
						intensity = 1;
						useFlare = 1;
						dayLight = 1;
						flareSize = .25; //1.00
						class Attenuation
						{
							start = 1.0;
							constant = 0;
							linear = 0;
							quadratic = 0.25;
							hardLimitStart = 50;
							hardLimitEnd = 150;
						};
					};
				};
			};
		};
	};
};

Event Timeline

reyhard created this task.Jun 20 2016, 12:16 PM
Fennek added a subscriber: Fennek.EditedJul 13 2016, 4:29 PM

It's very irritating.

If you define the reflector class in cfgvehicle it follows the animation of the turret without problem.
BUT the commander can't operate the searchlight, only the driver can. And there is no way to operate it independantly of vehicle headlights - which is bad because the searlights require more ressources than just headlights and they are giving away position for a long range.

Please fix this

kotaco added a subscriber: kotaco.Aug 7 2016, 5:54 PM

+1 Confirmed with other modded vehicles that utilize searchlights as well.

razazel claimed this task.Aug 30 2016, 12:47 PM
razazel changed the task status from New to Reviewed.
razazel added a subscriber: razazel.

Hi,

thank you for the feedback.

Could you please give me some example of a vehicle that has a turret searchlight?

Thanks

The Hellcat Helicopter is a vanilla aircraft with search light.

There are modded aircraft that lost this functionality as well from the Medium Utility Helicopters pack http://www.armaholic.com/page.php?id=28841

Also all RHS tanks

Forgot about the Hellcat (facepalm), thanks for the reminder :)

Confirmed that it's still an issue.

rizon02 added a subscriber: rizon02.Dec 6 2016, 1:46 PM
oukej added a subscriber: oukej.Jan 9 2017, 1:47 PM
Conz added a subscriber: Conz.Feb 18 2017, 3:22 PM

So when is it going to be fixed?

GBee added a subscriber: GBee.Aug 25 2017, 11:52 AM
el76 added a subscriber: el76.Sep 6 2017, 8:53 PM
Flying added a subscriber: Flying.Sep 30 2017, 1:49 AM

Please fix this BIS

Authored by reyhard, fixed by reyhard 👌 😄

Wulf added a subscriber: Wulf.Jul 27 2018, 10:12 AM

This should be fixed in the next proper update of the game.

Wulf closed this task as Resolved.Jul 27 2018, 10:15 AM
This comment was removed by Dwarden.