NeedsEngineer
| Flag: | NeedsEngineer |
| File(s): | rules(md).ini |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Default: | no |
| Applicable to: | BuildingTypes |
Specify that this building only becomes operational[1] after being captured by Engineer, which is typically used for pre-placed tech buildings on the map.
Notes
Setting NeedsEngineer=yes causes a building, when captured, to not play EVA_BuildingCaptured but instead use EVA_Tech_BuildingCaptured, and when losing the building, it uses EVA_TechBuildingLost.
- Starting from Yuri's Revenge, the program no longer hardcodes a string to control the captured EVA event; instead, it allows specification via CaptureEvaEvent=.
- Starting from Ares 0.9, it allows the use of LostEvaEvent= to specify the EVA event when losing the building.
- Additionally, it allows specifying a CSF label via Message.Capture= and Message.Lost= respectively for each of these situations to send a message in the top-left corner of the screen.
NeedsEngineer=yes also prevents a neutral structure from auto acquiring and firing upon units - as seen on the Tech Outpost structure, such buildings are usually listed in [AI]→NeutralTechBuildings=.
- Additionally, since targeting of engineers by the AI is remarkably bogus, the NeedsEngineer=yes will cause engineers to target it when given any generic attack mission. The flag will also prevent the AI from immediately selling the building after an engineer captures it.
Bugs/Side-Effects/Unexpected Limitations
NeedsEngineer controls whether a tech building is offline until it is captured by an engineer. Until then, it should not play any active animations, yet when a building with NeedsEngineer=yes was damaged into yellow health and switched to the damaged graphics, the animations started to play as if it had been captured. This did not affect the functionality, though.
- Starting from Ares 0.6, the animations will not start to play in this case.
Footnotes
- ↑ 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.
References
NeedsEngineer also applies to SW.Inhibitors introduced by Ares 0.9, refer to Range Limits logic.
See Also
- PowersUnit
- Operator (Ares Only)