Jump to content
Sign in to follow this  
Painof Donbass

Custom campfire problem

Recommended Posts

Campfire i've made works perfectly in SP and MP missions.

BUT. When i've added it to my terrain using TB, it didn't work. I use mikero pboproject to pack terrain.

 

Here's config.cpp:

#include "..\CfgEditorCategories.hpp"  
#include "..\CfgEditorSubcategories.hpp"  
class CfgPatches
{
    class drova
    {
        units[] = {};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {"A3_Structures_F"};
    };
};

class CfgVehicleClasses
{
        class ML_shabut
        {
                displayName = "Serega";
        };
};

 class SmallFire;
class CfgVehicles
{
	class House;
	class House_F: House
	{
		class DestructionEffects;
	};
	class Ruins_F;

	class Land_drova: House_F
	{
		displayName = "drova";
		model = \ml_shabut\drova\drova.p3d; 
		author = "Serega Kradun";
		
		editorCategory="ML_shabut_objects";
		editorSubcategory="ML_shabut_objects_warm";
        simulation="fire";
		scope = 2; 
		mapSize = 20.27; 
		vehicleClass = "ML_shabut";

			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";
			};
		};
		class EventHandlers
		{
			init="(_this select 0) inflame true";
		};

	};
};

And there's my Named Property in Geo Lod:

https://imgur.com/4vaTyR0

 

I'd be very thankful for any kind of advice.

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  

×