Page 1 of 1
Modding question : Transportable units
Posted: 11 Feb 2007, 02:03
by Yatta
I couldnt find in the wiki or forum how to set an unit to be transportable, and if it is possible to set transporters to be able to load only specific unit / unit classes.
Anyone can help me with that ?
Posted: 11 Feb 2007, 02:05
by smoth
It is controlled by unit footprint etc. We cannot do it based on class.
Posted: 11 Feb 2007, 02:18
by FLOZi
smoth wrote:It is controlled by unit footprint etc. We cannot do it based on class.
You can do it via unit height, though. And team.
Posted: 11 Feb 2007, 04:11
by smoth
unless your units have similar height... which is the case in Gundam and EE.
Posted: 11 Feb 2007, 04:47
by FLOZi
units of the same height would be of the same 'class'.

this method is used for S44's multi-purpose trucks.
Posted: 11 Feb 2007, 06:38
by smoth
goufh, goufb and gouf are not all the same class. but they use the same base mech. that is one example. I am sure there are others. you also have to go through all of the caliper stuff.
Posted: 11 Feb 2007, 13:12
by FLOZi
smoth wrote:goufh, goufb and gouf are not all the same class. but they use the same base mech. that is one example. I am sure there are others. you also have to go through all of the caliper stuff.
Not if using s3os.
Posted: 11 Feb 2007, 19:04
by Yatta
well sorry it is not very clear to me o_o
So if I want to make a factory transportable, I have to change its footprint and height ?
I think I see how to change footprint, but how do you control height ? Is that 'real' model height ? o_o
Posted: 12 Feb 2007, 04:37
by Shadowsage
Please, allow my limited knowlege to be of use.
All units have a foot print, which is a #by a #. Now, transports basically have a limit to the footprint they can handle.
The bigger the transport, usually it can hold bigger things.
Now, if i remember, there may be a way to set the transport to accept up to a certain footprint.
thanks for your time.
Posted: 12 Feb 2007, 05:13
by j5mello
Yatta if you looking to setup ur transports in the manner of Transport x can hold:
0 of super unit z
1 of heavy unit a
3 of meduim unit b
6 of light unit c
ur best bet is to use the mass tags, mass = n and transportedmass = n along with the cantbetransported tag = 0/1.
This is done like so:
-untransportable units get the cantbetransported tag = 1
-Figure out the maximum amount of light units you want moved
--multiply the number of units by the mass u want for them (a muliple of 10 thats a little over the metal cost should do it) = max mass (n)
--set n as the number in the TransportMass tag for your transports
-divide n by the number of medium units u want moved and set that as their mass
--repeat for any units u want to have a limited amout of
Code: Select all
Example units:
Transport
lightatk (mass = 200)
medsup
heavyatk
Tranport must carry 6 lightatk, 3 medsup, 1 heavyatk.
transportmass = 6*200 (1200)
medup: mass = 1200/3 (400)
heavyatk: mass = 1200
NOTE: this isn't actually code it just help keep teh example seperate
Posted: 12 Feb 2007, 09:28
by yuritch
Yatta wrote:...So if I want to make a factory transportable, I have to change its footprint and height ?...
You cannot make a building transportable by using footprint size, mass and any other FBI tags. Building can only be transported using special scripting tricks (I seem to remember there being some examples released, look for "My factories have grown legs" topic, it was quite a time ago).