8,018
edits
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 44: | Line 44: | ||
'''XML structure''' | '''XML structure''' | ||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<Oni | <Oni> | ||
< | <Objects> | ||
'''''[...]''''' | '''''[...]''''' | ||
</ | </Objects> | ||
</Oni> | </Oni> | ||
'''''[...]''''' means at least one trigger. Paste all trigger data into there (this includes '''<font color="#0A0">< | '''''[...]''''' means at least one trigger. Paste all trigger data into there (this includes '''<font color="#0A0"><TRIG Id="..."></font>''' and '''<font color="#0A0"></TRIG></font>''' tag). | ||
'''example''' | '''example''' | ||
Line 58: | Line 58: | ||
|} | |} | ||
'''<font color="#0A0">< | '''<font color="#0A0"><TRIG Id="8136"></font>''' | ||
<Header> | <Header> | ||
<Flags> | <Flags></Flags> | ||
<Position>-445 68 -1362</Position> | <Position>-445 68 -1362</Position> | ||
<Rotation>270 8.65141646E-06 180.000015</Rotation> | <Rotation>270 8.65141646E-06 180.000015</Rotation> | ||
Line 75: | Line 75: | ||
<Offset_0077>0</Offset_0077> | <Offset_0077>0</Offset_0077> | ||
<Events> | <Events> | ||
<Script Function="calling_this_BSL_function" /> | |||
<ActivateTurret TargetId="1" /> | <ActivateTurret TargetId="1" /> | ||
<DeactivateTurret TargetId="2" /> | |||
<ActivateConsole TargetId="3" /> | |||
<DeactivateConsole TargetId="4" /> | |||
<ActivateAlarm TargetId="5" /> | |||
<DeactivateAlaram TargetId="6" /> | |||
<ActivateTrigger TargetId="7" /> | |||
<DeactivateTrigger TargetId="8" /> | |||
<LockDoor TargetId="9" /> | |||
<UnlockDoor TargetId="10" /> | |||
</Events> | </Events> | ||
</OSD> | </OSD> | ||
'''<font color="#0A0"></ | '''<font color="#0A0"></TRIG></font>''' | ||
'''tags''' | '''tags''' | ||
Line 117: | Line 127: | ||
:* <DeactivateTurret TargetId="Id" /> | :* <DeactivateTurret TargetId="Id" /> | ||
:* <ActivateConsole TargetId="Id" /> | :* <ActivateConsole TargetId="Id" /> | ||
:* <DeactivateConsole TargetId="Id" / | :* <DeactivateConsole TargetId="Id" /> | ||
:* <ActivateAlarm TargetId="Id" /> | :* <ActivateAlarm TargetId="Id" /> | ||
:* <DeactivateAlaram TargetId="Id" /> | :* <DeactivateAlaram TargetId="Id" /> | ||
Line 123: | Line 133: | ||
:* <DeactivateTrigger TargetId="Id" /> | :* <DeactivateTrigger TargetId="Id" /> | ||
:* <LockDoor TargetId="Id" /> | :* <LockDoor TargetId="Id" /> | ||
:* <UnlockDoor TargetId="Id" / | :* <UnlockDoor TargetId="Id" /> | ||
:: (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 | |||
http://edt.oni2.net/Lair_Tutorial/Triggerface0.jpg | |||
Laser Direction 0<br> | |||
<Rotation>0 90 0</Rotation> Moves left of position<br> | |||
<Rotation>180 90 0</Rotation> Moves right of position<br> | |||
<Rotation>270 90 0</Rotation>Moves above position<br> | |||
<Rotation>90 90 0</Rotation> Moves below position | |||
Laser Direction 90<br> | |||
<Rotation>0 180 0</Rotation> Moves left of position<br> | |||
<Rotation>180 180 0</Rotation> Moves right of position<br> | |||
<Rotation>270 180 0</Rotation>Moves above position<br> | |||
<Rotation>90 180 0</Rotation> Moves below position | |||
Laser Direction 180<br> | |||
<Rotation>0 270 0</Rotation> Moves left of position<br> | |||
<Rotation>180 270 0</Rotation> Moves right of position<br> | |||
<Rotation>270 270 0</Rotation>Moves above position<br> | |||
<Rotation>90 270 0</Rotation> Moves below position<br> | |||
Laser Direction 270<br> | |||
<Rotation>0 0 0</Rotation> Moves left of position<br> | |||
<Rotation>180 0 0</Rotation> Moves right of position<br> | |||
<Rotation>270 0 0</Rotation>Moves above position<br> | |||
<Rotation>90 0 0</Rotation> Moves below position |
edits