Jump to content

Customizing/Binding: Difference between revisions

m
linked from "screenshot" section to Screenshots cat page since it has some handy tips on taking screenshots
(overall copy-edit; clarified how Dev Mode interacts with key bindings and corrected misstatement that film keys only work in Dev Mode)
m (linked from "screenshot" section to Screenshots cat page since it has some handy tips on taking screenshots)
Line 8: Line 8:
  bind *key* to *action*
  bind *key* to *action*


So if you wanted to bind "kick" to the '/' key, you would type:
So if you wanted to kick with the '/' key, you would type:
  bind slash to kick
  bind slash to kick


Line 229: Line 229:


===screenshot===
===screenshot===
*This stores a screenshot in BMP format (uncompressed) in Oni's folder with the name '''screen_shot#####.bmp'''.
*This stores a screenshot in BMP format (an uncompressed bitmap) in Oni's folder with the name '''screen_shot#####.bmp'''.
*The size of the screenshot is normally the resolution specified in '''Options''', but you can set the runtime variable <tt>gs_screen_shot_reduce</tt> on the dev console to downsample the bitmap by a power of 2.<br>Thus, if you play Oni in 640x480, the bitmaps you'll get will be:
*The size of the screenshot is normally the resolution of the game, as specified in '''Options''', but you can set the runtime variable <tt>gs_screen_shot_reduce</tt> using the Developer Mode console to downsample the bitmap by a power of 2.<br>Thus, if you play Oni in 640x480, the bitmaps you'll get will be:
**640x480 if <tt>gs_screen_shot_reduce=0</tt> (default)
**640x480 if <tt>gs_screen_shot_reduce=0</tt> (default)
**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>....
*See the [[:Category:Screenshots]] page for tips on taking screenshots efficiently and without the HUD in the way.


===start_record, stop_record, play_record===
===start_record, stop_record, play_record===