OpenXcom Forum

OpenXcom => Suggestions => Topic started by: kharille on June 07, 2014, 07:36:23 am

Title: Making tanks come out the transport last?
Post by: kharille on June 07, 2014, 07:36:23 am
Or some variation.  Can we somehow modify that ordering so that tanks have a presence?  Sometimes I figure its important to have a human chuck out a smoke grenade before you roll out the tank.  Can this be easily implemented?
Title: Re: Making tanks come out the transport last?
Post by: CoolKid on June 07, 2014, 09:26:13 am
Good Idea. But it might be complicated. Because the formation will be f***ed up if the soldier in front of tanks are odd number and it will be no room for last soldier. For "skyranger" here's the examples:

S = Soldiers
T = Tanks
-- = Ramp

If number of soldier in front of tanks are "even" it would be alright

List of soldiers:
S1
S2
Tank1
S3 ~ S10

S S S S T T S --
S S S S T T S --

etc.

What happen if number of soldier in front of tanks are "odd"?

List of soldiers:
S1
S2
S3
Tank1
S4 ~ S9

S S S T T S S --
S S S T T    S --

As u can see 1 soldier can't fit.

So the only solution is the tanks must move 2 spaces up and down in the list order.

And for "avenger" it would be much more complicated. Unless we have feature like xenonauts.
Title: Re: Making tanks come out the transport last?
Post by: AMX on June 07, 2014, 01:44:00 pm
That scenario could also be addressed by fiddling with the spawn routine a bit - just have it put the leftover soldier in the hole ahead of the tank.

The real problem is if a tank doesn't fit - say you have 3 soldiers - Tank1 - all other soldiers - Tank2
To fit Tank2, you would have to bump an already-placed soldier out of the way.
Title: Re: Making tanks come out the transport last?
Post by: CoolKid on June 07, 2014, 02:51:20 pm
The real problem is if a tank doesn't fit - say you have 3 soldiers - Tank1 - all other soldiers - Tank2
To fit Tank2, you would have to bump an already-placed soldier out of the way.

Yes, the 2nd tank would make another hole that make the ordering much more complicated. Not to mention "AVENGER". Not sure how that works. :-\
Title: Re: Making tanks come out the transport last?
Post by: moriarty on June 07, 2014, 04:09:44 pm
perhaps it would be as easy as switching between "tanks front" and "tanks back"? for the skyranger, that should be simple enough.

for the avenger, it simply means that the designated tank slots are filled from the back to the front instead of from the front to the back.