XML:BINA/OBJC/PWRU: Difference between revisions
Jump to navigation
Jump to search
Paradox-01 (talk | contribs) m (.. and adding "general notes") |
Paradox-01 (talk | contribs) m (restored image) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{XML_OBJC_Header | type=PWRU | prev=PATR | next=SNDG | name=Power-up list }} | |||
===general notes=== | ===general notes=== | ||
* | * The xml code on this page is based on onisplit '''v0.9.61.0''' | ||
* '''BINACJBOPowerUp.oni''' is level specific. (It can be found in AE/AEInstaller/vanilla/level'''X'''_Final.dat) | |||
* | |||
* Reminder: there are two ways to spawn powerups. | * Reminder: there are two ways to spawn powerups. | ||
: A) By using original or [[ | : A) By using original or [[XML:BINA/OBJC/FLAG|custom teleport flags]] in BSL command "powerup_spawn ''poweruptype:string flag:int''". | ||
: B) And of course by using this powerup | : B) And of course by using this powerup list file. | ||
===XML structure=== | ===XML structure=== | ||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<Oni | <Oni> | ||
< | <Objects> | ||
'''''[...]''''' | '''''[...]''''' | ||
</ | </Objects> | ||
</Oni> | </Oni> | ||
'''''[...]''''' means at least one powerup. Paste all powerup data into there (this includes '''<font color="#0A0">< | '''''[...]''''' means at least one powerup block. Paste all powerup data into there (this includes '''<font color="#0A0"><PWRU Id=""></font>''' and '''<font color="#0A0"></PWRU></font>''' tag). | ||
'''example''' | '''example''' | ||
[[Image:XML_OBJC_PWRU.jpg|thumb|200px]] | |||
[ | |||
'''<font color="#0A0"><PWRU Id="8167"></font>''' | |||
'''<font color="#0A0">< | |||
<Header> | <Header> | ||
<Flags> | <Flags></Flags> | ||
<Position>-988.235 91.172 1513.963</Position> | <Position>-988.235 91.172 1513.963</Position> | ||
<Rotation>0 0 0</Rotation> | <Rotation>0 0 0</Rotation> | ||
Line 38: | Line 32: | ||
<Class>Shield</Class> | <Class>Shield</Class> | ||
</OSD> | </OSD> | ||
'''<font color="#0A0"></ | '''<font color="#0A0"></PWRU></font>''' | ||
===XML tags and options=== | ===XML tags and options=== | ||
* <Flags> : (unknown) | |||
* <Flags> : (unknown | |||
* <Position> : (powerup is spawned at this xyz-position) | * <Position> : (powerup is spawned at this xyz-position) | ||
* <Rotation> : (powerup has xyz-rotation (in degrees) -- usually not used) | * <Rotation> : (powerup has xyz-rotation (in degrees) -- usually not used) | ||
Line 52: | Line 45: | ||
:: Invisibility | :: Invisibility | ||
:: Shield | :: Shield | ||
:: LSI (level specific item; truck keys in level 19, etc..) | :: [[XML:IPge|LSI]] (level specific item; truck keys in level 19, etc..) | ||
===Mod Tool addon=== | |||
[[Image:xsi_addon_powerups_manager.jpg|thumb|200px|right|powerups manager]] | |||
With [[Mod_Tool#OniTools_addon|OniTools.xsiaddon]] version 1 you can drag'n'drop BINACJBOPowerUp'''.oni''' into the view port. | |||
Add or remove powerups, edit position and rotation of powerups as if they were real objects. | |||
When ready, export the data as BINACJBOPowerUp.xml to a folder of your choice. | |||
{{XML}} |
Revision as of 18:47, 12 July 2020
PWRU : Power-up list | ||
---|---|---|
XML
AKEV << Other file types >> CONS TMBD << Other BINA >> ONIE PATR << Other OBJC >> SNDG |
general notes
- The xml code on this page is based on onisplit v0.9.61.0
- BINACJBOPowerUp.oni is level specific. (It can be found in AE/AEInstaller/vanilla/levelX_Final.dat)
- Reminder: there are two ways to spawn powerups.
- A) By using original or custom teleport flags in BSL command "powerup_spawn poweruptype:string flag:int".
- B) And of course by using this powerup list file.
XML structure
<?xml version="1.0" encoding="utf-8"?> <Oni> <Objects> [...] </Objects> </Oni>
[...] means at least one powerup block. Paste all powerup data into 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 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 view port.
Add or remove powerups, edit position and rotation of powerups as if they were real objects.
When ready, export the data as BINACJBOPowerUp.xml to a folder of your choice.