On Wed, 02 Apr 2008 21:19:06 GMT, "NoSpam" <fake@[EMAIL PROTECTED]
> wrote:
>
>"NoSpam" <fake@[EMAIL PROTECTED]
> wrote in message
>news:SYPIj.637$Gq7.9@[EMAIL PROTECTED]
>>
>> "Wintermute" <Wintermute@[EMAIL PROTECTED]
> wrote in message
>> news:pht4v3d3qtggl2iq6k472im7fp1niii953@[EMAIL PROTECTED]
>>> On Mon, 31 Mar 2008 11:15:57 -0700, "NoSpam" <fake@[EMAIL PROTECTED]
> wrote:
>>>
>>>>1. I like to play without the FOW, but don't want that same rule to
>>>>apply to the AI :) Presently I flip to Ctlr+W, peek, and then go
>>>>back
>>>>to the game. Is there anyway to tie that to one key, like maybe the
>>>>keypad-?
>>>>
>>>
>>> It's a two-key combo as it is, so I'm not sure how much of a
>>> difference one less key will make, but the hotkey for the
>>> Worldbuilder
>>> is defined in this file:
>>>
>>> ...\Assets\XML\Units\CIV4ControlInfos.xml
>>>
>>> Here's the XML:
>>>
>>> <ControlInfo>
>>> <Type>CONTROL_WORLD_BUILDER</Type>
>>> <Description>TXT_KEY_WORLD_BUILDER</Description>
>>> <Help/>
>>> <HotKey>KB_W</HotKey>
>>> <bAltDown>0</bAltDown>
>>> <b****ftDown>0</b****ftDown>
>>> <bCtrlDown>1</bCtrlDown>
>>> <iHotKeyPriority>0</iHotKeyPriority>
>>> <HotKeyAlt/>
>>> <bAltDownAlt>0</bAltDownAlt>
>>> <b****ftDownAlt>0</b****ftDownAlt>
>>> <bCtrlDownAlt>0</bCtrlDownAlt>
>>> <iHotKeyPriorityAlt>0</iHotKeyPriorityAlt>
>>> </ControlInfo>
>
>One more time :) I want the key to be keypad minus
>
>Could I talk you into writing the line so I don't F it up? As you can
>tell I'm not very good at this sort of thing. I am going to try to put
>in satilites first so I never have to press a key at all, but while I
>got you here I'll buy you another round of beers.
>
>Thanks, again.
>
>
It's a bit more complicated as Keypad-minus is already defined as an
alternative key used to cycle thru cities. You'll have to remove that
definition for this to work.
Search the same file, CIV4ControlInfos.xml, for CONTROL_PREVCITY and
change this line:
<HotKeyAlt>KB_NUMPADMINUS</HotKeyAlt>
to this:
<HotKeyAlt/>
You will still be able to cycle thru cities with the Home and End
keys.
Then change the CONTROL_WORLD_BUILDER setting from above to this:
<ControlInfo>
<Type>CONTROL_WORLD_BUILDER</Type>
<Description>TXT_KEY_WORLD_BUILDER</Description>
<Help/>
<HotKey>KB_NUMPADMINUS</HotKey>
<bAltDown>0</bAltDown>
<b****ftDown>0</b****ftDown>
<bCtrlDown>0</bCtrlDown>
<iHotKeyPriority>0</iHotKeyPriority>
<HotKeyAlt/>
<bAltDownAlt>0</bAltDownAlt>
<b****ftDownAlt>0</b****ftDownAlt>
<bCtrlDownAlt>0</bCtrlDownAlt>
<iHotKeyPriorityAlt>0</iHotKeyPriorityAlt>
</ControlInfo>
Again make sure you copy CIV4ControlInfos.xml to the appropriate
folder under 'Custom Assets' folder, and then edit the file there.
For BTS, that would be here:
C:\Documents and Settings\[YOUR USERNAME]\My Documents\My Games\Beyond
the Sword\CustomAssets\xml\units
Good luck,
Wintermute


|