Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 5, 2010, 10:26:37 PM (14 years ago)
Author:
dafrick
Message:

Adding method that puts a keybinding into a more human readable form.

Location:
code/branches/notifications/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/notifications/data/gui/scripts/KeyBindMenu.lua

    r7163 r7358  
    113113        return "Joystick " .. name
    114114    elseif( string.find(group, "JoyStickAxes") ~= nil ) then
    115         return "Joystick Axis" .. string.sub(name, 5, 6) .. string.sub(name, string.find(name, 'Axis%d%d(.*)')+6)
     115        return "Joystick Axis " .. string.sub(name, 5, 6) .. string.sub(name, string.find(name, 'Axis%d%d(.*)')+6)
    116116    elseif( group == "MouseAxes" ) then
    117117        return "Mouse " .. string.sub(name, string.find(name, '.(.*)')+1) .. " " .. string.sub(name, 1, 1) .. "-Axis"
  • code/branches/notifications/data/levels/tutorial.oxw

    r7354 r7358  
    1919  >
    2020
    21       <CommandNotification preMessage="Press '" postMessage="' to fire your primary weapon." command="fire 0">
     21      <CommandNotification preMessage="Move '" postMessage="' to look left." command="scale 1 rotateYaw">
    2222        <events>
    2323            <trigger>
Note: See TracChangeset for help on using the changeset viewer.