ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Buildable"

From ModEnc
Jump to: navigation, search
 
(Un-Deezire'd)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Can be set to 'yes' or 'no' and determines whether or not structures can be placed on this land type when deploying.<br />
+
|values={{Values|boolean}}
<br />
+
|default=false
The following list represents a complete and conclusive list of tags which can be attached to all objects in Red Alert 2 from the InfantryTypes, VehicleTypes, AircraftTypes, and BuildingTypes lists. It is in alphabetical order rather than by object type as many of them can be used on more than one type.<br />
+
|files={{Ini|rules}}
<br />
+
|types={{Categ|LandTypes}}
The [InfantryTypes], [VehicleTypes], [AircraftTypes] and [BuildingTypes] lists all take the same format. They comprise of a list, numbered starting at '1', of all the relevant objects in the game which fall into those categories regardless of whether they or not they are available for players to build. For each entry in the list, the object must be defined in the RULES file with its own section whose name corresponds to the list entry. Each object should then have its own section in ART with the same name, or alternatively a different name in which case use of the Image= tag should be employed on that object.<br />
+
|ts=yes
<br />
+
|fs=yes
NOTE: there appears to be an object heap maximum of 102 on the VehicleTypes list which causes some problems when it is parsed if you exceed this number of objects. The computer will start to renumber buildable objects from '0' when it hits 103, which results in the computer thinking that the last unit is the only one available to it, thus it gets flagged for auto creation. To get around this, you can simply renumber and reorder the list so that all buildable units come first, then placeholder units then civilian units last. The buildable units will then be correctly parsed.<br />
+
|hp=yes
<br />
+
|ra2=yes
TIP: there is no need to include a statement if you only intend to set it to its default value - simply omitting the statement altogether on an object's entry means that the default value of the relevant tag is assumed if that statement is applicable to that particular object.
+
|yr=yes
 +
|ares=yes
 +
}}
 +
 
 +
This flag controls whether or not [[BuildingTypes|buildings]] can be placed on [[TMP#Tiles|tiles]] of this [[LandTypes|LandType]]. This includes placing buildings via a Construction Yard, or by deploying from a vehicle.

Latest revision as of 00:18, 30 August 2019

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: Buildable
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: false
Applicable to: LandTypes


This flag controls whether or not buildings can be placed on tiles of this LandType. This includes placing buildings via a Construction Yard, or by deploying from a vehicle.