Jump to content

XML:ONLV: Difference between revisions

469 bytes added ,  28 June 2020
m
Common mistake with "shared" folder.
(→‎Level releases, forum threads and wiki pages: moving levels to sortable table; isn't this convenient?)
m (Common mistake with "shared" folder.)
Line 235: Line 235:
In the demo are various subfolders in shared folder: consoles, doors, furniture, triggers and turrets.
In the demo are various subfolders in shared folder: consoles, doors, furniture, triggers and turrets.
Following file types comes there without their file prefixes: CONS, DOOR, TRIG, OFGA. OniSplit recognize them nonetheless.
Following file types comes there without their file prefixes: CONS, DOOR, TRIG, OFGA. OniSplit recognize them nonetheless.
'''Common mistake:'''
CJBO files '''need relative paths to the resource instead of names'''. Taking consoles for example: A standard export to xml gives you "console_data". But to use the shared resources these must be paths like "'''consoles/console_data.oni'''" as they are stored at "shared/console/". Note how the demoed "shared" folder is placed next to the [http://mods.oni2.net/node/299 project ("lab")] folder and xml master file points to it via "../shared"
|-
|-
| <Environment>
| <Environment>
8,047

edits