Modifying an existing level: Difference between revisions

m
no edit summary
(moved notes for level reimports to a new page)
 
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
''Level reimports.''
Instead of [[Creating a level|creating a new level]], you may want to export, modify and re-import an existing level.


==Export of static geometry==
==Export of static geometry==
Line 74: Line 74:


;Scene import
;Scene import
According to Neo that feature is still under development. RIP.
According to Neo that feature was under development. RIP.


==Recycle object lists==
==Recycle object lists==
Line 89: Line 89:


==Lock lights==
==Lock lights==
Door lock lights must be transferred by hand from old an ONLV (ENVP instance) to a) a new ONLV or b) an OBJC particle file.
Door lock lights must be transferred by hand from an old ONLV (ENVP instance) to a) a new ONLV or b) to an OBJC particle file.


For method b), you could use [http://mods.oni2.net/system/files/extract_ENVP.txt THIS] script. The advantage is that you don't need to edit the new ONLV afterward.
For method b), you could use [http://mods.oni2.net/system/files/extract_ENVP.txt THIS] script. The advantage is that you don't need to edit the new ONLV afterward.
Line 95: Line 95:
==OBJC and vertex coloring==
==OBJC and vertex coloring==
* Object (XML) import via <Object> tag (master XML file) will get you objects without any 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 any vertex coloring. (OniSplit will pick *.oni class files from the shared folder.)
* Object (DAE) import via <Model> tag (master SML file) should get you objects with vertex coloring, but no BSL functions. In that case you must add the corresponding OBJC files by hand.
* Object (DAE) import via <Model> tag (master XML file) should get you objects with vertex coloring, but no BSL functions. In that case you must add the corresponding OBJC files by hand.


You can choose between these two methods for consoles, triggers, turrets and furniture without particles. Doors and furniture ''with'' particles always require the XML method.
You can choose between these two methods for consoles, triggers, turrets and furniture without particles. Doors and furniture ''with'' particles always require the XML method.
Line 108: Line 108:
# Add these collected OBOAs and M3GAs to your new ONLV. Make sure that your M3GA IDs aren't already taken; change them if necessary.
# Add these collected OBOAs and M3GAs to your new ONLV. Make sure that your M3GA IDs aren't already taken; change them if necessary.
# Save the ONLV and convert to .oni. Make a package or plugin and test your reimported level.
# Save the ONLV and convert to .oni. Make a package or plugin and test your reimported level.
[[Category:Modding tutorials]]
8,521

edits