Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 06/02/19 15:06

s10k
Member
Registered: 01/14/07
Website

Character animation capture color background script

Character animation capture color background script v1.0 written by s10k

===========================================================================
What is this?
===========================================================================

A simple set of BSL commands that allow anyone to easily capture Oni's
character animations, which can be used for instance to create gifs.

Initially written for "funktotheface" in Oni's discord channel, but I
decided to release this since it can be useful for anybody.

===========================================================================
How do I use it?
===========================================================================

1. Backup you lab scripts (in GameDataFolder\IGMD\lab).
2. Replace the lab_main.bsl with the one included in this zip.
3. Load lab (chapter 3) savepoint 0. You will see Konoko char pinned.
4. You can then shapeshift to any character and move the camera to a place
where only the black background is visible. You can then perform any move
that you want.

===========================================================================
How it works?
===========================================================================

I am just inputting these commands in the main file:

chr_location(0,4000,0,0); # teleport the character to a nice position without objects
chr_pin_character=1; # pin the character so it does not fall
sky_show_sky=0; # hide skybox
gs_show_ui=0; # do not show UI
m3_clear_color=0; # background color (default black) RGB conversion here: http://www.shodor.org/stella2java/rgbint.html, 65280 (for green)

===========================================================================
It is possible to use in other levels?
===========================================================================

The script is crafted for bio lab, but you can easily adjust for any level,
just change its main file and inject the same commands there.

You will need to change the position, using the chr_location command to
match the new level.

===========================================================================
Changelog
===========================================================================
1.0, 02-06-2019
- Initial release

Download:
http://mods.oni2.net/node/360

Example:
M2qoEN9.png

Example gifs from funktotheface:
ezgif-1-ad731f6279.gif

ninjagif.gif

Last edited by s10k (06/03/19 03:06)

Offline

#2 06/02/19 17:06

Delano762
Member
From: Poland
Registered: 12/29/10
Website

Re: Character animation capture color background script

This might be very useful in documenting the ITO interpolation issue. https://wiki.oni2.net/XML:TRAM#Interpolation_drifting


Circus Afro, Circus Afro, Polka Dot, Polka Dot!

Offline

Board footer

Powered by FluxBB