Skip to content

make psychicdetectionradius flag affect infantry and vehicles not just structures

Drogan edited this page Jan 22, 2012 · 2 revisions

Make PsychicDetectionRadius= flag affect infantry and vehicles, not just structures.

This specification was automatically generated from a feature request imported into Ares's LaunchPad bugtracker. If you are interested in fleshing out this feature, please update this page.

Original Request

I've been trying to find a way to allow a unit to detect enemies approaching towards its position using the Yuri clone(s) as the lab rat. The result: nothing happens.

It turns out that the PsychicDetectionRadius= flag only works on structures. For flexibility and for my upcoming mod, it is essential that this flag should affect not only buildings, but infantry and vehicles as well.

ADDITIONAL INFORMATION

If this is impossible, then the worst-case scenario would be to use the deployinto flag.

Specification details

Goals

  • Get the PsychicDetectionRadius= flag to work with other TechnoTypes than BuildingTypes.
  • Infantries and Units would then be able to detect anything nearby.

Suggestions / Notes

  • Units should be able to delete the detection ring before moving and create a new one after moving.
  • Leaving the detection ring alone when moving may cause problems, especially similar problems with implementing mobile gap generators.
  • Airfield-bound Aircraft would obviously not work with this flag.

See also

Clone this wiki locally