XML:ONLV: Difference between revisions

684 bytes added ,  27 August 2013
m
Notes on conflicting length specification (re-saving a Sketchup dae in Mod Tool) and notes on disappearing AIs on GridIgnore-flagged geometries plus fix
m (updating the PF section again)
m (Notes on conflicting length specification (re-saving a Sketchup dae in Mod Tool) and notes on disappearing AIs on GridIgnore-flagged geometries plus fix)
Line 56: Line 56:
* geometry stops at ca. X=4228|Z=4228 and -4228|-4228 (height not tested)
* geometry stops at ca. X=4228|Z=4228 and -4228|-4228 (height not tested)
* chr_debug_spheres = 1 visualizes collision spheres of characters, then you can check if they fit through a new entrance
* chr_debug_spheres = 1 visualizes collision spheres of characters, then you can check if they fit through a new entrance
==Notes on Mod Tool and Google Sketchup==
Re-saving a dae file - that was originally made in Sketchup - in Mod Tool can result in a surprising change in size within Oni.
That due to a difference in the length specification.
: For example Sketchup dae file has: <unit meter="0.0254000" name="inch" />
: 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.




Line 628: Line 639:


Add simple geometries like ''_marker_impassable fences'' near the BNV to fix the problem.
Add simple geometries like ''_marker_impassable fences'' near the BNV to fix the problem.
'''Disappearing AIs'''
When AIs tend to disappear (fall through the ground) on GridIgnore-flagged geometries, use one of these two BSL commands to avoid the problem:
: chr_lock_active ''AI_name''
: chr_all_active = 1




Line 636: Line 654:
  OniSplit.exe -create:level ''output_folder'' '''-debug''' ''input_folder''/''master_xml_file''.xml
  OniSplit.exe -create:level ''output_folder'' '''-debug''' ''input_folder''/''master_xml_file''.xml


Not all debugging/testing needs to be done in Oni. There also the [http://mods.oni2.net/node/256 file browser] which can display the whole level.
Not all debugging/testing needs to be done in Oni. There also a [http://mods.oni2.net/node/256 file browser] which can display the whole level.


For example you can load the AKEV*.oni, selected the level name and use the hotkeys [B] and [P] to display BNV and ghosts.
For example you can load an AKEV*.oni, select the level name and use hotkeys [B] and [P] to display BNV and ghosts.




8,452

edits