View Single Post
Old 09-13-2007, 10:54 PM   #6 (permalink)
CommieDog
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 370
Default

You need to give your persistent object an ArmorSet that includes an Armor that has Armor = DEFAULT 0% set so it will take no damage from most weapons and also has Armor = HACK 100% (I'm using HACK because it is unused in Generals and ZH) set so that it will take damage from your tank's death weapon. Of course, you'll need to set Armor = HACK 0% on every other Armor in Armor.ini so that the weapon won't damage everything on the map.

As for having objects fire weapons when they die, look at the Bonb Truck code for an example.
CommieDog is offline   Reply With Quote