OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: DragoFire on 09 Oct 2004, 12:25:50

Title: question on material # in armor
Post 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
Title: Re:question on material # in armor
Post by: oyman on 09 Oct 2004, 16:29:52
could you explain a little better, please ::)

like do you want to know like how much armor abrams has?
Title: Re:question on material # in armor
Post by: Planck on 09 Oct 2004, 16:54:46
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
Title: Re:question on material # in armor
Post by: DragoFire on 09 Oct 2004, 22:25:05
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
Title: Re:question on material # in armor
Post by: oyman on 09 Oct 2004, 23:52:57
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)