It'd be nice to be able to say have .ufo of materials with rules for sounds and armor. Then we can have more realistic destructibles and define new types without having to put it in the hardcode.
material 6 //MATERIAL_ALIEN_MACHINERY
{
sounds {
neutral {
hurtsound "aliens/bloodspider/hurt1"
hurtsound "aliens/bloodspider/hurt2"
hurtsound "aliens/bloodspider/hurt3"
deathsound "aliens/bloodspider/die1"
deathsound "aliens/bloodspider/die2"
}
}
resistance {
normal_spray 16
normal_light 40
normal_medium 20
normal_heavy 5
normal_steelblade 5
normal_monomolecularblade 0
normal_needle 3
blast 30
fire_light -10
fire_medium -20
fire_heavy -30
fire_flamer -1
incendiary 0
shock 10
laser_light 30
laser_medium 20
laser_heavy 10
plasma_light -10
plasma_medium -20
plasma_heavy -30
plasma_pierce 0
particlebeam_light 10
particlebeam_medium 20
particlebeam_heavy 20
stun_electro -20
stun_gas 30
}
}