Posted by: Stewox - Saturday, October 13, 2007 6:30:10 AM
What I need to do to change DAMAGE and WEAPON TYPE caused by off-screen special and normal planes that fall down to enemy base;buldings/units when destroyed. I want to increase that damage dealt by airplane hitting the structure or units , and that the cargo plane don't explode in air , i want it to first crash down and then explode(or only crash down , maybe into the nearby bulding) Also the radius of the damage/crash changed. And also all this for helicopters.
The reason is simple , a whole airplane crashes into one infantry unit and it doesnt kill him. ( i know this was done nicley in contra005 but i am with All Stars now)
So how , where can i do that?
Posted by: CommieDog - Saturday, October 13, 2007 1:35:24 PM
I've never tried this myself, but try modifying VehicleCrashesIntoBuildingWeapon and VehicleCrashesIntoNonBuildingWeapon in Weapon.ini to change the damage caused by falling aircraft. Stopping aircraft from blowing up before they hit the ground can be done by setting the DestructionDelay value in the aircraft's JetSlowDeathBehavior module to an insanely high value, like 99999999.
Posted by: Un_Nem - Sunday, October 14, 2007 12:30:25 AM
maby that works?
Behavior = FlammableUpdate ModuleTag_06
FlameDamageLimit = 20 ;Catch fire if I take this much fire damage...
FlameDamageExpiration = 2000 ;in a span of this long
AflameDuration = 5000 ; If I catch fire, I'll burn for this long...
AflameDamageAmount = 25 ; taking this much damage...
AflameDamageDelay = 500 ; this often.
End
Posted by: Stewox - Sunday, October 14, 2007 10:29:47 AM
Yes it's working , but i add ,projectileobject , and secondary damage to make it more realistic.
Un_nem I don't know what did you meaned with flame.
EDIT: well it isn's working correctly (for now) the china cargo plane and b52(fuel bomb) are being slowly dragged down to the ground , so they are destroyed (but not when falling) , huh i copied VehicleCrashesIntoBuildingWeapon from contra to All stars , i also deleted RadiusAffects: SELF ,(but leaved SUICIDE ALLIES ENEMIES NEUTRALS) but still the planes keep crashing on the ground in my base , maybe they make suicide when they spawn lol.
Posted by: Un_Nem - Sunday, October 14, 2007 10:41:22 AM
I wanted that when the plane burns and finally hits the ground in takes energy away
Posted by: Stewox - Sunday, October 14, 2007 1:04:25 PM
oh that, yea maybe. i will try also flame i get this to work