Difference between revisions of "Definegamefuncname"

From EDukeWiki
Jump to navigation Jump to search
m
Line 58: Line 58:
  51  Previous Weapon
  51  Previous Weapon
  52  Show Console
  52  Show Console
53  Show Dukematch Scores
54  DPAD Select
55  DPAD Aiming
56  Alternate Weapon
57  Last Used Weapon


Example:  
Example:  

Revision as of 01:36, 5 June 2019

definegamefuncname <function> <name>

This command, similar to definequote, allows the CON coder to rename the various game input functions. Note that the name of the function should contain underscores _ instead of spaces. Functions are in the same order as they appear in the key configuration menu. Thus, function 0 is Move Forward, and function 52 is Show Console.

Defaults:

<funct> <name>
 0   Move Forward
 1   Move Backward
 2   Turn Left
 3   Turn Right
 4   Strafe
 5   Fire
 6   Open
 7   Run
 8   AutoRun
 9   Jump
10   Crouch
11   Look Up
12   Look Down
13   Look Left
14   Look Right
15   Strafe Left
16   Strafe Right
17   Aim Up
18   Aim Down
19   Weapon 1
20   Weapon 2
21   Weapon 3
22   Weapon 4
23   Weapon 5
24   Weapon 6
25   Weapon 7
26   Weapon 8
27   Weapon 9
28   Weapon 10
29   Inventory
30   Inventory Left
31   Inventory Right
32   Holo Duke
33   Jetpack
34   NightVision
35   MedKit
36   TurnAround
37   SendMessage
38   Map
39   Shrink Screen
40   Enlarge Screen
41   Center View
42   Holster Weapon
43   Show Opponents Weapon
44   Map Follow Mode
45   See Coop View
46   Mouse Aiming
47   Toggle Crosshair
48   Steroids
49   Quick Kick
50   Next Weapon
51   Previous Weapon
52   Show Console
53   Show Dukematch Scores
54   DPAD Select
55   DPAD Aiming
56   Alternate Weapon
57   Last Used Weapon

Example:

definegamefuncname 11 Alt_Fire // changes the name of function 11 from "Look Up" to "Alt Fire"