XML:BINA/OBJC/TRGV: Difference between revisions

+ temp + cat
m (Iritscen moved page OBD talk:BINA/OBJC/TRGV to XML:BINA/OBJC/TRGV without leaving a redirect)
(+ temp + cat)
Line 1: Line 1:
=[[OBD:BINA/OBJC/TRGV|BINA/OBJC/TRGV]]: trigger volumes (TV)=
{{XML_OBJC_Header | type=TRGV | prev=TRIG | next=SNDG | name=Trigger Volumes (TVs) }}


{{Template:XMLModdingHints}}
===general information===
{| border=0 cellspacing=20 cellpadding=0 align=center
| The xml code on this page is based on onisplit '''v0.9.61.0'''
|}
 
'''general information'''
* '''BINACJBOTrigger Volume.oni''' is level specific. (It can be found in edition/GameDataFolder/level''XX''_... )
* '''BINACJBOTrigger Volume.oni''' is level specific. (It can be found in edition/GameDataFolder/level''XX''_... )
* The xml code on this page is based on onisplit '''v0.9.61.0'''


 
===file structure===
'''XML structure'''
{|width=200px border=0 cellspacing=20 cellpadding=0 style="float:right"
<?xml version="1.0" encoding="utf-8"?>
<Oni>
    <Objects>
        '''''[...]'''''
    </Objects>
</Oni>
 
'''''[...]''''' means at least one trigger volumen. Paste all tv data into there (this includes '''<font color="#0A0"><TRGV Id="..."></font>''' and '''<font color="#0A0"></TRGV></font>''' tag).
 
'''example'''
{|width=200px border=0 cellspacing=20 cellpadding=0 align=right
|[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/trigger_volume.jpg http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/trigger_volume_preview.jpg]
|[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/trigger_volume.jpg http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/trigger_volume_preview.jpg]


Line 34: Line 19:
* chr_location 0 ''x y z''
* chr_location 0 ''x y z''
|}
|}
<?xml version="1.0" encoding="utf-8"?>
<Oni>
    <Objects>
        '''''[...]'''''
    </Objects>
</Oni>
'''''[...]''''' means at least one trigger volume. Paste all tv data into there (this includes '''<font color="#0A0"><TRGV Id="..."></font>''' and '''<font color="#0A0"></TRGV></font>''' tag).
'''example'''
         '''<font color="#0A0"><TRGV Id="7383"></font>'''
         '''<font color="#0A0"><TRGV Id="7383"></font>'''
             <Header>
             <Header>
Line 61: Line 57:
  - 633.4166 + 46  = -587.4166 = z_blue_line_end
  - 633.4166 + 46  = -587.4166 = z_blue_line_end


'''tags'''
 
===tags===
* <Flags>
* <Flags>
:: Locked
:: Locked
Line 100: Line 97:
'''Resetting the trigger volume'''
'''Resetting the trigger volume'''
:'''trigvolume_reset(string tv_name)''' resets the TV to its preset state. The primary use of this is to re-enable "entry", "inside" or "exit" calls once the TV has been triggered (only necessary if the respective trigger-only-once flags are set of course). Note that some or all the TV functions are disabled at level load, you'll have to enable them manually after resetting the TV.
:'''trigvolume_reset(string tv_name)''' resets the TV to its preset state. The primary use of this is to re-enable "entry", "inside" or "exit" calls once the TV has been triggered (only necessary if the respective trigger-only-once flags are set of course). Note that some or all the TV functions are disabled at level load, you'll have to enable them manually after resetting the TV.
{{XML}}
8,018

edits