Manual ranging on AAV7 gunner station doesn't work
Closed, ResolvedPublic

Description

manual ranging on AAV7 turret is not working, most likely related to new rscOptics stuff from tanks dlc

Chairborne triaged this task as Unbreak Now! priority.
Alwarren closed this task as Resolved.Nov 7 2018, 8:59 PM

Surprisingly enough, the reason this doesn't work isn't the overlay stuff. When I added the Tank DLC stuff, I made it inherit from Tank_F directly instead of APC_Wheeled_01_F, and that means it didn't have these lines in the config:

				discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900,2000};
				discreteDistanceInitIndex = 3;

Re-adding fixed the issue