Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Neviothr

Increasing flashlight brightness?

Recommended Posts

Is there a way to do this? If so, how?

 

Thanks.

Share this post


Link to post
Share on other sites

Do you mean for the default flashlights, or for new flashlights you're adding to the game?

 

If its the former its a slightly more complicated process involving replacement configs, but the latter is fairly easy.

 

The important coding is part of the ItemInfo for the flashlight object:

		class ItemInfo: InventoryFlashLightItem_Base_F
		{
			mass = 5.72; // weight of the object
			class FlashLight
			{
				color[] = {7000,7500,10000}; // colour of the light
				ambient[] = {6,9,9}; // I can't remember
				intensity = 2.5; // brightness intensity
				size = 1;
				innerAngle = 20;
				outerAngle = 80;
				coneFadeCoef = 10;
				position = "flash dir";
				direction = "flash";
				useFlare = 1;
				flareSize = 1.5;
				flareMaxDistance = "600.0f";
				dayLight = 1;
				class Attenuation
				{
					start = 0.5;
					constant = 0;
					linear = 0;
					quadratic = 1;
					hardLimitStart = 200;
					hardLimitEnd = 300;
				};
				scale[] = {0};
			};
  • Like 1

Share this post


Link to post
Share on other sites

Also keep in mind the above values are already edited from default and ARE brighter by comparison.

  • Like 2

Share this post


Link to post
Share on other sites

Also keep in mind the above values are already edited from default and ARE brighter by comparison.

 

Alright. Thank you very much!

Share this post


Link to post
Share on other sites

How would I do this for the search light on the C_Heli_Light_01_civil_F or the new BTT Ceasar?

 

Thanks

Share this post


Link to post
Share on other sites

exactly the same way. look for class Reflectors in the heli config. Same content.

Share this post


Link to post
Share on other sites

For a good example of brighter flashlights check out the Surefire ones in Robert Hammers accessory pack

  • Like 1

Share this post


Link to post
Share on other sites

For a good example of brighter flashlights check out the Surefire ones in Robert Hammers accessory pack

That's where the values I posted came from as I knew he'd already brightened them :). I hope he doesn't mind, but I'm fairly sure he's posted about this topic in his own release thread.

  • Like 1

Share this post


Link to post
Share on other sites

Once I find the relfectors config, how do I implement it into the game, so I can change the values to get the affect i want? It would need to affect all spawned aircraft int the game.

 

Thanks for the help.

exactly the same way. look for class Reflectors in the heli config. Same content.

Share this post


Link to post
Share on other sites

×