disabling "explosion" damages of landing crafts towards inf?

Ask questions, discuss ideas, get answers
Post Reply
Pigauchiu
Posts: 31
Joined: Fri Mar 30, 2012 1:00 pm

disabling "explosion" damages of landing crafts towards inf?

Post by Pigauchiu »

All knows that infantries will be injured or killed by invisible "explosion" of landing crafts when they are destoryed. I checked lcvp/objects.con and was expecting the line ObjectTemplate.ExplosionDamage x but it doesnt exist. Then I tried adding the following myself

Code: Select all

ObjectTemplate.ExplosionRadius 0
ObjectTemplate.ExplosionDamage 0
but no effect.

seems that infantries arent injured or killed by such explosion, so if anyone knows the related codes, you will be very much appreciated.
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: disabling "explosion" damages of landing crafts towards

Post by Swaffy »

If they are in the PCO, they'll die of course. But in this case I believe you're talking about soldiers next to the PCO and not in it. Try setting "explosionForceMod" to 0.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Pigauchiu
Posts: 31
Joined: Fri Mar 30, 2012 1:00 pm

Re: disabling "explosion" damages of landing crafts towards

Post by Pigauchiu »

Swaffy wrote:If they are in the PCO, they'll die of course. But in this case I believe you're talking about soldiers next to the PCO and not in it. Try setting "explosionForceMod" to 0.
yes , i am talking about the later, not actually inside the pco.

according to this link, ExplosionForceMod is not related to my problem but I still tried. no luck as expected.
Pigauchiu
Posts: 31
Joined: Fri Mar 30, 2012 1:00 pm

Re: disabling "explosion" damages of landing crafts towards

Post by Pigauchiu »

latest test showed that the above codes should be effective. I guess I mistook the testing method previously. :oops:
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: disabling "explosion" damages of landing crafts towards

Post by freddy »

Thanks for letting us know it works.
Post Reply