8,018
edits
m (Iritscen moved page OBD talk:BINA/OBJC/TRIG to XML:BINA/OBJC/TRIG without leaving a redirect) |
Paradox-01 (talk | contribs) (+ temp + cat) |
||
Line 1: | Line 1: | ||
{{ | {{XML_OBJC_Header | type=TRIG | prev=TRGV | next=TURR | name=Trigger spawn collection }} | ||
''' | ===general information=== | ||
* The xml code on this page is based on onisplit '''v0.9.61.0''' | |||
* '''BINACJBOTrigger.oni''' is level specific. (It can be found in edition/GameDataFolder/level''XX''_... ) | * '''BINACJBOTrigger.oni''' is level specific. (It can be found in edition/GameDataFolder/level''XX''_... ) | ||
* Extract [http://paradox.oni2.net/OniGalore/BINACJBOTrigger.oni this file] if an update on xml tags is needed. | |||
===BSL support=== | |||
{| | {| class="wikitable" width="100%" | ||
!command | !command | ||
!description | !description | ||
Line 45: | Line 43: | ||
===file structure=== | |||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<Oni> | <Oni> | ||
Line 56: | Line 54: | ||
'''example''' | '''example''' | ||
{| border=0 cellspacing=20 cellpadding=0 | {| border=0 cellspacing=20 cellpadding=0 style="float:right" | ||
| | | | ||
[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/trigger.jpg http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/trigger_preview.jpg] | [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/trigger.jpg http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/trigger_preview.jpg] | ||
Line 93: | Line 91: | ||
'''<font color="#0A0"></TRIG></font>''' | '''<font color="#0A0"></TRIG></font>''' | ||
===tags=== | |||
* <Flags> : unknown | * <Flags> : unknown | ||
* <Position> : (trigger is spawned at this xyz-position) | * <Position> : (trigger is spawned at this xyz-position) | ||
Line 108: | Line 106: | ||
:: trigger_sb3B | :: trigger_sb3B | ||
:: trigger_short | :: trigger_short | ||
:: (link by name to the [[TRIG]] instance (trigger class), which holds the [[M3GM]] of the rail and links to [[TRGE]] (laser emitter class) and [[OBAN]] (animation of the emitters)) | :: (link by name to the [[XML:TRIG|TRIG]] instance (trigger class), which holds the [[XML:M3GM|M3GM]] of the rail and links to [[XML:TRGE|TREG]] (laser emitter class) and [[XML:OBAN|OBAN]] (animation of the emitters)) | ||
:: (Screenshot of each would be good.) | :: (Screenshot of each would be good.) | ||
* <TriggerId> : (used by BSL commands) | * <TriggerId> : (used by BSL commands) | ||
Line 139: | Line 137: | ||
:: (You can have more than one and different event types at same time.) | :: (You can have more than one and different event types at same time.) | ||
===laser movements=== | |||
The hardest part in setting up triggers was pointing them in the correct direction. After much testing here are the Rotation numbers for each direction. - EdT | The hardest part in setting up triggers was pointing them in the correct direction. After much testing here are the Rotation numbers for each direction. - EdT | ||
Line 175: | Line 170: | ||
<Rotation>270 0 0</Rotation>Moves above position<br> | <Rotation>270 0 0</Rotation>Moves above position<br> | ||
<Rotation>90 0 0</Rotation> Moves below position | <Rotation>90 0 0</Rotation> Moves below position | ||
{{XML}} |
edits