Printable Version of Topic

Click here to view this topic in its original format

SWR Productions Forum _ Generals/Zerohour Modding _ Why dozer don't get caught by demo traps?

Posted by: A34Comet 13 Jan 2019, 23:56

I didn't expect that a question since I didn't realize that except original dozers and workers, other vehicle won't be spared by demo trap even if they have disarm weapon and landmine damage profe.

The dozers' code seems pretty simple and nothing funcy modeltag in there, how did dozer make themself a exception when they approach to disarm a demotrap?

Posted by: ai_beyondcontrol 18 Feb 2019, 2:31

After a few preliminary test I currently believe that the primary factor is that the original worker/dozer unit's clear mine weapon is set in the MINE_CLEARING_DETAIL weapon set and is triggered by a CmdBtn which USES_MINE_CLEARING_WEAPONSET. Just having mine-proof armor and/or having a disarm weapon in a unit's normal weapon set do not have the same effect. Actually even the units with a mine-clearing weapon set and a clear-mine CmdBtn are spared by the land mines only when they are MANUALLY ordered to disarm mines in the region containing landmine. Moving them into a mine field without this results in normal explosion of the mine and cause damage to the mine-clearing unit.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)