ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

NeedsEngineer

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: NeedsEngineer
File(s): Rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: BuildingTypes


Can be set to 'yes' or 'no' and determines whether or not this BuildingType must be captured in order for a player to gain ownership of it. This is only used on the NeutralTechBuildings= in Red Alert 2. Setting this tag to 'yes' also serves as an override to the EVA announcement used when it is captured or lost (the EVA_Tech BuildingCaptured and EVA_TechBuildingLost voices are used instead of the EVA_BuildingCaptured voice).

Note: NeedsEngineer also prevents a neutral structure from auto acquiring and firing upon units - as seen on the Tech Outpost structure.

Additionally, since targeting of engineers by the AI is remarkably bogus, the tag NeedsEngineer=yes will cause engineers to target it when given any generic attack mission. The tag will also prevent the AI from immediately selling the building after an engineer captures it.

Another effect of the tag is to prevent a building from playing its ActiveAnim or WorkingSound until captured and is tied to the logics ProduceCashStartup, ProduceCashAmount, and ProduceCashDelay as per oil derrick logic(If the building has a tag CanBeOccupied=yes Animation from tag ActiveAnim will play only 1 time and then disappear. If the animation is looped The animation will continue to play. Even though it is no longer occupied)

McBurger Kong and NeedsEngineer=yes

Note

Adding NeedsEngineer=yes give to BuildingTypes will make the building unarmed (Even if BuildingType has weapons).