Jump to content

BaseUnit: Difference between revisions

From ModEnc²
en>DCoder
Correcting
en>Marshall
m Changed 'names of VehicleTypes' to 'VehicleType IDs'
Line 2: Line 2:
|name={{PAGENAME}}
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|files={{Categ|Rules(md).ini}}
|values=In TS: {{Values|strings|names of [[VehicleTypes]]}}<br> in RA2/YR: {{ListOf|VehicleTypes}}
|values=In TS: {{Values|strings|[[VehicleType]] IDs}}<br>In RA2/YR: {{Values|stringlist|[[VehicleType]] IDs}}
|default=blank
|default=blank
|types={{Categ|General}}
|types={{Categ|General}}

Revision as of 16:24, 20 April 2008

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: BaseUnit
File(s): Rules(md).ini
Values: In TS: Strings: Normal text. (Limited to: VehicleType IDs)


In RA2/YR: Comma-separated list of strings. (Limited to: VehicleType IDs)

Default: blank
Applicable to: General


This lists the VehicleType(s) that is considered an MCV: it is capable of deploying into a structure with ConstructionYard=yes set. This is used when the game determines which unit the player will always get when starting a skirmish.

In the absence of a Construction Yard, this unit also counts as "home base" for centering the camera on the player's base using the appropriate keyboard shortcut. This is also important when the "Short Game" game option is set, as the player will not automatically lose when he controls a Base Unit but no structures.

Although the unit specified does not have to be an MCV, or even a VehicleType necessarily, doing otherwise will result in quirky behavior.


In TS and FS

Only one VehicleType should be specified here as the game is hardcoded to share a single MCV unit between playable Sides.


In RA2

A comma-separated list of two VehicleTypes should be used. The first is the Allied MCV and the second is the Soviet's.


In YR

A comma-separated list of three VehicleTypes should be used. In addition to the Allies' and the Soviet's, an MCV for Yuri's Side is parsed.