New / Enhanced Logics

This page describes all the engine features that are either new and introduced by Phobos or significantly extended or expanded.

Buildings

Extended building upgrades logic

Upgrading own and allied Power Plants in CnC: Final War

  • Building upgrades now can be placed on own buildings, on allied buildings and/or on enemy buildings. These three owners can be specified via a new tag, comma-separated. When upgrade is placed on building, it automatically changes it’s owner to match the building’s owner.

  • One upgrade can now be applied to multiple buildings via a new tag, comma-separated.

    • Currently Ares-introduced build limit for building upgrades doesn’t work with this feature. This may change in future.

In rulesmd.ini:

[UPGRADENAME]       ; BuildingType
PowersUp.Owner=Self ; list of owners (Self, Ally and/or Enemy)
PowersUp.Buildings= ; list of BuildingTypes

Warheads

Generate credits on impact

image
TransactMoney used in Rise of the East mod

  • Warheads can now give credits to its owner at impact.

In rulesmd.ini:

[SOMEWARHEAD]   ; Warhead
TransactMoney=0 ; integer - credits added or subtracted

Reveal map for owner on impact

image

SpySat=yes on [NUKE] warhead reveals the map when nuclear missile detonates

  • Warheads can now reveal the entire map on impact.

  • Reveal only applies to the owner of the warhead.

In rulesmd.ini:

[SOMEWARHEAD] ; Warhead
SpySat=no     ; boolean

Shroud map for enemies on impact

  • Warheads can now shroud the entire map on impact.

  • Shroud only applies to enemies of the warhead owner.

In rulesmd.ini:

[SOMEWARHEAD] ; Warhead
BigGap=no     ; boolean