XML:ONLV: Difference between revisions

11 bytes added ,  23 September 2013
m
no edit summary
m (adding notes on setting default texture format in master xml file -- png import is still buggy (OS 94 tested on a 64-bit windows: 512x512 became 512x256))
mNo edit summary
Line 70: Line 70:
: Re-saved Mod Tool dae file has: <unit meter="0.1" name="decimetre"></unit>
: Re-saved Mod Tool dae file has: <unit meter="0.1" name="decimetre"></unit>


In that case you would need to open the new dae and change the length specification again.
In that case you would need to open the new dae inside a text editor and change the length specification again.




Line 731: Line 731:
This tag is mandatory.
This tag is mandatory.


AKEV textures will be imported by the master xml file automatically, you don't need to write them into the xml master file.
AKEV textures will be imported by the master xml file automatically, you don't need to write them into that file.


: With OniSplit v0.9.82-93.0, the textures' formats will be DXT1 and BGRA4444 (for transparent ones).
: With OniSplit v0.9.82-93.0, the textures' formats will be DXT1 and BGRA4444 (for transparent ones).
Line 788: Line 788:
'''Question:''' How do we apply multiple textures to an AKEV core object?
'''Question:''' How do we apply multiple textures to an AKEV core object?


'''Answer:''' Assuming you are using Mod Tool the procedure will be like this. Repeat this for each cluster you create (expect for projection). See also '''Figure 2 and 3'''.
'''Answer:''' Assuming you are using Mod Tool the procedure will be like this. Repeat this for each cluster you create (except for projection). See also '''Figure 2 and 3'''.


* select some polygons
* select some polygons
Line 1,254: Line 1,254:


===CJBO and vertex coloring===
===CJBO and vertex coloring===
* 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 (master xml 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 (master xml file) should get you objects with vertex coloring but no functions. In that case add corresponding CJBO files by hand.


You can chose between those two methods for consoles, triggers, turrets and furniture without particle.
You can chose between those two methods for consoles, triggers, turrets and furniture without particle.
8,452

edits