Proper transport capacity of encapsulated units

What would you like to see in Freeciv? Do you have a good idea what should be improved or how?
Wahazar
Elite
Posts: 338
Joined: Mon Jul 02, 2018 1:49 pm

Proper transport capacity of encapsulated units

Postby Wahazar » Fri Sep 21, 2018 11:46 am

If there is land unit, which can transport other land units (let say Engineers or Train), you can pack these units into land transporter and then embark this full transporter on a ship.
This is overpowered because not only you have more units than nominal capacity, but also can disembark land transport units and then unload encapsulated units.
The latter one would be balanced if transport capacity take into account all units including encapsulated ones (thus you have for example 2x less assault units but ready to use in same turn).

Unfortunately, transport capacity is checked only for number of boarded units.
I propose to count all units included these nested.
Augmented2 ruleset/modpack for freeciv2.6: viewtopic.php?f=11&t=91047

User avatar
Caedo
Elite
Posts: 493
Joined: Sun Feb 10, 2013 10:21 pm
Location: Stuttgart, Germany

Re: Proper transport capacity of encapsulated units

Postby Caedo » Fri Sep 21, 2018 9:00 pm

So your bus suddenly uses less space on the ferry just because nobody's inside? Seems fishy to me.

I'd instead propose a cargo_size field for unit types, which would have one integer for each entry in the cargo field. Units of a certain unit class that can be transported would use up that many slots of the transport cap. (If omitted, it would default to all 1s.) That way, you could put your intermediate transport units into a separate unit class and have that unit class use up more space on your boat.
Also, this would allow more general things, such as a catapult using up more space than a diplomat.

Wahazar
Elite
Posts: 338
Joined: Mon Jul 02, 2018 1:49 pm

Re: Proper transport capacity of encapsulated units

Postby Wahazar » Fri Sep 21, 2018 11:21 pm

Caedo wrote:So your bus suddenly uses less space on the ferry just because nobody's inside? Seems fishy to me.

Well, empty unit uses less ship tonnage :)

Of course method with class size would be great, it also fits well with my idea of the ship artillery.
Augmented2 ruleset/modpack for freeciv2.6: viewtopic.php?f=11&t=91047

nef
Hardened
Posts: 193
Joined: Mon Jun 25, 2018 5:01 pm

Re: Proper transport capacity of encapsulated units

Postby nef » Mon Sep 24, 2018 3:20 pm

Load factor is long overdue. I would apply it to each unit, but unit class would be a good start.