View Single Post
Old 02-20-2003, 06:39 AM   #2 (permalink)
Phoib
Senior Member
 
Join Date: Dec 2002
Posts: 1,031
Send a message via ICQ to Phoib Send a message via MSN to Phoib
Default Armor.ini

armor.ini
This file states the armors, and the verses of the warheads. Unless I'm mistaken, there seems to be a fixed number of damageTypes, being:
Quote:
  • EXPLOSION
    CRUSH
    ARMOR_PIERCING
    SMALL_ARMS
    GATTLING
    RADIATION
    FLAME
    LASER
    SNIPER
    POISON
    HEALING
    UNRESISTABLE
    WATER
    DEPLOY
    SURRENDER
    HACK
    KILL_PILOT
    PENALTY
    FALLING
    MELEE
    DISARM
    HAZARD_CLEANUP
    INFANTRY_MISSILE
    AURORA_BOMB
    LAND_MINE
    JET_MISSILES
    STEALTHJET_MISSILES
    MOLOTOV_COCKTAIL
    COMANCHE_VULCAN
    PARTICLE_BEAM
    KILL
I'm using HumanArmour as an example, it's just the easiest example:
Quote:
Armor HumanArmor
Armor = CRUSH 200% ;humans are easily crushed ["I'm crushing your head"]
Armor = ARMOR_PIERCING 10% ;humans don't get hit by tank rounds.
Armor = INFANTRY_MISSILE 10%
Armor = FLAME 150% ;humans don't like fire
Armor = PARTICLE_BEAM 150% ;humans don't fare well against orbital beams...
Armor = SNIPER 200%
Armor = LASER 50% ;LASERs are anti-personel and anti-projectile only (for point defense laser)
Armor = HAZARD_CLEANUP 0% ;Not harmed by cleaning weapons
Armor = KILL_PILOT 0% ;Jarmen Kell uses against vehicles only.
Armor = SURRENDER 100% ;Capture type weapons are effective only against infantry.
End
You start by the Armor tag, followed by the name of the armor. (To be used in FactionUnit.ini, FactionBuilding.ini and other unit/building related objects).
Then, the verses.
Armor = followed by one of the warhead types, and a percentual number. Please note that the default is 100 %, so it's useless to type that into it.
If you have defined all the possible warheads, and skipped the defaults, you should close it with End.

Voila, another armor type.
Phoib is offline   Reply With Quote