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

Infantry (maps): Difference between revisions

From ModEnc
Jump to navigation Jump to search
E1 Elite (talk | contribs)
No edit summary
E1 Elite (talk | contribs)
mNo edit summary
Line 18: Line 18:


  [Infantry]
  [Infantry]
  Index=OWNER,ID,HEALTH,X,Y,SUB_CELL,MISSION,FACING,TAG,VETERANCY,GROUP,HIGH,AUTOCREATE_NO_RECRUITABLE,AUTOCREATE_YES_RECRUITABLE
  INDEX=OWNER,ID,HEALTH,X,Y,SUB_CELL,MISSION,FACING,TAG,VETERANCY,GROUP,HIGH,AUTOCREATE_NO_RECRUITABLE,AUTOCREATE_YES_RECRUITABLE


{| style="width: 80%" border=1 class="table_descrowdesccol"
{| style="width: 80%" border=1 class="table_descrowdesccol"
Line 25: Line 25:
! Meaning
! Meaning
|-
|-
! {{Anchor|Index|ts}}
! {{Anchor|INDEX|ts}}
| This is an index for the list. Any unique string without equals signs will do.
| This is an index for the list. Any unique string without equals signs will do.
|-
|-
! {{Anchor|Owner|ts}}
! {{Anchor|OWNER|ts}}
| The Name of the House who should receive this InfantryType.
| The Name of the House who should receive this InfantryType.
|-
|-

Revision as of 10:44, 2 March 2018

This page should correctly be named "[Infantry]"; it is wrong due to technical restrictions.



This section lists all the InfantryTypes that should be preplaced on the map when the game starts.

Section

Tiberian Dawn

Red Alert, Counterstrike, Aftermath

Tiberian Sun, Firestorm, Red Alert 2, Yuri's Revenge

The [Infantry] section takes the following format:

[Infantry]
INDEX=OWNER,ID,HEALTH,X,Y,SUB_CELL,MISSION,FACING,TAG,VETERANCY,GROUP,HIGH,AUTOCREATE_NO_RECRUITABLE,AUTOCREATE_YES_RECRUITABLE
Meanings of each string
String Meaning
INDEX This is an index for the list. Any unique string without equals signs will do.
OWNER The Name of the House who should receive this InfantryType.
ID The ID of this InfantryType.
HEALTH The amount of health this InfantryType has, expressed in 1/256ths of its total Strength=. (0-256)
X The X coordinate of the cell which this InfantryType should be placed in.
Y The Y coordinate of the cell which this InfantryType should be placed in.
SUB_CELL The sub-cell of this cell which the InfantryType should be placed in. Should be in the range [0..4].
MISSION The Name of the Mission this InfantryType should be placed in.
FACING The 256-based facing of this InfantryType. 0 stands for game North (North East of the screen) and increasing numbers rotate clockwise. (0,32..256)
TAG The ID of the Tag attached to this InfantryType, or <none> if no tag should be attached.
VETERANCY The veteran level of this InfantryType multiplied by 100 - 0 for 'rookie', 100 for 'Veteran', 200 for 'Elite'. Note that you can assign other values, e.g. if you assign 75 then the InfantryType will be created with 75/100ths of experience necessary for Veteran level already accumulated. (0/100/200/0-200)
GROUP The Group of this InfantryType.
HIGH If set, the InfantryType is spawned above ground level. Whether it is on ground or on bridge.
AUTOCREATE_NO_RECRUITABLE When a TeamType has Autocreate=no, this InfantryType is
Possible values
Value Meaning
0 Not available for recruitment.
1 Available for recruitment. If recruitment fails, don't produce from factory.
AUTOCREATE_YES_RECRUITABLE When a TeamType has Autocreate=yes, this InfantryType is
Possible values
Value Meaning
0 Not available for recruitment.
1 Available for recruitment. If recruitment fails, produce from factory.

See also: Autocreate