Importing character models: Difference between revisions

heads-up on shell-shading
(Update to 0.9.6)
(heads-up on shell-shading)
Line 1: Line 1:
As of [http://edt.oni2.net/OS/OniSplit_v0.9.6.zip 0.9.6], OniSplit allows one to import "body sets" a.k.a. [[TRBS]] into Oni from COLLADA .dae files.
As of [http://edt.oni2.net/OS/OniSplit_v0.9.6.zip 0.9.6], OniSplit allows one to import "body sets" a.k.a. [[TRBS]] into Oni from COLLADA .dae files.
:All known bugs have been fixed (the crash was due to an often overlooked and not-quite-understood [[TXCA]] feature).
:As of [http://geyser.oni2.net/edition/onisplit/OniSplit_v0.9.8.zip 0.9.8], it can add an automatic cel-shading effect to the imported models.
::Here are a few guidelines for wannabe modders.
::Here are a few guidelines for wannabe modders.
==Modding tools==
==Modding tools==
Line 22: Line 22:
:*enter '''..\..\install\OniSplit.exe -create:trbs collada collada\ONCCmuro_generic.dae'''
:*enter '''..\..\install\OniSplit.exe -create:trbs collada collada\ONCCmuro_generic.dae'''
::or '''..\..\install\OniSplit.exe -create:trbs collada collada\ONCCgriffin_generic.dae'''
::or '''..\..\install\OniSplit.exe -create:trbs collada collada\ONCCgriffin_generic.dae'''
::or '''..\..\install\OniSplit.exe -create:trbs collada collada\TRBSkonoko_body_high.oni'''
::or '''..\..\install\OniSplit.exe -create:trbs collada collada\TRBSkonoko_body_high.dae'''
This will create TRBSmuro_generic.oni, TRBSgriffin_generic.oni, and TRBSkonoko_body_high.oni in in the folder '''Oni\edition\GameDataFolder\level0_Final\collada'''.
This will create TRBSmuro_generic.oni, TRBSgriffin_generic.oni, and TRBSkonoko_body_high.oni in in the folder '''Oni\edition\GameDataFolder\level0_Final\collada'''.


Line 65: Line 65:
#export, adapt the TRMA if needed, rebuild the level and play
#export, adapt the TRMA if needed, rebuild the level and play
This allows one to recombine Oni's characters into "new" ones very easily. The easiest thing is to add sunglasses to any Konoko model ^_^
This allows one to recombine Oni's characters into "new" ones very easily. The easiest thing is to add sunglasses to any Konoko model ^_^
==Cel-shading==
An effect similar to cel-shading can be obtained by enclosing the mesh in a shell painted in black and facing inwards.
:As of 0.9.8, OniSplit can perform this operation with every body part, in an automatic way, with one control parameter.
The syntax is as follows:
:'''FolderWhereOniSplitIs\OniSplit.exe -create:trbs TargetFolderForCreatedTRBS -cel FolderWhereTheModelIs\name_of_the_model.dae'''
:or '''FolderWhereOniSplitIs\OniSplit.exe -create:trbs TargetFolderForCreatedTRBS -cel:0.1 FolderWhereTheModelIs\name_of_the_model.dae'''
The '''-cel''' option enables the generation of the shell. The optional parameter (default 0.07) defines the thickness of the shell.
Note that the shells may not be good-looking in every situation without some further tweaking (after reextracting the TRBS).
:Some examples of automatically generated shells (not tweaked) can be seen here: http://geyser.oni2.net/edition/celshading


==New models==
==New models==