XML:BINA/OBJC/TURR
Jump to navigation
Jump to search
TURR : Turret | ||
---|---|---|
XML
AKEV << Other file types >> CONS TMBD << Other BINA >> ONIE TRIG << Other OBJC >> WEAP |
General information
- The XML on this page is compatible with OniSplit v0.9.61.0.
- The turret's base is part of the level geometry. (For some reason the <BaseGeometry> of TURR isn't used.)
- BINACJBOTurret is level-specific (levelx_Final.dat).
BSL support
- turret_activate turret_id:int
- turret_deactivate turret_id:int
- turret_reset turret_id:int (resets a turret to initial state)
File structure
<?xml version="1.0" encoding="utf-8"?> <Oni> <Objects> [...] </Objects> </Oni>
[...] means at least one turret. Paste all your turret data in there (this includes the <TURR Id="...">/</TURR> tag).
Example
<TURR Id="8148"> <Header> <Flags></Flags> <Position>-670 45 -755</Position> <Rotation>0 0 0</Rotation> </Header> <OSD> <Class>psm_turret_floor</Class> <TurretId>1</TurretId> <Flags></Flags> <TargetedTeams>Konoko</TargetedTeams> </OSD>
</TURR> <TURR Id="8149">
<Header> <Flags></Flags> <Position>-680.6955 45 -753.459656</Position> <Rotation>0 0 0</Rotation> </Header> <OSD> <Class>sbg_turret_floor</Class> <TurretId>1</TurretId> <Flags>InitialActive</Flags> <TargetedTeams>Konoko</TargetedTeams> </OSD> </TURR>
XML tags and options
XML tag | Content type | Description |
---|---|---|
Flags | flag | Useless, can be left empty.
|
Position | float x3 | XYZ position; turret base must be added in the level's architecture or as a spawnable object (automatic if done via master file?). |
Rotation | float x3 | x y z |
Class | string | TURRname.oni from level0_Final
|
TurretId | integer | Used by laser trigger and BSL commands. |
Flags | flag |
|
<TargetedTeams> | flag | Multiple flags are separated by a space, e.g. <TargetedTeams>Konoko TCTF RogueKonoko</TargetedTeams>
|