Author Topic: Loading units at a base with two or more transports  (Read 2291 times)

0 Members and 1 Guest are viewing this topic.

Offline Vidsek

Loading units at a base with two or more transports
« on: July 07, 2015, 09:33:27 AM »
    What are the AI's rules for which transport receives the cargo?   I've had all go into one, some into one and some into another, and so on. 
   If I want them to go into a specific transport unit for certain, I usually have to move all the others out of the base till they're loaded.  I suspect that will be necessary at times, but having some clue as to which will or will not be selected beforehand might make it all a bit easier.
   Transports can differ by chassis, morale level, total moves, moves remaining, on hold at the base (or not), base ownership, number of units already loaded, and so on.   Which of these are considered?   (Rather hoping here it's not random..).

   Related question: can this be patched to be more user controlled, or is it within the realm of "need to figure out how the AI works first"?

   Less related question: transports appear to be always be slower (with air units <much> slower) than military units on the same chassis.  This might make some real-world sense, but fast transport exists with land, sea, and air in the real world.  I'll take a wild guess that it's encoded somewhere in the .exe :D, so: could transport speed/moves per turn (relative to other unit types) be made player-adjustable in alphax ?   And how difficult/trivial would that be?

                                       Vidsek, the Disgruntled Longshoreman
All this talk of fungus and worms makes me hungry...

Offline Lord Avalon

Re: Loading units at a base with two or more transports
« Reply #1 on: July 07, 2015, 10:07:02 AM »
WWII: according to Wikipedia high-speed transports were converted destroyers or destroyer escorts used to support amphibious operations. They only carried a company - 200 troops.


Otherwise, transport ships have a broader beam so they can carry more stuff, right? So they're not built on the same hull as military ships (which also tend to have more powerful engines, I would think).

Game: There's a Heavy attribute for transports which is disabled. It adds 50% cargo capacity for a reduction in speed: -1 for foils; don't know about cruisers. So you're already getting the faster transport unit.
Your agonizer, please.

Offline Mart

Re: Loading units at a base with two or more transports
« Reply #2 on: July 07, 2015, 11:51:46 AM »
I think transport "package weapon" is what makes -1 move.
There is always possibility to add some pre-defined units to alphax.txt for the game creation time (one particular moment actually). They are then embedded into save file. They can have adjusted some parameters, but speed is different. However, they can have more than 2 abilities, even those disabled for particular unit type. So transports can have added antigrav struts and when "hardcoded" cargo capacity without transport package, they will be faster even.

Offline Dio

Re: Loading units at a base with two or more transports
« Reply #3 on: July 07, 2015, 03:43:28 PM »
I think transport "package weapon" is what makes -1 move.
There is always possibility to add some pre-defined units to alphax.txt for the game creation time (one particular moment actually). They are then embedded into save file. They can have adjusted some parameters, but speed is different. However, they can have more than 2 abilities, even those disabled for particular unit type. So transports can have added antigrav struts and when "hardcoded" cargo capacity without transport package, they will be faster even.
Indeed you are correct about the -1 Move originating from the transport equipment package. I can quickly grab where the -1 move penalty orginates from.

Offline Dio

Re: Loading units at a base with two or more transports
« Reply #4 on: July 07, 2015, 03:55:54 PM »
I think transport "package weapon" is what makes -1 move.
There is always possibility to add some pre-defined units to alphax.txt for the game creation time (one particular moment actually). They are then embedded into save file. They can have adjusted some parameters, but speed is different. However, they can have more than 2 abilities, even those disabled for particular unit type. So transports can have added antigrav struts and when "hardcoded" cargo capacity without transport package, they will be faster even.
Indeed you are correct about the -1 Move originating from the transport equipment package. I can quickly grab where the -1 move penalty orginates from.
The procedure this penalty comes from starts at address 005C13B0. Essentially the game checks the unit's weapon mode/equipment package and decreases the unit's movement rate by if it has a transport module. The movement rate never decreases below 1.

Offline Yitzi

Re: Loading units at a base with two or more transports
« Reply #5 on: July 07, 2015, 05:34:51 PM »
    What are the AI's rules for which transport receives the cargo?   I've had all go into one, some into one and some into another, and so on. 
   If I want them to go into a specific transport unit for certain, I usually have to move all the others out of the base till they're loaded.  I suspect that will be necessary at times, but having some clue as to which will or will not be selected beforehand might make it all a bit easier.
   Transports can differ by chassis, morale level, total moves, moves remaining, on hold at the base (or not), base ownership, number of units already loaded, and so on.   Which of these are considered?   (Rather hoping here it's not random..).

   Related question: can this be patched to be more user controlled, or is it within the realm of "need to figure out how the AI works first"?

I'd need to figure out how it works before it can be user-controlled; I also doubt that something that can be handled just by moving the units out of the base will be a particularly high priority.

Quote
Less related question: transports appear to be always be slower (with air units <much> slower) than military units on the same chassis.  This might make some real-world sense, but fast transport exists with land, sea, and air in the real world.  I'll take a wild guess that it's encoded somewhere in the .exe :D, so: could transport speed/moves per turn (relative to other unit types) be made player-adjustable in alphax ?   And how difficult/trivial would that be?

Probably medium-low difficulty.

Offline Lord Avalon

Re: Loading units at a base with two or more transports
« Reply #6 on: July 07, 2015, 07:05:47 PM »
I think transport "package weapon" is what makes -1 move. ...

I meant compared to a regular transport, not a basic foil. Heavy foil tranport has a move of 2, iirc.
Your agonizer, please.

Offline Vidsek

Re: Loading units at a base with two or more transports
« Reply #7 on: July 08, 2015, 06:13:26 AM »
   Thank you all for the comments and info.

  The subject of transport speed has been interesting, but mostly, for me, just a symptom of my unmedicated curiosity disorder :D.   I can adjust my perception so that transport speed is "normal", and other units (even seaformers, I think?) are hyped-up from that.

  The matter of transport loading order is what I'm really interested in, but I'm not asking anyone to spend time and effort on researching it.  I was just hoping that there was some existing info I could be directed to.
  Although I have next to no coding education (and regret neglecting it....), I can, at least, keep records, do some experiments, and look for patterns.
  I'll post whatever I find out here.

                                       Vidsek

PS: which special ability grants a unit a larger library to keep the crew from getting bored and plotting mutiny?
 
All this talk of fungus and worms makes me hungry...

Offline Geo

Re: Loading units at a base with two or more transports
« Reply #8 on: July 08, 2015, 12:43:20 PM »
PS: which special ability grants a unit a larger library to keep the crew from getting bored and plotting mutiny?
 

Marine Detachment. No-brainer there. ;cute

 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
103 (32%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

The substructure of the universe regresses infinitely towards smaller and smaller components. Behind atoms we find electrons, and behind electrons, quarks. Each layer unraveled reveals new secrets, but also new mysteries.
~Academician Prokhor Zakharov 'For I Have Tasted the Fruit'

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 45 - 1228KB. (show)
Queries used: 42.

[Show Queries]