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

Width: Difference between revisions

From ModEnc
Jump to navigation Jump to search
I don't have any ini files here, so somebody go and fact-check/fix this
Crimsonum (talk | contribs)
m Minor typo fix.
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Flag
{{Flag
|files={{Categ|ini=rules}}, Maps
|files={{Categ|ini=rules}}, Maps
|types={{Categ|SmudgeTypes}}, {{Categ|Header}}, {{Categ|RandomMap}}
|values={{values|unsigned integers}}
|values={{values|unsigned integers}}
|ts=yes
|ts=yes
Line 9: Line 10:


==In Rules==
==In Rules==
In {{rules}}, this flag is placed on [[SmudgeTypes]], and tells the game the length of a smudge's X-axis in pixels, i.e. its width in 2-dimensional image terms.
In {{rules}}, this flag is placed on [[SmudgeTypes]], and tells the game the amount of cells occupied by this smudge along the X axis (in map cell terms, meaning top-left -> bottom-right).


==In Maps==
==In Maps==

Latest revision as of 10:06, 30 September 2020

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


In Rules

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

In Maps

[Header]

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

[RandomMap]

On saved random maps, Width also gives the "width" of the map in the sense of its length from east edge to west edge (i.e. diagonally from top-right to bottom-left). 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