8,168
edits
m (Iritscen moved page OBD talk:BINA/OBJC/PWRU to XML:BINA/OBJC/PWRU without leaving a redirect) |
Paradox-01 (talk | contribs) (let's make a new category "XML data docs" ?) |
||
Line 1: | Line 1: | ||
= | {{XML_OBJC_Header | type=PWRU | prev=PATR | next=SNDG | name=Powerup }} | ||
===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 edition/GameDataFolder/level''XX''_... ) | * '''BINACJBOPowerUp.oni''' is level specific. (It can be found in edition/GameDataFolder/level''XX''_... ) | ||
* 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 collection file. | : B) And of course by using this powerup collection file. | ||
===XML structure=== | ===XML structure=== | ||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<Oni> | <Oni> | ||
Line 22: | Line 18: | ||
'''''[...]''''' 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). | '''''[...]''''' 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''' | ||
{| border=0 cellspacing=20 cellpadding=0 | {| border=0 cellspacing=20 cellpadding=0 style="float:right" | ||
| | | | ||
[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/powerup.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/powerup_preview.png] | [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/powerup.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/powerup_preview.png] | ||
Line 42: | Line 37: | ||
===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) | ||
Line 52: | Line 46: | ||
:: Invisibility | :: Invisibility | ||
:: Shield | :: Shield | ||
:: [[ | :: [[XML:IPge|LSI]] (level specific item; truck keys in level 19, etc..) | ||
[[Category:XML data docs]] |
edits