jtoppins/dct

document player slot association with an airbase

jtoppins opened this issue · 2 comments

Forgot to document the feature implemented in acdffa9 ("airbase: allow designer to list slots for an airbase").

I've made a patch that makes this unnecessary by finding the closest airbase within a (rather permissive) radius: team-limakilo@6c1eae4

What do you think of this approach?

Edit: it doesn't break on the first result because a FARP could be located within an airbase, and the two could be of different coalitions (ie. blue and neutral), or perhaps the airbase could be damaged but the FARP would still be operational, and helicopters would be able to use it.

And in case the closest airbase isn't the one intended by the creator, they would still have to specify it manually.

The concern I have is if a slot gets associated with the wrong airbase then the slot will be locked. So as you point out they would still have to associate the slot manually, which means this still has to get documented. Also the ambiguity of the above FARP status would likely be confusing to most.

Airbases can by subordinate templates of both sides and depending on which faction owns the base those subordinates should be spawned.