Transportmaxunits has no effect

Transportmaxunits has no effect

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Transportmaxunits has no effect

Post by Caydr »

The transportmaxunits=x; tag has no effect that I can see. I've got my heavy air transports with large capacities so they can carry large units, but a transportmaxunits of 1 so that they'll only pick up one at the most. Doesn't work.

Please fix this bug when you have the chance.

Does anyone know a workaround I could use in the meantime?
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post by Gnomre »

"transportcapacity" :P
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

It's not the same. With transportcapacity, the larger the footprint the more "slot" unit takes. It's kinda confusing, because TA 1.0, TA3.1c, and Spring inteprets those tags differently, and because planes and ships don't work the same.

In TA 3.1c, T ships have:
canload=1;
transportsize=3; // <- max footprint side loadable units can be
transportcapacity=20; // <- number of units it can load

In TA 3.1c, T planes have:
TransMaxUnits=1;// <- anyway TA wouldn't work with higher number
canload=1;
transportsize=3;// <- max footprint side loadable units can be
transportcapacity=5;//<- irrelevant

In Spring ground transport, I noticed that:
transportcapacity=20;// <- has to be higher than 0, or else Spring will plainly refuse to execute "attach-unit". A transport with a 20 transport capacity can only load 10 units with 2x2 footprints.

Caydr would like a high transportsize, a high transportcapacity, but a low TransMaxUnits, so his transport can transport very large units, without being able to transport many small units.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

Nag
maestro
Posts: 352
Joined: 08 Jun 2005, 11:10

Post by maestro »

zwzsg wrote:It's not the same. With transportcapacity, the larger the footprint the more "slot" unit takes. It's kinda confusing, because TA 1.0, TA3.1c, and Spring inteprets those tags differently, and because planes and ships don't work the same.

In TA 3.1c, T ships have:
canload=1;
transportsize=3; // <- max footprint side loadable units can be
transportcapacity=20; // <- number of units it can load

In TA 3.1c, T planes have:
TransMaxUnits=1;// <- anyway TA wouldn't work with higher number
canload=1;
transportsize=3;// <- max footprint side loadable units can be
transportcapacity=5;//<- irrelevant

In Spring ground transport, I noticed that:
transportcapacity=20;// <- has to be higher than 0, or else Spring will plainly refuse to execute "attach-unit". A transport with a 20 transport capacity can only load 10 units with 2x2 footprints.

Caydr would like a high transportsize, a high transportcapacity, but a low TransMaxUnits, so his transport can transport very large units, without being able to transport many small units.
wow so it is work that way...
thx Z :-)
finally WD ivan rogov can realistically carry 10 smerch or 40 tank even it still cant realistically carry 300 infantry :)

ummm
digging old stuff again...
1. Had you finally can make mobile unit building other mobile unit on its deck without much crash and micro management ?
2. Is landing path work fine in Spring now ?
3. Coz.. I want make ship that make or repair aircraft/chopper or both :)
Imagine WD frigate can make their own SH-70 or sea lynx.... so finally the deck in my frigate model have use
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

+1 nag
Post Reply

Return to “Engine”