Jump to content

XML:DOOR: Difference between revisions

720 bytes added ,  22 February 2014
m
script update/bugfix: triangulates objects, txmps are now also created on the desktop
m (quadrangulated vs. triangulated M3GM)
m (script update/bugfix: triangulates objects, txmps are now also created on the desktop)
Line 213: Line 213:
: In original game levels there are files like this "M3GMdoor_1_0.oni". That's an animated door part. (Doors consist of an animated and a static part.)
: In original game levels there are files like this "M3GMdoor_1_0.oni". That's an animated door part. (Doors consist of an animated and a static part.)
: But onisplit will store animated door parts inside ONLV so we don't need extra M3GMs. --[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 18:41, 15 February 2014 (CET)
: But onisplit will store animated door parts inside ONLV so we don't need extra M3GMs. --[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 18:41, 15 February 2014 (CET)
==Mod Tool addon==
Mod Tool addon "Oni Tools" will support combined creation of DOOR, TXMPs and OBAN someday.
For now you can grab this [[Mod_Tool#Scripting|script]].
: [https://dl.dropboxusercontent.com/u/139715/temp/DoorClassMaker_wip.txt DoorClassMaker_wip.txt] Not tested with "large" textures (512 pixel in hight/width).
The script will process a self-made null object which has door geometries as children.
: In the simplest case you have only one door object. But just in case, multiple objects are supported.
null (animated for OBAN, but X rotation must be always -90°)
  |
  +-- door_geometry_1
  +-- door_geometry_N
Select the null object and run the script. The oni files will appear on your desktop.




{{XML}}
{{XML}}
8,046

edits