Passengers
Changed in 0.2.0
How much passenger space the type can carry at once.
Specification
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- integer
- When omitted
0
[MYAPC] ; a UnitType registered in [VehicleTypes]Passengers=5PipScale=PassengersThe capacity is hold space, not a head count. Each passenger takes space equal to its Size, which defaults to 1, so with default sizes Passengers=5 holds five passengers. A passenger with a larger Size takes more of the same space.
A transport accepts a passenger only when all of these hold, tested in this order:
- this capacity is above
0; - the passenger is allied with the transport’s owner;
- the passenger is not a vehicle, or the transport sets
IsVehicleTransport=yes; - the passenger’s
Sizeis no larger than the transport’sSizeLimit; - the space already taken plus the passenger’s
Sizeis no more than this capacity; - if the transport is a vehicle, it is not standing on a water or shore cell.
Any capacity above 0 also changes these behaviors:
- Pips. The selection pips show the hold. Each unit of taken space draws one pip, in the passenger’s
Pipcolor for infantry and green for any other passenger.PipScalestill sets how many pips the row has. UnderPipScale=Passengersthat is this capacity, capped at5, or atMaxPipswhen that is set. - Deploying. A vehicle can deploy, because unloading is its deploy action. A vehicle with no capacity, no
DeploysIntoand noIsMobileEMP=yescannot deploy at all. A vehicle with capacity cannot deploy or unload while it is on a bridge, or while its cell or any of the four cells beside it is under a bridge. - Crew. A destroyed vehicle with capacity produces no escaping crew, whatever
Crewed=yessays.CrewEscapecovers that exclusion. - Computer houses. Team scripts treat the type as a transport. A computer house choosing an ion cannon target values a vehicle of this type that the strike would destroy at
AIIonCannonAPCValue, unless it is a harvester or deploys into a construction yard.
See also —
Size, SizeLimit, IsVehicleTransport, PipScale, MaxPips, CrewEscape, Crewed, VisibleLoad, AIIonCannonAPCValue, transportsHistory
- Changed0.2.0In development