Hi, I was wondering if it was possible to make a weapon using Jarmen's Kill_Pilot code that would take more than one shot to disable the vehicle.
Does anybody know if it is possible or is it hardcoded?
I think it's hardcoded you are either killed ( = 1 ) or you are not ( = 0 ). Try to set the damage value of KILL_PILOT in the Armor.ini for vehicles to 1%. Your pilot is killed nevertheless.
You could "simulate" that effect by reducing unit accuracy and giving it a damage radius. The values would need to be tweaked, but you could give it roughly 1/2 shots hit.
Not exactly what you want, nor a perfect solution, but its closer.
You could also try using the historical weapon code to fire a KILL_PILOT weapon in the same manner that the MiG generates a firestorm only when 8 missiles hit an area in a certain time.
Hmmm, 2 very interesting ways of doing it. I've already tweaked around with the Armor.ini file and no matter what it keeps killing the pilot in a single shot. I'll try the Mig code and post a reply if I get it going. Thanks very much guys.