Stewox
  • Stewox
  • 100% (Exalted)
  • Major Topic Starter
18 years ago
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?
UserPostedImage
Sponsor
CommieDog
18 years ago
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.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
Un_Nem
  • Un_Nem
  • 62.75% (Friendly)
  • Private
18 years ago
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
😣
Stewox
  • Stewox
  • 100% (Exalted)
  • Major Topic Starter
18 years ago
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.
UserPostedImage
Un_Nem
  • Un_Nem
  • 62.75% (Friendly)
  • Private
18 years ago
I wanted that when the plane burns and finally hits the ground in takes energy away
😣
Stewox
  • Stewox
  • 100% (Exalted)
  • Major Topic Starter
18 years ago
oh that, yea maybe. i will try also flame i get this to work
UserPostedImage