Jump to content

XML:ONLV: Difference between revisions

534 bytes added ,  22 February 2013
m
no edit summary
mNo edit summary
mNo edit summary
Line 74: Line 74:


====<Model>====
====<Model>====
This tag is mandatory (it must be present to avoid errors); <Model> contains a link to the AKEV (level) geometry (*.dae) but can also be used for additional objects (*.dae).
This tag is mandatory (it must be present to avoid errors); the model section contains one import path to the AKEV (level) geometry (*.dae) and can contain additional import paths for exceptions (*.dae).
 
Data from the demo:
                <Import Path="env/lab_env.dae"/>
                <Import Path="env/lab_motorcycle.dae">
                    <Node Id="motorcycle">
                        <ScriptId>9</ScriptId>
                        <GunkFlags>NoCollision</GunkFlags>
                    </Node>
                </Import>
 
The motorcycle has here script id 9. You can show and hide the object with bsl command env_show whereby the second parameter means true or false.
 
env_show 9 1
env_show 9 0




8,452

edits