Jump to content

XML:BINA/OBJC/TURR: Difference between revisions

m
no edit summary
m (Undo revision 18845 .. >_< found it, works fine now)
mNo edit summary
Line 16: Line 16:
===XML structure===
===XML structure===
  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
  <Oni Version="0.9.28.0">
  <Oni>
     <ObjectCollection>
     <Objects>
         '''''[...]'''''
         '''''[...]'''''
     </ObjectCollection>
     </Objects>
  </Oni>
  </Oni>


'''''[...]''''' means at least one turret. Paste all turret data into there (this includes '''<font color="#0A0"><Object ...></font>''' and '''<font color="#0A0"></Object></font>''' tag).
'''''[...]''''' means at least one turret. Paste all turret data into there (this includes '''<font color="#0A0"><TURR Id="..."></font>''' and '''<font color="#0A0"></TURR></font>''' tag).


'''example'''
'''example'''
Line 29: Line 29:
[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/turrets.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/turrets_preview.png]
[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/turrets.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/turrets_preview.png]
|}
|}
         '''<font color="#0A0"><Object Id="8148" Type="TURR"></font>'''
         '''<font color="#0A0"><TURR Id="8148"></font>'''
             <Header>
             <Header>
                 <Flags>0</Flags>
                 <Flags></Flags>
                 <Position>-670 45 -755</Position>
                 <Position>-670 45 -755</Position>
                 <Rotation>0 0 0</Rotation>
                 <Rotation>0 0 0</Rotation>
Line 38: Line 38:
                 <Class>psm_turret_floor</Class>
                 <Class>psm_turret_floor</Class>
                 <TurretId>1</TurretId>
                 <TurretId>1</TurretId>
                 <Flags>0</Flags>
                 <Flags></Flags>
                 <TargetedTeams>Konoko</TargetedTeams>
                 <TargetedTeams>Konoko</TargetedTeams>
             </OSD>
             </OSD>
         '''<font color="#0A0"></Object></font>'''
         '''<font color="#0A0"></TURR></font>'''
         '''<font color="#0A0"><Object Id="8149" Type="TURR"></font>'''
         '''<font color="#0A0"><TURR Id="8149"></font>'''
             <Header>
             <Header>
                 <Flags>0</Flags>
                 <Flags></Flags>
                 <Position>-680.6955 45 -753.459656</Position>
                 <Position>-680.6955 45 -753.459656</Position>
                 <Rotation>0 0 0</Rotation>
                 <Rotation>0 0 0</Rotation>
Line 51: Line 51:
                 <Class>sbg_turret_floor</Class>
                 <Class>sbg_turret_floor</Class>
                 <TurretId>1</TurretId>
                 <TurretId>1</TurretId>
                 <Flags>2</Flags>
                 <Flags>InitialActive</Flags>
                 <TargetedTeams>Konoko</TargetedTeams>
                 <TargetedTeams>Konoko</TargetedTeams>
             </OSD>
             </OSD>
         '''<font color="#0A0"></Object></font>'''
         '''<font color="#0A0"></TURR></font>'''




===XML tags and options===
===XML tags and options===
* <Flags>
* <Flags>
:: 1 (unknown)
:: 8 (unknown)
* <Position> (turret is spawned at this position; turret pod must be added in level architecture or as spawnable object)
* <Position> (turret is spawned at this position; turret pod must be added in level architecture or as spawnable object)
* <Class>
* <Class>
Line 73: Line 71:
:: scr_turret_... (scr stands for Screamer Cannon)
:: scr_turret_... (scr stands for Screamer Cannon)
:: vdg_turret_... (vdg stands for Van de Graaff Pistol)
:: vdg_turret_... (vdg stands for Van de Graaff Pistol)
:: (<font color="#AAAAAA">TURR</font>''name''<font color="#AAAAAA">.oni</font> from level0_Final)
* <TurretId> (used by [[OBD_talk:BINA/OBJC/TRIG|laser trigger]] and BSL commands)
* <TurretId> (used by [[OBD_talk:BINA/OBJC/TRIG|laser trigger]] and BSL commands)
* <Flags>
* <Flags>
:: 2 (unknown)
:: InitialActive
* <TargetedTeams>
* <TargetedTeams>
:: Konoko
:: Konoko
Line 83: Line 82:
:: SecurityGuard
:: SecurityGuard
:: RogueKonoko
:: RogueKonoko
:: Switzlerland
:: Switzerland
:: SyndicateAccessory
:: SyndicateAccessory
:: (multiple flags are separeted by a space e.g. <TargetedTeams>Konoko TCTF RogueKonoko</TargetedTeams>)
:: (multiple flags are separated by a space e.g. <TargetedTeams>Konoko TCTF RogueKonoko</TargetedTeams>)
 
 
Extract [http://paradox.oni2.net/OniGalore/BINACJBOTurret.oni this file] if an update on xml tags is needed.
8,018

edits