5,389
edits
Line 175: | Line 175: | ||
===cutscene1, cutscene2=== | ===cutscene1, cutscene2=== | ||
====What it's meant for==== | |||
This is another feature of the cutscene authoring process detailed above | This is another feature of the cutscene authoring process detailed above | ||
*The 2 runtime variables '''sc_bind_f2''' and '''sc_bind_f3''' can be set to hold the names of 2 arbitrary animations, say : | *The 2 runtime variables '''sc_bind_f2''' and '''sc_bind_f3''' can be set to hold the names of 2 arbitrary animations, say : | ||
Line 181: | Line 182: | ||
*Those two animations can then be applied to the authored character at any time during the authoring, by the pressing the '''cutscene1''' or '''cutscene2''' key. | *Those two animations can then be applied to the authored character at any time during the authoring, by the pressing the '''cutscene1''' or '''cutscene2''' key. | ||
*The custom animation's name is stored in the event buffer, so the ''authored'' animations will appear during playback even if '''sc_bind_f2''' and '''sc_bind_f3''' are reset in the meantime. | *The custom animation's name is stored in the event buffer, so the ''authored'' animations will appear during playback even if '''sc_bind_f2''' and '''sc_bind_f3''' are reset in the meantime. | ||
====What you can use it for==== | |||
*You can use it for playing custom animations (like normally unavailable combat moves) ingame, any time you want | |||
*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>. | |||
*BEWARE OF BUFFER OVERFLOW! If you don't want Oni to crash, be sure to clear stop recording before the buffer is full, read : press the <tt>stop_record</tt> key as soon as the custom animations are no longer needed, or when you've got time to breathe. | |||
*intensive use of <tt>start_record</tt> and <tt>stop_record</tt> generates a lot of '''saved_film###.dat''' files in your Oni folder. You can clean them now and then, e.g. with an automatic cleanup every time you start Oni. | |||
=="Secret" events== | =="Secret" events== |