FAQ Search Memberlist Usergroups Register Profile

Log in to check your private messagesLog in to check your private messages   Log inLog in 

 
Modding the camera movement keys


 
Post new topic   Reply to topic    Commandos Mobile, Imperial Glory, Praetorians and more! Forum Index -> Imperial Glory modding
View previous topic :: View next topic  
Author Message

ShellShock
Soldier


Joined: 21 May 2005
Location: UK

PostPosted: Wed Apr 19, 2006 9:14 am    Post subject: Modding the camera movement keys Reply with quote

These are the files to change if you want to mod the keys used to move the camera:

Game\UI\ModeloBatalla\UIDefs_CtrlMovCamara.sb
Game\UI\ModeloGestion\UI_ModeloGestion.sb
Game\UI\ModeloNaval\UIDefs_CtrlMovCamara.sb
Teclas\Standard\ModeloBatalla\UIDefs_HotKeyBatalla.sb
Teclas\Standard\ModeloNaval\TeclasUINaval.sb

Where:
Batalla - land battle camera
Gestion - campaign map camera
Naval - naval battle camera

In each file search for the existing key binding, e.g., KEY_UP, KEY_LEFT, and replace it with the binding you want, e.g., to change the camera rotation keys for land battles, in Game\UI\ModeloBatalla\UIDefs_CtrlMovCamara.sb change

[ .TIPO UIC_TECLA .ID 'K_PR' .PARAMS [ .TECLA KEY_LEFT .MKEYS [ ] .EVENTOS [ KEY_DOWN KEY_UP ] ] ]
[ .TIPO UIC_TECLA .ID 'K_NE' .PARAMS [ .TECLA KEY_RIGHT .MKEYS [ ] .EVENTOS [ KEY_DOWN KEY_UP ] ] ]


to

[ .TIPO UIC_TECLA .ID 'K_PR' .PARAMS [ .TECLA KEY_Q .MKEYS [ ] .EVENTOS [ KEY_DOWN KEY_UP ] ] ]
[ .TIPO UIC_TECLA .ID 'K_NE' .PARAMS [ .TECLA KEY_E .MKEYS [ ] .EVENTOS [ KEY_DOWN KEY_UP ] ] ]


This makes Q & E rotate the camera, which fits in with the WASD camera movement keys (you now use your left hand to move and rotate the camera).

Do not confuse the KEY_UP key bindings with the "[ KEY_DOWN KEY_UP ]" event - the KEY_UP here does not mean the up cursor key, but the action of a key being pressed and then released.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Commandos Mobile, Imperial Glory, Praetorians and more! Forum Index -> Imperial Glory modding All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
 
commandos, imperial glory, praetorians
 


Powered by phpBB© 2001, 2002 phpBB Group

SoftMetal theme by Macthink | Mod by www.rutam.com