XML:ONLV: Difference between revisions

213 bytes added ,  29 December 2013
m
example of a destroyed hierarchy
(my first successful corpse import via xml)
m (example of a destroyed hierarchy)
Line 371: Line 371:
* managing object groups with trigger volumes (save multiple objects in one dae file)
* managing object groups with trigger volumes (save multiple objects in one dae file)


 
<!-- atm, the effort is not worth the work
https://dl.dropboxusercontent.com/u/139715/OniGalore/TV_triggered_env_show.png
https://dl.dropboxusercontent.com/u/139715/OniGalore/TV_triggered_env_show.png
: edit: replace 0 by 25
: edit: replace 0 by 25
Line 424: Line 424:
  show_object_group 20 21 6 19
  show_object_group 20 21 6 19
  }
  }
 
-->


=====Breakable glass with BSL recognition=====
=====Breakable glass with BSL recognition=====
Line 1,185: Line 1,185:
:: Due to this observations I think each body part is looked up separately which means for Oni to build the corpse with no hierarchal structure.
:: Due to this observations I think each body part is looked up separately which means for Oni to build the corpse with no hierarchal structure.


:: To test this I took a character, rotated the parts, and destroyed the hierarchy revealing the true local rotation values of each part.
:: To test this I took a character, rotated the parts, and [Mod_Tool#Exchange_meshes_in_hierarchies|destroyed]] the hierarchy revealing the true local rotation values of each part.


:: Those rotations and positions where entered into [https://dl.dropboxusercontent.com/u/139715/OniGalore/OniMatrix_src.zip Neo's matrix program.] I then put the matrix to into the CRSA instance of the extracted ONLV file, then reconverted to oni.
:: Those rotations and positions where entered into [https://dl.dropboxusercontent.com/u/139715/OniGalore/OniMatrix_src.zip Neo's matrix program.] I then put the matrix to into the CRSA instance of the extracted ONLV file, then reconverted to oni.


:: Ingame, the corpse was [https://dl.dropboxusercontent.com/u/139715/OniGalore/CRSA_manually_imported.png looking quite good.] There were some tiny difference which possibly come from the fact that the matrix program works with integers and not float values.
:: Ingame, the corpse was [https://dl.dropboxusercontent.com/u/139715/OniGalore/CRSA_manually_imported.png looking quite good.] There were some tiny difference which possibly come from the fact that the matrix program works with integers and not float values.
::: Here's an [https://dl.dropboxusercontent.com/u/139715/temp/snipers.dae example] of an intact and a destroyed hierarchy.




8,452

edits