aliens

Author Topic: Making tanks come out the transport last?  (Read 3375 times)

Offline kharille

  • Colonel
  • ****
  • Posts: 370
    • View Profile
Making tanks come out the transport last?
« 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?

Offline CoolKid

  • Captain
  • ***
  • Posts: 89
    • View Profile
Re: Making tanks come out the transport last?
« Reply #1 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.
« Last Edit: June 07, 2014, 09:37:51 am by CoolKid »

Offline AMX

  • Sergeant
  • **
  • Posts: 35
    • View Profile
Re: Making tanks come out the transport last?
« Reply #2 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.

Offline CoolKid

  • Captain
  • ***
  • Posts: 89
    • View Profile
Re: Making tanks come out the transport last?
« Reply #3 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. :-\

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: Making tanks come out the transport last?
« Reply #4 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.