Definegamefuncname - EDukeWiki

# Definegamefuncname

From EDukeWiki

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

Example:

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

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Definegamefuncname&oldid=9214"
Categories:

- EDuke32 specific commands
- Game manipulation