Page 1 of 1
How to prevent engineer from self destroying?
Posted: Mon Sep 21, 2009 5:08 am
by Rends
I just added some mine hint nodes to my map and i ran into the problem that the Rebel engineer place a detonator pack at the node but it explode immediately. No problem with the units placing regular mines.
Any way to stop the engineer from suicide?
Re: How to prevent engineer from self destroying?
Posted: Mon Sep 21, 2009 8:47 am
by StarkillerMarek
This has been discussed before and I think it has to do with adding something like: "TargetEnemy=1" in weapons odf. Not sure though, this isn't my sort of thing.
Re: How to prevent engineer from self destroying?
Posted: Mon Sep 21, 2009 6:41 pm
by AQT
You're on the right track, Starkiller.
AQT wrote:You can fix the suicide bomber problem by adding this line to the detpack's ODF
somewhere under
[Properties].
from
http://www.gametoast.com/forums/viewtop ... 27&t=20137
Re: How to prevent engineer from self destroying?
Posted: Wed Sep 23, 2009 5:26 pm
by Rends
nice but my ALL side is stock one

Re: How to prevent engineer from self destroying?
Posted: Wed Sep 23, 2009 5:37 pm
by Fiodis
You can't make a seperate side, then, for this one unit? I suppose you could use SetClassProperty, then....
Re: How to prevent engineer from self destroying?
Posted: Wed Sep 23, 2009 6:13 pm
by Sky_216
But that'll mess up mp.
@Rends: you can make a side based on another side -
so load the default alliance side first in your lua, and for your custom side have an engineer based on the stock ALL engineer (same way its based on the all_default_engineer), change the detpack weapon to the modified detpack, and load the "new" engineer after the stock engineer in your lua. You'll end up with a side thats probably a few kbs.