Call of Duty 4: Commands: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 61: Line 61:


[[Category:Call of Duty 4]]
[[Category:Call of Duty 4]]
[[Category:Radiant]]
[[Category:Technical Reference]]

Latest revision as of 20:34, 28 July 2009

Command Mapping For CoD4 Radiant

You can use the default hot keys in Call of Duty 4 Radiant as listed here, or you can map your own, whether all of them or just some.

You will need to start by making a .INI file (ideally, but can be made anywhere) in the \bin folder where the Radiant executable is. The filename does not matter, just be sure the file type is .INI.

Once made or if you want to make changes, open up the .INI in a text editing program such as NotePad or Word.

When you've finally gotten your .INI as you want it to be, save it and load up Call of Duty 4 Radiant. Go to Edit>Preferences... or hot key P (by default). In the Maps/Undo/Ini section on the bottom, click the browse path button [...] next to User INI Path: field and locate the .INI you made. Restart Radiant and your custom hot key commands will be working.

Command Mapping Syntax

Command name=keystroke

You can use +alt, shift or ctrl to modify the keys (you can combine them).
i.e. EntityColor=k+ctrl

Semicolons ; are used for commenting.

The .INI is read line by line, so if you try mapping the same hot key to multiple commands, the last command assigned will be connected to the hot key.

Special Keys

UP=Cursor up
DOWN=Cursor down
LEFT=Cursor left
RIGHT=Cursor right
SPACE=space
BACKSPACE=back space
ESCAPE=escape
END=end
INSERT=insert
DELETE=delete
PAGEUP=page up
PAGEDOWN=page down
TAB=tab
RETURN=return (enter)
1..2=1 .. 12
COMMA=,
PERIOD=.
PLUS=+
MULTIPLY=*
SUBTRACT=-

Some Examples

CubicClipping=0
CubicScale=16
WhichGame=MK
ALTEdgeDrag=1
UseTextureBar=0
FaceColors=0

[Commands]
EntityColor=K
CameraForward=UP
CameraBack=DOWN
CameraLeft=LEFT
CameraRight=RIGHT
CameraUp=D

Sources

IW Wiki