Weapons Questions
Posted: Wed Jan 24, 2007 6:48 pm
I am now working on modding the weapons of my troops in my map, but there are a few issues that I'm not sure how to address:
1. Is it possible to get a gun to dissolve enemies like the incinerator? Like, I want to take the MagnaGuard's Bulldog RLR and have enemies dissolve when the bullets hit them (instead of falling over). How would I go about doing this? Here's my cis_weap_inf_bulldog_ord.odf:
2. I am trying to make a self-destruct weapon, but I'm not sure where to start. I have two ideas of how I could get it to work:
-It could be a gun that, when fired, makes a large explosion centered on the character and then immediately overheats (and stays that way). Without having friendly fire on, it wouldn't end up killing the character, but it could only be used once per spawn.
-More ideally, it would be triggered as soon as the character dies. Again, there is an explosion centered on the character upon its death.
I'm really at a loss for what else to try. These two problems have been plaguing me for awhile and I can't seem to figure them out.
Thanks!
1. Is it possible to get a gun to dissolve enemies like the incinerator? Like, I want to take the MagnaGuard's Bulldog RLR and have enemies dissolve when the bullets hit them (instead of falling over). How would I go about doing this? Here's my cis_weap_inf_bulldog_ord.odf:
Code: Select all
[OrdnanceClass]
ClassParent = "com_weap_inf_bulldog_ord"
[Properties]
GeometryName = "com_weap_missile"
TrailEffect = "com_sfx_exhaust_xwing"
LightColor = "250 18 220 150"
LightRadius = "4.0"
ExplosionName = "cis_weap_inf_bulldog_exp"
Explosion = "all_weap_inf_incinerator_exp"
OrdnanceSound = "cis_weap_inf_bulldog_ordnance"
-It could be a gun that, when fired, makes a large explosion centered on the character and then immediately overheats (and stays that way). Without having friendly fire on, it wouldn't end up killing the character, but it could only be used once per spawn.
-More ideally, it would be triggered as soon as the character dies. Again, there is an explosion centered on the character upon its death.
I'm really at a loss for what else to try. These two problems have been plaguing me for awhile and I can't seem to figure them out.
Thanks!