https://modiki.civfanatics.com/index.php?title=Civ4ControlInfos&feed=atom&action=historyCiv4ControlInfos - Revision history2024-03-28T22:12:54ZRevision history for this page on the wikiMediaWiki 1.38.2https://modiki.civfanatics.com/index.php?title=Civ4ControlInfos&diff=14199&oldid=prevDeanej: Created page with "The '''Civ4ControlInfos''' file relates to unit commands. All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes inside a "list..."2013-01-14T20:43:13Z<p>Created page with "The '''Civ4ControlInfos''' file relates to unit commands. All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes inside a "list..."</p>
<p><b>New page</b></p><div>The '''Civ4ControlInfos''' file relates to unit commands.<br />
<br />
All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes inside a "list tag", then it should just be the opening tag with a "/" before the closing bracket. The following tables contain all available tags, as well as their purpose and accepted values. <br />
<br />
<font color=red>This page is missing information.<br />
Do not remove this notice until it is complete.</font><br />
<br />
<br />
==Tags==<br />
===Headers===<br />
<br />
These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!ControlInfo<br />
|Main bracket for each entry<br />
|-<br />
!Type<br />
|Name used in other files<br />
|}<br />
<br />
<br />
===Text===<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!Description<br />
|Unknown<br />
|-<br />
!Help<br />
|Unknown<br />
|-<br />
!HotKey<br />
|Unknown<br />
|-<br />
!HotKeyAlt<br />
|Unknown<br />
|}<br />
<br />
<br />
===Integers===<br />
<br />
All of these tags have a numerical value. Though it sometimes can be negative, it usually is not.<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!iHotKeyPriority<br />
|Unknown<br />
|-<br />
!iHotKeyPriorityAlt<br />
|Unknown<br />
|}<br />
<br />
<br />
===Boolean===<br />
<br />
All of these can either be 1 (on, or true) or 0 (off, or false). Be careful, as you can wind up with a double-negative, which the game will interpret as "True".<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!bAltDown<br />
|Unknown<br />
|-<br />
!bShiftDown<br />
|Unknown<br />
|-<br />
!bCtrlDown<br />
|Unknown<br />
|-<br />
!bAltDownAlt<br />
|Unknown<br />
|-<br />
!bShiftDownAlt<br />
|Unknown<br />
|-<br />
!bCtrlDownAlt<br />
|Unknown<br />
|}<br />
<br />
<br />
==Example==<br />
<br />
In the following example of code, please note that there is a specific order of all of the tags. You ''must'' list the tags in this order for the game to properly interpret your file.<br />
<br />
<ControlInfo><br />
<Type>CONTROL_CENTERONSELECTION</Type><br />
<Description>TXT_KEY_ACTION_CENTER_SELECTION</Description><br />
<Help/><br />
<HotKey>KB_C</HotKey><br />
<bAltDown>0</bAltDown><br />
<bShiftDown>0</bShiftDown><br />
<bCtrlDown>0</bCtrlDown><br />
<iHotKeyPriority>0</iHotKeyPriority><br />
<HotKeyAlt>KB_NUMPAD5</HotKeyAlt><br />
<bAltDownAlt>0</bAltDownAlt><br />
<bShiftDownAlt>0</bShiftDownAlt><br />
<bCtrlDownAlt>0</bCtrlDownAlt><br />
<iHotKeyPriorityAlt>0</iHotKeyPriorityAlt><br />
</ControlInfo><br />
<br />
{{Civ4_XML_Files}}</div>Deanej