Jump to content
Sign in to follow this  
fn_Quiksilver

Making fire bright again

Recommended Posts

Hi guys,

 

Since 1.58 fire objects have become much less bright.

 

Trying to create a bright fire, using the test_emptyobjectforfirebig vehicle.

 

Are there some particle effects which are required for a brighter fire?

 

my_fire = createVehicle ['test_EmptyObjectForFireBig',(position player),[],0,'NONE'];

Share this post


Link to post
Share on other sites

from structures_F (CfgVehicles)

class Land_Campfire_F: House_F
	{
		mapSize = 2.17;
		author = "$STR_A3_Bohemia_Interactive";
		_generalMacro = "Land_Campfire_F";
		scope = 2;
		scopeCurator = 2;
		displayName = "$STR_MISC_CAMPFIRE";
		model = "\A3\Structures_F\Civ\Camping\Campfire_F.p3d";
		icon = "iconObject_circle";
		vehicleClass = "Tents";
		destrType = "DestructNo";
		simulation = "fire";
		cost = 0;
		keepHorizontalPlacement = 0;
		class Effects: SmallFire
		{
			class Light1 ////////////<<<<<<<<<<<<<<<<<<<<
			{
				simulation = "light";
				type = "SmallFireLight";////////////<<<<<<<<<<<<<<<<<<<<
			};
			class sound
			{
				simulation = "sound";
				type = "Fire_camp";
			};
			class Smoke1
			{
				simulation = "particles";
				type = "SmallFireS";
			};
			class Fire1: Smoke1
			{
				simulation = "particles";
				type = "SmallFireF";
			};
			class Refract1
			{
				simulation = "particles";
				type = "SmallFireFRefract";
			};
		};
	};

from data_f (CfgLights)


	class SmallFireLight
	{
		name = "$STR_A3_CfgLights_SmallFireLight0";
		diffuse[] = {1,0.45,0.15};
		color[] = {1,0.45,0.15};
		ambient[] = {0,0,0,0};
		brightness = 10.0; ////////////////<<<<<<<<<<<<<<<<<<<<
		intensity = "3500*(power interpolate[0.1, 1.0, 0.4, 1.0])";////////////////<<<<<<<<<<<<<<<<<<<<
		blinking = 0;
		drawLight = 0;
		class Attenuation
		{
			start = 1;
			constant = 3;
			linear = 0;
			quadratic = 22;
		};
		position[] = {0,3.5,0};
	};

should get you started. this stuff has been unpacked a while ago. so who knows, maybe it's the old shit you're looking for :lol:

Share this post


Link to post
Share on other sites

thanks

 

wonder if its a bug

 

been getting some interpolation errors due to undefined function 'forcesize'

 

18:11:11 Error in expression <distToWater interpolate [-5.0001,-5,-1,1>
18:11:11   Error position: <distToWater interpolate [-5.0001,-5,-1,1>
18:11:11   Error Undefined variable in expression: disttowater
18:11:11 Error in expression <(distToWater interpolate [-10.0001,-10,-1>
18:11:11   Error position: <distToWater interpolate [-10.0001,-10,-1>
18:11:11   Error Undefined variable in expression: disttowater
 
 
18:02:40 Error in expression <forceSize interpolate [150,150.1,-1,1]>
18:02:40   Error position: <forceSize interpolate [150,150.1,-1,1]>
18:02:40   Error Undefined variable in expression: forcesize

Share this post


Link to post
Share on other sites

as i mentioned. that source has been unpacked a while ago. you'd be better off unpacking those pbos (i provided the names) of your current install. might potentially fix that.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×