Mod Tool/Oni level rebuilder

From OniGalore
< Mod Tool
Revision as of 22:50, 23 December 2013 by Paradox-01 (talk | contribs) (a project fork)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Mod Tool Oni level rebuilder logo.jpg
Wouldn't it be nice to have a tool that can rebuild an Oni level?
Of course after some modification has been added to the level.

Mod Tool and OniSplit could accomplish this task.


Transfer from Oni to Mod Tool

Following scenario: A modder drags and drops level1_Final.dat into Mod Tool's viewport.

Mod Tool tells OniSplit to extract needed data.

For example:

OniSplit.exe -export level0_Final level0.dat
OniSplit.exe -export level1_Final level1.dat
OniSplit.exe -extract:dae level1_Final level1_Final/AKEV*.oni -search level0_Final
OniSplit.exe -extract:xml level1_Final level1_Final/ONLV*.oni
OniSplit.exe -extract:xml level1_Final level1_Final/BINACJBO*.oni

After that Mod Tool can examine the xml files and import 3D content on different layers.

Core geometry: EnvLayer
Pathfinding: BnvLayer
Consoles: ConsLayer
TriggerVolumes: TrgvLayer
etc.

Also, an already half-filled xml master file can be created.

Information of BSL folder name and skybox can be received from the original ONLV file.


Transfer from Mod Tool to Oni

When user is ready he can click import and rebuild the level.

In ideal case he doesn't have to touch the xml master file.

Currently, the xml master file don't seem to cover the CRSA instance.

But, now that Neo has provided a code to create transform matrices, the ONLV file could be post-edited too.


Limitations

Besides the work needed to get this all done ..., cutscenes (animation compositions and FILM creation) and BSL in general won't be produced automatically.