r/starlancer • • Oct 13 '26

Small mod: "Target nearest enemy" that stops falling in love with capital ships (OpenReliant)

Typical mission: a handful of enemy fighters to deal with, and an enemy carrier parked somewhere in the area. You hit target nearest enemy and, more often than you'd think, you're actually closer to the carrier than to any of the fighters. So the game locks the carrier. Which is a lovely target if you fancy chipping away at it with your guns for the next ten minutes, but probably not the thing you should be targeting right now.

So I made a mod called Skip Capital Ships. It does what it says on the tin: the key "Target nearest enemy" now goes for the nearest hostile fighter, torpedo, mine, whatever is small and wants you dead, and only settles for a capital ship if there's genuinely nothing else around. Same key, same range as the stock one, so it just feels like the game finally got the memo.

It's two Luau scripts, nothing fancy.

Install: it's available in the GET MODS screen in game, or you can grab it from the mods section of the OpenReliant website and drop the folder in StarLancer/mods.

Link: https://openreliant.github.io/openreliant-mods/mods/skip-capital-ships/

Works on 0.13. If it does something weird, tell me what happened.

8 Upvotes

3 comments sorted by

5

u/Skadooshes Oct 13 '26

Buddy this used to drive me crazy as a child. Especially on the mission against the Black Guard capital ship

5

u/zabka14 Oct 13 '26 edited Oct 13 '26

It drove me crazy yesterday during mission 8 (when the Krasnaya attacks the Reliant), so I just closed the game and started looking into this lol

3

u/zabka14 Oct 14 '26

Foud a small bug in the mod, it's filtering targets based on their class (filtering out capital ships) but it seems some big ships are classified as "support" and not "capital" (The Berijev, Krasny, and a few others). However, Kurgens, Antonovs etc are also support ship, so I can't just outright ignore them. I've found a workaround based on the ship's size rather than its class. I'll update the mod soon