Jump to content

XML:OBAN: Difference between revisions

60 bytes removed ,  4 February 2013
m
no dae-to-oban?
m (additional OBAN commands)
m (no dae-to-oban?)
Line 3: Line 3:
===general information===
===general information===
* The xml code on this page was tested with onisplit '''v0.9.61.0''', '''v0.9.68.0''', '''v0.9.82.0'''
* The xml code on this page was tested with onisplit '''v0.9.61.0''', '''v0.9.68.0''', '''v0.9.82.0'''
** with v0.9.82.0 you can also convert the OBAN into a dae file using "-extract:dae output src\OBANElevator.oni" this exports the animation with a null node.
** with v0.9.82.0 you can also convert the OBAN into a dae file
** "-extract:dae output src\OBANElevator.oni -geom:M3GMdebris.oni" exports animation with specified geometry.
:: "-extract:dae output src\OBANElevator.oni" this exports the animation with a null node
** "-extract:dae output src\OBANElevator.oni -geom:camera" exports animation with camera
::: in [[Mod_Tool#Scripting|Mod Tool]] the null node is named "unique" and holds keyframes; it can be replicated with ''activesceneroot.AddModel , "unique"''
*** in [[Mod_Tool#Scripting|Mod Tool]] the object is named "unique" and holds keyframes; such an object can be replicated with ''activesceneroot.AddModel , "unique"''
:: "-extract:dae output src\OBANElevator.oni -geom:M3GMdebris.oni" exports animation with specified geometry
** ... converts the dae back to OBAN
:: "-extract:dae output src\OBANElevator.oni -geom:camera" exports animation with camera
* [[XML:TRIG|laser triggers]] and [[XML:DOOR|door]] files use '''global''' OBAN files
* [[XML:TRIG|laser triggers]] and [[XML:DOOR|door]] files use '''global''' OBAN files
* some cutscene TRAM, animated cutscene objects and camera shots/animations use '''level specific''' OBAN files
* some cutscene TRAM, animated cutscene objects and camera shots/animations use '''level specific''' OBAN files
* if you want to update level-specific non-door OBANs used by ONLV, you must provide the ONLV along the OBANs in the package
* if you want to update level-specific OBANs used by ONLV, you must provide the ONLV along the OBANs in the package
* trivia: also the [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/dream_obj_images_spawned.jpg dream lab images] use OBANs
* trivia: also the [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/dream_obj_images_spawned.jpg dream lab images] use OBANs
* tutorial: making [[AE:Authoring_custom_camera_animations|camera interpolations]]
* tutorial: making [[AE:Authoring_custom_camera_animations|camera interpolations]]
8,046

edits