XML:ONLV: Difference between revisions

725 bytes added ,  6 June 2013
m
another brain dump
m (script objects shouldn't need nodes)
m (another brain dump)
Line 1,074: Line 1,074:


===Recycle object collections===
===Recycle object collections===
You only need this or that file in xml format if you want to extend it. If you decide to use them via a master xml and experience a crash then remove the instance IDs, e.g. <CONS Id="7087"> becomes <CONS> .
Following files can be reused at <Objects> without any drawback:
* BINACJBOCharacter.xml
* BINACJBOFlag.xml
* BINACJBONeutral.xml
* BINACJBOParticle.xml
* BINACJBOPatrol Path.xml
* BINACJBOPowerUp.xml
* BINACJBOSound.xml
* BINACJBOTrigger Volume.xml
* BINACJBOWeapon.xml




===Locklights===
===Locklights===
Door locklights must be transfered by hand from old ONLV (ENVP instance) to new furniture file.
Door locklights must be transfered by hand from old ONLV (ENVP instance) to CJBO particle file.




Line 1,084: Line 1,093:
* Object (xml) import via <Object> tag (xml master file) will get you objects without vertex coloring. (onisplit will pick *.oni class files from the shared folder.)
* Object (xml) import via <Object> tag (xml master file) will get you objects without vertex coloring. (onisplit will pick *.oni class files from the shared folder.)
* Object (dae) import via <Model> tag (xml master file) should get you objects with vertex coloring but no functions. In that case add corresponding CJBO files by hand.
* Object (dae) import via <Model> tag (xml master file) should get you objects with vertex coloring but no functions. In that case add corresponding CJBO files by hand.
This decision would only be needed for consoles.
Doors, furniture?, triggers? and turrets? will lose their original shading in any case.




Line 1,466: Line 1,479:


==Ideas for onisplit==
==Ideas for onisplit==
'''bugfixes'''
'''CJBOs and the shared folder'''
You should be able to use the original OBJC files with the master xml file. But at the moment (v0.9.90.0, Win7 64-bit), BINACJBODoor.xml wants for example:
<Class>doors/TCdouble.oni</Class>
it should be
<Class>TCdouble</Class>
Works:
* Turret
Works not:
* Door
* Colsole
* Trigger
Not tested:
* Funiture
----
'''improvments'''
'''better support for script objects'''
'''better support for script objects'''
                 <Import Path="../level19_Final/compound_script_405.dae">
                 <Import Path="../level19_Final/compound_script_405.dae">
Line 1,475: Line 1,512:
it should be just one line because of the keyword '''''script'''''
it should be just one line because of the keyword '''''script'''''
                 <Import Path="../level19_Final/compound_'''''script'''''_405.dae"/>
                 <Import Path="../level19_Final/compound_'''''script'''''_405.dae"/>
'''door locklight'''
extracting an ONLV to xml should generate an extra file with door locklights ready for the CJBO particle file




----
----
Neo could update OniSplit so that it is searching specific strings in object names of a dae level file.
Neo could update OniSplit so that it is searching specific strings in object names of a dae level file.


'''Doors'''
'''Doors'''
8,452

edits