UFO-Scripts/armour.ufo
From UFO:AI
< UFO-Scripts(Redirected from UFO-Scripts/armor.ufo)
[edit]
Variable types
- protection (absorbs that many percent of damage, if at full strenght)
- damagetype V_INT
- hardness (the higher, the less armour protection points are reduced on each hit)
- damagetype V_INT
Hardness 1 means all damage not inflicted on the body is applied to the armor. Hardness n means one nth of damage that does not pass through armor, harms it. Beginning protection points for each armor is 100, so hardness effectively represents armor thickness, too. All the other entities are described in UFO-Scripts/weapon_*.ufo; for instance the various damage types.
[edit]
Example
item heavy //weights 320
{
name "_Heavy Nano Armor"
image armor/medium
model soldiers/mmedium/body
// image armor/heavy
// model soldiers/mheavy/body
type armor
category 3
shape "0 0 3 4"
center "0 0 -5"
scale 0.7
price 18000
buytype 3
protection
{
normal 50
blast 70
fire 75
shock 35
laser 35
plasma 70
tachyon 28
stun 97
}
hardness
{
normal 18
blast 30
fire 30
shock 30
laser 48
plasma 6
tachyon 100
stun 100
}
}
[edit]

