Spare unused Invasion Ships in unsuccessful invasion of a planet

Currently any Invasion ships used in a failed invasion mysteriously vanish, even if only carrying a fraction of soldiers in them, they all go forth into the landing never to return.
This means that if you have a fleet of 50 Invasion Ships, with enough soldiers to populate 10 of them, my expectation is that the game doesn’t use the other 40 ships into the planet, leaving them in orbit and not actually get involved in the delivery of the soldiers.

This would also have the benefit of sparing the player the need to micromanage his surplus 40 IS into a new or adjacent fleet on the enemy planet’s orbit since they won’t be needed, and can be sent to another planet to load on more soldiers after using up all of the soldiers that the ships were carrying.

1 Like

would be ok, if you only loose the number of invasion ships that had to carry the soliders

1 Like

Going to put some time into this, unfortunately it’s not a simple fix.

From a technical perspective, the engine doesn’t consider the context of invasion ships when doing the invasion calculation, to the engine they’re just units like soldiers. I’m going to need to rewrite chunks of invasion to take into account that an IS is primarily just storage, and to appropriately remove them at the end.

Hoping to get this fixed for the beta if I can’t squeeze it in before the final alpha.

1 Like

So this one has been bugging me for a while, a lot of feedback about this, and it’s been a pretty solid issue. Ideally, I need to rewrite invasion to actually fix this properly, but for now in the interests of gameplay and getting it done, I’m breaking all the ‘Engine Rules’ I’ve set forward and put in a VERY hard hack for it, end result is the same though:

image

image

image

The code will round up, so any invasion ships which had soldiers in them will be destroyed, but any which would have been ‘empty’ are excluded from invasion.

2 Likes

Thank you very much for doing this Frosty! :blush:

Now this, I can explain to new users! great job Frosty, also best of luck with the eventual rewrite to remove the 1337 hackzorz.

Closing now, because this is ‘solved’ :stuck_out_tongue: