OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: DragoFire on 09 Oct 2004, 12:25:50
-
Hi all,
I'm trying to track down the information on the material # and what they relate to.
I know there used to be something about it somewhere, but have been unable to find it anywhere.
DragoFire
-
could you explain a little better, please ::)
like do you want to know like how much armor abrams has?
-
If you mean the materials mentioned in the game config, I suggest you look in the config itself.
Materials mentioned there are:
#SpecularGlass
#Metal
#RifleMetal
These are all defined in the class CfgTextureToMaterial
Planck
-
The material I'm looking for answers to is the ones in class CfgVehicles.
eg.
class HitEngine
{
armor=0.8;
material=60;
name="engine";
passThrough=1;
};
class HitHull
{
armor=1;
material=50; name="hull";
passThrough=1;
};
class HitTurret
{
armor=0.8;
material=51;
name="turet";
passThrough=1;
};
class HitGun
{
armor=0.6;
material=52;
name="gun";
passThrough=1;
};
class HitLTrack
{
armor=0.6;
material=53;
name="pasL";
passThrough=1;
};
class HitRTrack
{
armor=0.6;
material=54;
name="pasP";
passThrough=1;
};
These are the types of material I'm trying to findout about not the material textures. And there's a lot more material types than the ones above.
So I hope someone still has the referances for these.
DragoFire
-
o, thats what you mean
those are used so if you want your vehicle to turn brown after getting hit by enemy rockets and stuff. in oxygen you select the left track and press shift+e and in the materail box you put 53
go here for more info.....
http://fab.ofp.free.fr/Tutorials/Damaged_Tank.htm (http://fab.ofp.free.fr/Tutorials/Damaged_Tank.htm)