Foundation: Difference between revisions
Nighthawk200 (talk | contribs) m Template updated |
pretty little illustration.. |
||
Line 1: | Line 1: | ||
{{Flag | {{Flag | ||
| | |files={{ini|art}} | ||
| | |values={{values|strings|[[hardcoded]] values{{Sup|[[{{PAGENAME}}#values|{{Arr|d}}]]}}}} | ||
| | |||
|default=1x1 | |default=1x1 | ||
|types={{Categ|BuildingTypes}} | |types={{Categ|BuildingTypes}} | ||
Line 13: | Line 12: | ||
}} | }} | ||
{{TTL| | {{TTL|{{PAGENAME}}}} specifies the shape of the "footprint" of a [[BuildingType]], i.e. how many cells will it occupies. | ||
=={{anchor|values||}}Accepted values== | |||
0x0, 6x4, 3x4, 4x4, 5x3, 2x5, 2x6, 1x5, 1x4, 4x3, 3x1, 1x3, 3x3Refinery, | All values are case-insensitive. Any other values will simply be ignored and the default used instead. The first number represents the cell-count along the NW-SE axis, the second along the NE-NW axis. | ||
0x0, 6x4, 3x4, 4x4, 5x3, 2x5, 2x6, 1x5, 1x4, 4x3, 3x1, 1x3, 3x3Refinery, 4x2, 3x5, 3x3, 3x2, 2x3, 2x2, 1x2, 2x1, 1x1 | |||
'''Note''': You cannot make up other foundations, because these are actually hardcoded in the EXE, and only appear to be modifiable. | '''Note''': You cannot make up other foundations, because these are actually hardcoded in the EXE, and only appear to be modifiable. | ||
===3x3Refinery=== | |||
3x3Refinery is | [[Image:3x3Refinery.gif|frame|{{TTL|{{PAGENAME}}|3x3Refinery}} grid illustration]] <code>3x3Refinery</code> is an unusual shape. While all other foundations are rectangles, this one has an empty cell in the center of the third row. | ||
Albeit containing "Refinery" in the value string, this {{TTL|{{PAGENAME}}}} will not work for a {{TTL|Refinery}} because the harvester's docking point inside a refinery is [[hardcoded]] to be the second cell in the fourth row. | |||
==Construction Yards== | |||
{{NeedTesting}} | |||
Construction yards seem to be a special case when using foundations. A construction yard will always use the foundation set in the art entry of either [GACNST], [NACNST] or [YACNST]. Even if you change the image= tag on a construction yard it will still use the foundation set in the above art.ini entries. | Construction yards seem to be a special case when using foundations. A construction yard will always use the foundation set in the art entry of either [GACNST], [NACNST] or [YACNST]. Even if you change the image= tag on a construction yard it will still use the foundation set in the above art.ini entries. | ||
Also, the AI seems to have a problem using a construction yard with any foundation smaller than 2x2, it will deploy the construction yard but will not build anything. This was only tested on construction yards but may also apply to other factory types, such as war factory's or naval yards. | Also, the AI seems to have a problem using a construction yard with any foundation smaller than 2x2, it will deploy the construction yard but will not build anything. This was only tested on construction yards but may also apply to other factory types, such as war factory's or naval yards. | ||
<hr /> | |||
Revision as of 00:59, 21 May 2008
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Flag: | Foundation |
File(s): | art(md).ini |
Values: | Strings: Normal text. (Limited to: hardcoded values↓) |
Default: | 1x1 |
Applicable to: | BuildingTypes |
Template:TTL specifies the shape of the "footprint" of a BuildingType, i.e. how many cells will it occupies.
Accepted values
All values are case-insensitive. Any other values will simply be ignored and the default used instead. The first number represents the cell-count along the NW-SE axis, the second along the NE-NW axis.
0x0, 6x4, 3x4, 4x4, 5x3, 2x5, 2x6, 1x5, 1x4, 4x3, 3x1, 1x3, 3x3Refinery, 4x2, 3x5, 3x3, 3x2, 2x3, 2x2, 1x2, 2x1, 1x1
Note: You cannot make up other foundations, because these are actually hardcoded in the EXE, and only appear to be modifiable.
3x3Refinery
3x3Refinery
is an unusual shape. While all other foundations are rectangles, this one has an empty cell in the center of the third row.
Albeit containing "Refinery" in the value string, this Template:TTL will not work for a Template:TTL because the harvester's docking point inside a refinery is hardcoded to be the second cell in the fourth row.
Construction Yards
Template:NeedTesting Construction yards seem to be a special case when using foundations. A construction yard will always use the foundation set in the art entry of either [GACNST], [NACNST] or [YACNST]. Even if you change the image= tag on a construction yard it will still use the foundation set in the above art.ini entries.
Also, the AI seems to have a problem using a construction yard with any foundation smaller than 2x2, it will deploy the construction yard but will not build anything. This was only tested on construction yards but may also apply to other factory types, such as war factory's or naval yards.