forked from electronicarts/CnC_Generals_Zero_Hour
-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Labels
ChinaAffects China factionAffects China factionDesignIs a matter of game designIs a matter of game designGenRelates to GeneralsRelates to GeneralsNoRetailThis fix or change is not applicable with Retail game compatibilityThis fix or change is not applicable with Retail game compatibilityUSAAffects USA factionAffects USA factionZHRelates to Zero HourRelates to Zero Hour
Description
Current behavior for:
- GLA Worker: does not get harmed when walking across a minefield, and the mines do not detonate.
- USA / China dozer: does not get damaged when driving across a minefield, but the mines do detonate.
I think we should make the behavior consistent for all three units, because it seems currently more efficient to use the dozers to drive across a minefield instead of clearing it.
There's a specific check for it here:
GeneralsGameCode/GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Behavior/MinefieldBehavior.cpp
Lines 364 to 369 in b878990
| if (!d->m_workersDetonate) | |
| { | |
| // infantry+dozer=worker. | |
| if (other->isKindOf(KINDOF_INFANTRY) && other->isKindOf(KINDOF_DOZER)) | |
| return; | |
| } |
Metadata
Metadata
Assignees
Labels
ChinaAffects China factionAffects China factionDesignIs a matter of game designIs a matter of game designGenRelates to GeneralsRelates to GeneralsNoRetailThis fix or change is not applicable with Retail game compatibilityThis fix or change is not applicable with Retail game compatibilityUSAAffects USA factionAffects USA factionZHRelates to Zero HourRelates to Zero Hour