Look at the
commented configsIt will look something like this:
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
#define private 0
#define protected 1
#define public 2
class CfgPatches
{
class nameofPBOwhichyourmodelisin
{
units[] = {YourCfgVehiclesclassname};
requiredVersion = 1.46
};
};
class CfgModels
{
class Default {};
class modelnamewithouttheP3Dextension : Default
{
sections[] = {};
sectionsInherit="";
};
};
class CfgVehicles
{
class All {};
class Static: All {};
class Building: Static {};
class NonStrategic : Building {};
class Fire: NonStrategic {};
class YourCfgVehiclesclassname: Fire
{
scope = public;
simulation="fire";
sound = "Fire";
vehicleClass="Objects";
icon="Unknown_object";
model = "\PBOname\modelname";
displayName="SomeName";
mapSize = 1.2;
cost=0;
armor=20;
class Smoke : FlameSpectrum
{
interval = 0.01;
cloudletDuration = 0.9;
cloudletAnimPeriod = 1.0;
cloudletSize = 0.1;
cloudletAlpha = 0.8;
cloudletGrowUp = 0.4;
cloudletFadeIn = 0.0;
cloudletFadeOut = 5.0;
cloudletAccY = -0.1;
cloudletMinYSpeed = 0.3;
cloudletMaxYSpeed = 1.5;
cloudletShape = "cl_basic";
cloudletColor[] = {1, 1, 1, 0};
initT = 1000;
deltaT = -500;
class Table
{
class T1 {maxT = 0; color[] = {0.8, 0.8, 0.8, 1};}
class T2 {maxT = 900; color[] = {0.3, 0.3, 0.3, 1};}
class T3 {maxT = 1000; color[] = {1, 0.5, 0, 0.5};}
};
initT = 2200;
deltaT = -4000;
density = 0.5;
size = 0.1;
initYSpeed = 1.7;
timeToLive = 1e20;
in = 0.0;
out = 0.0;
};
class Light
{
color[] = {1.0, 0.5, 0.0, 1.0};
ambient[] = {0.3, 0.15, 0.0, 1.0};
brightness = 0.08;
shape = "koulesvetlo";
size = 0.3;
position = "ohniste";
};
};
};
I am pretty sure this needs a CfgPatches section, I will add it when I remember how to do it
There also might need to be something entered for CfgModels SectionsInherit.
-Pilot
EDIT:
Ok, CfgPatches added. Simply replace the "class YourFire" with the name of your fire. Make sure the name of the class is also the name of the pbo. For example, if you chose "MarcusFire" as the name, you would name the pbo file MarcusFire.pbo and you would use class MarcusFire.
EDIT EDIT:
Btw, this config isn't tested and is not guarenteed to work. You will most likely have some problem with it as I probably forgot something.