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

Difference between revisions of "Height"

From ModEnc
Jump to: navigation, search
 
m (In Art)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
The height of the map on a scale of 1-5, 1 being small and 5 being very large. You cannot set this in the Random Map Generator - it derives this value itself.
+
|files={{Categ|ini=art}}, {{Categ|ini=rules}}, Maps
 +
|types={{Categ|BuildingTypes}}, {{Categ|SmudgeTypes}}, {{Categ|Header}}, {{Categ|RandomMap}}
 +
|values={{values|unsigned integers}}
 +
|ts=yes
 +
|ts=yes
 +
|fs=yes
 +
|ra2=yes
 +
|yr=yes
 +
}}
 +
 
 +
==In Art==
 +
In {{art}}, this flag is placed on [[BuildingTypes]] art entry and specifies how tall a building is. This influences how high [[JumpJet]]s and [[AircraftTypes]] have to ascend to fly over this building. It also controls how high the health bracket is drawn above the building.
 +
 
 +
==In Rules==
 +
In {{rules}}, this flag is placed on [[SmudgeTypes]], and tells the game the amount of cells occupied by this SmudgeType along the Y axis (in map cell terms, meaning top-right -> bottom-left).
 +
 
 +
NOTE: For some reason, for CASTL05A, St. Louis Stadium A, Height=6.
 +
 
 +
==In Maps==
 +
===[Header]===
 +
In the header of maps, this flag tells the game the length of its preview's Y-axis in pixels, i.e. its height in 2-dimensional image terms.
 +
 
 +
===[RandomMap]===
 +
On saved random maps, {{tt|Height}} also gives the "height" of the map in the sense of its length from north edge to south edge (i.e. diagonally from top-left to bottom-right). This is done on a scale from 1 to 5, with 1 signifying a small map, and 5 signifying a very large one. Presumably, this is done for automatic selection of maps in quick matches or something similar. (iow, so a user can select he would like to play on a "large" map, for example.)<br>
 +
This value cannot be set manually - it is determined automatically by the [[rmg.ini|Random Map Generator]].
 +
 
 +
<!-- DZ said: The height of the map on a scale of 1-5, 1 being small and 5 being very large. You cannot set this in the Random Map Generator - it derives this value itself. -->
 +
 
 +
==See also==
 +
*[[Width]]
 +
*[[Foundation]]

Latest revision as of 07:06, 20 January 2022

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: Height
File(s): art(md).ini, rules(md).ini, Maps
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Applicable to: BuildingTypes, SmudgeTypes, Header, RandomMap


In Art

In Art(md).ini, this flag is placed on BuildingTypes art entry and specifies how tall a building is. This influences how high JumpJets and AircraftTypes have to ascend to fly over this building. It also controls how high the health bracket is drawn above the building.

In Rules

In Rules(md).ini, this flag is placed on SmudgeTypes, and tells the game the amount of cells occupied by this SmudgeType along the Y axis (in map cell terms, meaning top-right -> bottom-left).

NOTE: For some reason, for CASTL05A, St. Louis Stadium A, Height=6.

In Maps

[Header]

In the header of maps, this flag tells the game the length of its preview's Y-axis in pixels, i.e. its height in 2-dimensional image terms.

[RandomMap]

On saved random maps, Height also gives the "height" of the map in the sense of its length from north edge to south edge (i.e. diagonally from top-left to bottom-right). This is done on a scale from 1 to 5, with 1 signifying a small map, and 5 signifying a very large one. Presumably, this is done for automatic selection of maps in quick matches or something similar. (iow, so a user can select he would like to play on a "large" map, for example.)
This value cannot be set manually - it is determined automatically by the Random Map Generator.


See also