Jump to content

Customizing/Binding: Difference between revisions

moving Developer events out from Regular, adding Mac-only events, general spiffing up
(moving Developer events out from Regular, adding Mac-only events, general spiffing up)
Line 39: Line 39:
|-
|-
|Num Pad 0 ... Num Pad 9
|Num Pad 0 ... Num Pad 9
|(PC only) numpad0 ... numpad9*
|(PC only) numpad0 ... numpad9 '''(1)'''
|-
|-
|Num Pad '''* / + - .'''
|Num Pad '''* / + - .'''
Line 78: Line 78:
|}
|}


<nowiki>*</nowiki>On Macs, bindings using "0-9" will be bound to both the keyboard's and numeric pad's 0-9 (in lieu of separate numpad bindings on Mac).
'''(1)''' On Macs, bindings using "0-9" will be bound to both the keyboard's and numeric pad's 0-9 (in lieu of separate numpad bindings on Mac).


==Regular bindable events==
==Regular bindable events==
Line 88: Line 88:
|Horizontal/Vertical Aiming
|Horizontal/Vertical Aiming
|aim_lr/aim_LR, aim_ud/aim_UD
|aim_lr/aim_LR, aim_ud/aim_UD
|NOT AFFECTED
|'''cannot be locked'''
|-
|-
|Forward, Backward, Strafe Left/Right
|Forward, Backward, Strafe Left/Right
Line 113: Line 113:
|reload
|reload
|<tt>keys_reload</tt>
|<tt>keys_reload</tt>
|-
|Weapon Safety (Mac only)
|weapon_safety
|<tt>keys_all</tt>
|-
|-
|Punch, Kick, Fire1 ... Fire3
|Punch, Kick, Fire1 ... Fire3
Line 122: Line 126:
|<tt>keys_hypo</tt>
|<tt>keys_hypo</tt>
|-
|-
|Use Console/Door, Talk, Taunt,
|Use Console/Door, Talk, Taunt
|action
|action
|<tt>keys_action</tt>
|<tt>keys_action</tt>
Line 128: Line 132:
|Escape/Resume
|Escape/Resume
|escape
|escape
|NOT AFFECTED
|'''cannot be locked'''
|-
|-
|Pause Screen
|Pause Screen
Line 140: Line 144:
|Screenshot
|Screenshot
|[[#screenshot|screenshot]]
|[[#screenshot|screenshot]]
|NOT AFFECTED
|'''cannot be locked'''
|-
|-
|Start/Stop/Play Record
|''Any Cheat Event'' (Mac only)
|[[#start_record, stop_record, play_record|start_record, stop_record, play_record]]
|''cheatcode'', e.g. fatloot
|<tt>keys_all</tt>
|-
|Custom Animations 1 and 2
|(PC only) [[#cutscene1, cutscene2|cutscene1, cutscene2]]
|<tt>keys_all</tt>
|<tt>keys_all</tt>
|}
|}


===lock_keys===
===lock_keys===
<tt>lock_keys</tt> is a [[BSL]] command used by Oni in the Training level to prevent the player from doing certain actions until he is prompted to. The keys were arranged for this purpose in "lock groups", the names for which are given above. Passing one of those names to <tt>lock_keys</tt> prevents that kind of input.
<tt>lock_keys</tt> is a [[BSL]] command used by Oni in the Training level to prevent the player from doing certain actions until he is prompted to. The keys were arranged for this purpose into "lock_keys groups", the names for which are given above. Passing one of those names to <tt>lock_keys</tt> prevents that kind of input.


===fire1, fire2, fire3===
===fire1, fire2, fire3===
Line 174: Line 174:
**320x240 if <tt>gs_screen_shot_reduce=1</tt>
**320x240 if <tt>gs_screen_shot_reduce=1</tt>
**160x120 if <tt>gs_screen_shot_reduce=2</tt>....
**160x120 if <tt>gs_screen_shot_reduce=2</tt>....
==Developer Mode-bindable events==
These events only work when Developer Mode is active. You may not need to bind any of these keys; see [[Developer Mode]] for the default key bindings.
{|class="wikitable" style="margin-left:auto; margin-right:auto;"
!Event description
!Syntax
|-
|Open developer console
|console
|-
|Start/Stop/Play Record
|[[#start_record, stop_record, play_record|start_record, stop_record, play_record]]
|-
|Custom Animations 1 and 2
|(PC only) [[#cutscene1, cutscene2|cutscene1, cutscene2]]
|-
|[[#Detached camera controls|Detached camera controls]]
|man_cam_move_up, man_cam_move_down,<br>man_cam_move_left, man_cam_move_right,<br>man_cam_move_forward, man_cam_move_backward,<br>man_cam_pan_up, man_cam_pan_down, <br>man_cam_pan_left, man_cam_pan_right
|}


===start_record, stop_record, play_record===
===start_record, stop_record, play_record===
Line 200: Line 220:
*Just press the <tt>start_record</tt> key, and the two custom animations (Konoko's Super Kick and Outro Daodan Blast in the example above) will be available ''via'' the keys you bound to <tt>cutscene1</tt> and <tt>cutscene2</tt>.
*Just press the <tt>start_record</tt> key, and the two custom animations (Konoko's Super Kick and Outro Daodan Blast in the example above) will be available ''via'' the keys you bound to <tt>cutscene1</tt> and <tt>cutscene2</tt>.


==Developer Mode-bindable events==
===Detached camera controls===
These events only work when [[Developer Mode]] is active.
See the [[Developer Mode]] page for where and how to use these controls.


===Detached camera controls===
====Missing Mac controls====
The camera-panning movements are automatically bound to the numeric keypad in Oni (all camera controls are listed [[Developer Mode|here]]), but Oni for the Mac lacks the ability to bind keys to the numpad, so these controls will be missing. To fully control the free-flying camera on the Mac, add bindings to key_config.txt for the following four events:
The camera-panning movements for Mac are automatically bound to the numeric keypad in Oni, but Oni for the Mac lacks the ability to bind keys to the numpad, so these controls will be missing. To fully control the free-flying camera on the Mac, add bindings to key_config.txt for the following four events:
*man_cam_pan_up
*man_cam_pan_up
*man_cam_pan_down
*man_cam_pan_down
*man_cam_pan_left
*man_cam_pan_left
*man_cam_pan_right
*man_cam_pan_right
Once again, the Mac treats the keys 0-9 as both 0-9 and numpad0-numpad9, so if you bind the above movements to the 0-9 keys, you can use the numeric pad just as Bungie West intended.
Once again, the Mac treats the key bindings "0-9" as both "0-9" and "numpad0-numpad9", so if you bind the above movements as follows, you can use the numeric pad just as Bungie West intended the Mac build to work:
bind 8 to man_cam_pan_up
bind 2 to man_cam_pan_down
bind 6 to man_cam_pan_left
bind 4 to man_cam_pan_right


[[Category:Oni Support]]
[[Category:Oni Support]]