XML:BINA/OBJC/PWRU: Difference between revisions
Jump to navigation
Jump to search
m (copy-edit) |
m (link fix) |
||
Line 48: | Line 48: | ||
[[Image:xsi_addon_powerups_manager.jpg|thumb|200px|right|Powerups manager]] | [[Image:xsi_addon_powerups_manager.jpg|thumb|200px|right|Powerups manager]] | ||
With [[Mod_Tool | With [[Mod_Tool/OniTools_addon|OniTools.xsiaddon]] version 1, you can drag'n'drop BINACJBOPowerUp'''.oni''' into the viewport. Add or remove powerups and edit their position and rotation as if they were real objects. When ready, export the data as BINACJBOPowerUp.xml to a folder of your choice. | ||
{{XML}} | {{XML}} |
Latest revision as of 12:25, 5 April 2021
PWRU : PowerUp | ||
---|---|---|
XML
AKEV << Other file types >> CONS TMBD << Other BINA >> ONIE PATR << Other OBJC >> TRGV |
General notes
- The XML on this page is based on OniSplit v0.9.61.0.
- BINACJBOPowerUp is level-specific (levelx_Final.dat).
- Reminder: there are two ways to spawn powerups.
- A) By using the original or custom teleport flags via the BSL command "powerup_spawn poweruptype:string flag:int".
- B) By using this powerup collection file.
XML structure
<?xml version="1.0" encoding="utf-8"?> <Oni> <Objects> [...] </Objects> </Oni>
[...] means at least one powerup block. Paste all your powerup data in there (this includes <PWRU Id=""> and </PWRU> tag).
Example
<PWRU Id="8167"> <Header> <Flags></Flags> <Position>-988.235 91.172 1513.963</Position> <Rotation>0 0 0</Rotation> </Header> <OSD> <Class>Shield</Class> </OSD> </PWRU>
XML tags and options
- <Flags>: unknown
- <Position>: powerup is spawned at this XYZ position
- <Rotation>: powerup has this XYZ rotation in degrees — usually not used
- <Class>
- Ammo
- EnergyCell
- Hypo
- Invisibility
- Shield
- LSI (level specific item; truck keys in level 19, etc.)
Mod Tool addon
With OniTools.xsiaddon version 1, you can drag'n'drop BINACJBOPowerUp.oni into the viewport. Add or remove powerups and edit their position and rotation as if they were real objects. When ready, export the data as BINACJBOPowerUp.xml to a folder of your choice.