When a new wave is created, fleet should automatically move toward the closest building they find, whatever is their distance, and attack the fleet or the outpost vessels if there is any in reach #113

Closed
opened 2026-08-23 12:36:12 +00:00 by metaheavens · 1 comment
Owner
No description provided.
Author
Owner

Done in 1a2a27b.

Wave enemies now ignore the detection radius their components otherwise respect and close on the nearest building from wherever they arrived.

The flag is per INSTANCE, not per definition: the same chaser is a wave when the director launches it and a garrison when a map author places it, and a planet garrison that chased you across the system would be a very different thing from what the editor is used to place. Both halves are pinned - a wave chaser 6000px out closed on a crafter, an identically built one nobody sent held station.

What it fights on the way was already right: a vessel inside 520px outranks a building further off, and the targeting searches the whole player_ships group, so the fleet and an outpost's garrison both count.

Done in 1a2a27b. Wave enemies now ignore the detection radius their components otherwise respect and close on the nearest building from wherever they arrived. The flag is per INSTANCE, not per definition: the same chaser is a wave when the director launches it and a garrison when a map author places it, and a planet garrison that chased you across the system would be a very different thing from what the editor is used to place. Both halves are pinned - a wave chaser 6000px out closed on a crafter, an identically built one nobody sent held station. What it fights on the way was already right: a vessel inside 520px outranks a building further off, and the targeting searches the whole player_ships group, so the fleet and an outpost's garrison both count.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
metaheavens/spaceship#113
No description provided.