Cannot Target Enemy Ship After Killing Entire Crew

Discuss problems related to FTL here. If you are having a problem or experiencing a bug PLEASE READ THE "MUST READ" POST.
Post Reply
JohnWittle
Posts: 2
Joined: Mon Apr 14, 2014 9:11 am

Cannot Target Enemy Ship After Killing Entire Crew

Post by JohnWittle »

This might seem like a small problem. It might even be intentional.

Here's what happened:

Was playing as the Mantis ship. I had a Heal Bomb, and was using it gratuitously. I came across one of the new alien's ships; it had no oxygen. I paused and thought up a plan.

I would teleport my Mantis fighters over. They would quickly defeat the enemy's crew, and then I would Heal Bomb them before they die while waiting the 10 seconds for my teleporter to come back online.

It worked flawlessly. My fighters killed the enemy crew in a couple seconds flat. Then, as they're about to die, I try to launch my (fully charged) heal bomb. No can do. I can launch it at my ship, but not the enemy ship.

My fully leveled fighters die before my teleporter comes off cooldown :(.

I'd be willing to bet that the "entire enemy crew is dead" subroutine triggers the same method that gets triggered when you accept a ship's surrender or bribe, i.e. all your ability to attack the enemy ship gets locked down. This has unfortunate consequences.

While I admire code reuse as much as the next guy, this particular situation needs fixed.
User avatar
5thHorseman
Posts: 1665
Joined: Sat Mar 02, 2013 2:29 am

Re: Cannot Target Enemy Ship After Killing Entire Crew

Post by 5thHorseman »

I assume you were in an asteroid field or some other "dangerous" event? Teleporter cooldown is instant when you're in a "safe" situation.

But yeah, that very specific and uncommon set of events was unfortunate to say the least. For me a Heal Bomb is a down payment on a medbay and nothing more, so I've never used one enough times to see this situation.
My Videos - MY MOD HUB
Simo-V - The Potential - Automated Scout - "Low O2" Icons
The Black Opal - The Asteroid - The Enforcer - The Pyro

"Every silver lining has a cloud..."
JohnWittle
Posts: 2
Joined: Mon Apr 14, 2014 9:11 am

Re: Cannot Target Enemy Ship After Killing Entire Crew

Post by JohnWittle »

Yeah, it was in an asteroid belt.

I agree that this situation is an extreme edge case. I can think of a couple easy ways to solve it, though. Depending on how the code is set up, you could either give every weapon an attribute "offensive" or "not offensive". The "accepting surrender" routine would then lock out all "offensive" weapons but still allow you to use "not offensive" weapons. Alternatively, you could allow the player to still use all of his weapons but the enemy ship becomes invulnerable; this would hurt immersion but would probably be easier to implement.
Merudo
Posts: 40
Joined: Tue Apr 08, 2014 5:01 am

Re: Cannot Target Enemy Ship After Killing Entire Crew

Post by Merudo »

Just make an exception for the Healing Bombs.
User avatar
Matthew
Site Admin
Posts: 966
Joined: Thu Apr 19, 2012 9:31 am

Re: Cannot Target Enemy Ship After Killing Entire Crew

Post by Matthew »

I'll look into it. It was the asteroid environment that really got in the way when combined with the neutral status of the ship. You're right that there needs to be an exception in place.
Matthew Davis, Subset Games Developer - If you're looking for tech support, you'll get help faster emailing directly, contact info here
Post Reply