UFO:Alien Invasion
Technical support => Feature Requests => Topic started by: Anarch Cassius on December 19, 2012, 04:40:14 am
-
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
}
}
-
What do you mean with "rules for sounds..."?
-
About like I showed there... just the ability to define hurt of death sounds. Technically speaking I just want data, not rules per se :)
-
Well you can define the hurt and death sounds in the team_*.ufos
actorsounds {
neutral {
hurtsound "aliens/taman/hurt1"
hurtsound "aliens/taman/hurt2"
hurtsound "aliens/taman/hurt3"
deathsound "aliens/taman/die1"
deathsound "aliens/taman/die2"
}
}
-
I suppose that he want to define custom sounds and armour values for a destructible objects on map and not for the actors.
This may be interesting idea to play with.
-
Precisely. We can already set a number that affects sound but I'd like to be able to add new ones and control armor too.