XML:BINA/OBJC/DOOR: Difference between revisions

+ temp + cat
m (Iritscen moved page OBD talk:BINA/OBJC/DOOR to XML:BINA/OBJC/DOOR without leaving a redirect)
(+ temp + cat)
Line 1: Line 1:
=[[OBD:BINA/OBJC/DOOR|BINA/OBJC/DOOR]]: doors=
{{XML_OBJC_Header | type=DOOR | prev=CMBT | next=FLAG | name=Door spawn collection }}


{{Template:XMLModdingHints}}
__TOC__
{| border=0 cellspacing=20 cellpadding=0 align=center
| The xml code on this page is based on onisplit '''v0.9.61.0'''
|}


'''general information'''
 
===general information===
* The xml code on this page is based on onisplit '''v0.9.61.0'''
* '''BINACJBODOOR.oni''' is level specific. (It can be found in edition/GameDataFolder/level''XX''_... )
* '''BINACJBODOOR.oni''' is level specific. (It can be found in edition/GameDataFolder/level''XX''_... )
* All original doors and their locklights can be seen [http://ssg.oni2.net/subfold/doors/doors.htm HERE.]
* All original doors and their locklights can be seen [http://ssg.oni2.net/subfold/doors/doors.htm HERE.]




'''XML structure'''
===file structure===
  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
  <Oni>
  <Oni>
Line 45: Line 44:
         '''<font color="#0A0"></DOOR></font>'''
         '''<font color="#0A0"></DOOR></font>'''


'''script function example'''
===script function example===
  ### in BSL file
  ### in BSL file
  func door_test
  func door_test
Line 54: Line 53:
  }
  }


'''tags'''
===tags===
: <Class> name of DOOR file
: <Class> name of [[XML:DOOR|DOOR]] class file
: <Texture1> can be used to replace the texture of DOOR's embedded M3GM
: <Texture1> can be used to replace the texture of DOOR's embedded M3GM


 
===OSD flags===
'''OSD flags'''
  None
  None
  InitialLocked
  InitialLocked
Line 71: Line 69:
  InitialOpen
  InitialOpen


 
===events===
'''events'''
  <Script Function="''calling_this_BSL_function''" />
  <Script Function="''calling_this_BSL_function''" />
  <ActivateTurret TargetId="''Id''" />
  <ActivateTurret TargetId="''Id''" />
Line 84: Line 81:
  <LockDoor TargetId="''Id''" />
  <LockDoor TargetId="''Id''" />
  <UnlockDoor TargetId="''Id''" />
  <UnlockDoor TargetId="''Id''" />
{{XML}}
8,189

edits