Home   Help Search Login Register  

Author Topic: tank armour  (Read 1779 times)

0 Members and 1 Guest are viewing this topic.

Offline privateknez

  • Members
  • *
tank armour
« on: 18 Feb 2011, 13:47:20 »
can anyone please explain the difference between the armour in the class hithull{} and the armorHull below?

                armor=300;
      armorStructural=2;
      class HitHull     {armor=1.5;material=0;name="hull";passThrough=0;}; - THIS
      class HitEngine   {armor=0.3;material=0;name="engine";passThrough=0;};
      class HitTurret   {armor=1.0;material=0;name="turet";passThrough=0;};
      class HitGun   {armor=1.5;material=0;name="gun";passThrough=0;};
      class HitLTrack{armor=0.5;material=0;name="pasL";passThrough=0;};
      class HitRTrack{armor=0.5;material=0;name="pasP";passThrough=0;};
      armorHull=1.5; - AND THIS
      armorTurret=0.8;
      armorGun=1.5;
      armorEngine=0.35;
      armorLights=0.4;
      armorTracks=0.4;

Walter_E_Kurtz

  • Guest
Re: tank armour
« Reply #1 on: 24 Feb 2011, 00:12:00 »
The class HitHull line is used to make parts of tank-like vehicles darken when damaged. (See Fab's Tank Damage Texture tutorial). I doubt the armour value here has any use.

armorHull is the factor by which armor should be multiplied to find the number of hit-points that section has.
   Armor=300;   *   armorHull=1.5;   ===>   Hull has 450 hit-points