Customizing/Binding: Difference between revisions

m
Line 164: Line 164:
**160x120 if <tt>gs_screen_shot_reduce= 2</tt>...
**160x120 if <tt>gs_screen_shot_reduce= 2</tt>...
===start_record, stop_record, play_record===
===start_record, stop_record, play_record===
This is a development feature Bungie used to author cutscene character animations.  
====What it's meant for====
This is a development feature Bungie used to author cutscene character animations.
*When you press the <tt>start_record</tt> key, Oni stores the authored character's position, body facing and aiming direction,<br>then keeps recording all input events (keyboard and mouse) in a buffer until you press the <tt>stop_record</tt> key.
*When you press the <tt>start_record</tt> key, Oni stores the authored character's position, body facing and aiming direction,<br>then keeps recording all input events (keyboard and mouse) in a buffer until you press the <tt>stop_record</tt> key.
*When you press the <tt>play_record</tt> key, the initial conditions stored at <tt>start_record</tt>-time are applied to the authored character,<br>then the event buffer is read from, and the events are applied to your character as if you were providing the recorded input.<br>You actual input is ignored until the "movie" is done "playing".
*When you press the <tt>play_record</tt> key, the initial conditions stored at <tt>start_record</tt>-time are applied to the authored character,<br>then the event buffer is read from, and the events are applied to your character as if you were providing the recorded input.<br>You actual input is ignored until the "movie" is done "playing".
*The buffer has a limited size (quite big, about half an hour of non-stop action). Overflow thereof makes Oni crash.
*The buffer has a limited size (quite big, about half an hour of non-stop action). Overflow thereof makes Oni crash.
*The contents of the event buffer is dumped in generic binary files called '''saved_film###.dat''' in Oni's folder.<br>Those dumped event buffers can't be read from and applied to custom characters via scripting : they served for cutscene authoring during Oni's development.
*The contents of the event buffer is dumped in generic binary files called '''saved_film###.dat''' in Oni's folder.<br>Those dumped event buffers can ''not'' be read from and applied to custom characters via scripting. However, they are what Bungie developers used for generating the FILM binaries we can call up with <tt>chr_playback</tt>.
====What you can use it for====
*You can use this feature to "teleport" back to a place where you've already been. "Plant" a "teleporter" by pressing <tt>start_record</tt> then <tt>stop_record</tt> right afterwards : at any later time, pressing <tt>play_record</tt> will bring you back to the last "teleporter" you have thus "planted".
*Expert gamers have extrapolated the above "teleporting" technique to perform the so-called "film-jumping".
 
===cutscene1, cutscene2===
===cutscene1, cutscene2===
This is another feature of the cutscene authoring process detailed above
This is another feature of the cutscene authoring process detailed above