| Home Page | Recent Changes | Preferences

UTExtraKeyBindings

UT :: Object >> UTExtraKeyBindings

This can be used to create new entries in the OptionsPreferencesControls window.

See GUIUserKeyBinding for a similar facility in UT2003.

Usage

  1. Subclass UTExtraKeyBindings.
  2. Put the name of your mod in the SectionName variable.
  3. Put the descriptions of the actions in the LabelList array.
  4. Put the exec functions to be bound in the AliasNames array.
  5. Make a MyPackage.int file with the following data in it:

     [Public]
     Object=(Name=MyPackage.MyKeyBindingsClass,Class=Class,MetaClass=UTMenu.UTExtraKeyBindings)

    The corresponding UTExtraKeyBindings subclass:

    class MyKeyBindings extends UTExtraKeyBindings;
    
    defaultproperties
    {
         SectionName="Capture the Mage"
         LabelList(0)="Cast Spell"
         LabelList(1)="Activate Shield"
         AliasNames(0)="castspell"
         AliasNames(1)="activateshield"
    }

Category Class (UT)

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

FAQs

Help Desk

Mapping Topics

Mapping Lessons

UnrealEd Interface

UnrealScript Topics

UnrealScript Lessons

Making Mods

Class Tree

Modeling Topics

Chongqing Page

Log In