Jump to content

XML:BINA/OBJC/WEAP: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 11: Line 11:
'''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 weapon. Paste all weapon data into there (this includes '''<font color="#0A0"><Object ...></font>''' and '''<font color="#0A0"></Object></font>''' tag).
'''''[...]''''' means at least one weapon. Paste all weapon data into there (this includes '''<font color="#0A0"><WEAP Id="..."></font>''' and '''<font color="#0A0"></WEAP></font>''' tag).


'''example'''
'''example'''
Line 25: Line 25:
|}
|}


         '''<font color="#0A0"><Object Id="8240" Type="WEAP"></font>'''
         '''<font color="#0A0"><WEAP Id="8240"></font>'''
             <Header>
             <Header>
                 <Flags>0</Flags>
                 <Flags></Flags>
                 <Position>-1519 45 1521</Position>
                 <Position>-1519 45 1521</Position>
                 <Rotation>180 0 0</Rotation>
                 <Rotation>180 0 0</Rotation>
Line 34: Line 34:
                 <Class>w14_sbg2</Class>
                 <Class>w14_sbg2</Class>
             </OSD>
             </OSD>
         '''<font color="#0A0"></Object></font>'''
         '''<font color="#0A0"></WEAP></font>'''




Line 58: Line 58:
:: (any [[AE:New_weapons|other AE or custom weapon]] without file pre- and suffix; e.g. ONWCw24_psr.oni is just called by w24_psr)
:: (any [[AE:New_weapons|other AE or custom weapon]] without file pre- and suffix; e.g. ONWCw24_psr.oni is just called by w24_psr)
:: (ONWC files are stored in level0)
:: (ONWC files are stored in level0)
Extract [http://paradox.oni2.net/OniGalore/BINACJBOWeapon.oni this file] if an update on xml tags is needed.
8,201

edits