Jump to content

Creating a level: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 392: Line 392:
|valign="top"| <Import>
|valign="top"| <Import>
|valign="top"| link
|valign="top"| link
| File path.
| File path to an OBJC (collection) file. Supported collection files for <Import> are:
 
'''Link to pre-compiled (*.oni) class files inside console, door and furniture collections.''' Use relative paths such as:
: <code>'''consoles/'''console_data'''.oni'''</code>
: <code>'''doors/'''TCdouble'''.oni'''</code>
: <code>'''furniture/'''V_tctf_bigvan'''.oni'''</code>
 
When your are unsure about the folder structure check back on the [http://mods.oni2.net/node/299 demo files].
 
Supported collection files for <Import>
: [[XML:BINA/OBJC/CHAR|Character.xml]] (has to contain player character if there's no AISA file with it)
: [[XML:BINA/OBJC/CHAR|Character.xml]] (has to contain player character if there's no AISA file with it)
: [[XML:BINA/OBJC/CONS|Console.xml]]
: [[XML:BINA/OBJC/CONS|Console.xml]]
Line 417: Line 408:
: [[XML:BINA/OBJC/WEAP|Weapon.xml]]
: [[XML:BINA/OBJC/WEAP|Weapon.xml]]


'''NOT''' supported (you need to import as regular .oni file):
The following two collection files are '''NOT''' supported. You need to import them as regular *.oni file inside the mod package:
: [[XML:BINA/OBJC/MELE|Melee.xml]] (overrides global MELE; not used in vanilla levels)
: [[XML:BINA/OBJC/MELE|Melee.xml]] (overrides global MELE; not used in vanilla levels)
: [[XML:BINA/OBJC/CMBT|Combat.xml]] (overrides global CMBT? not used in vanilla levels)
: [[XML:BINA/OBJC/CMBT|Combat.xml]] (overrides global CMBT? not used in vanilla levels)
'''Inside the following three supported collection files:'''
: '''Link to pre-compiled (*.oni) class files inside console, door and furniture collections.''' Use relative paths such as:
:: <code>'''consoles/'''console_data'''.oni'''</code>
:: <code>'''doors/'''TCdouble'''.oni'''</code>
:: <code>'''furniture/'''V_tctf_bigvan'''.oni'''</code>
When your are unsure about the folder structure check back on the [http://mods.oni2.net/node/299 demo files].
|-
|-
| <Films>
| <Films>
8,013

edits