stk-code_catmod/data/powerup.xml
auria a50e0fe660 Tweak items distribution a little
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-27 23:16:56 +00:00

55 lines
2.8 KiB
XML

<?xml version="1.0"?>
<powerup>
<item name="zipper" icon="zipper_collect.png" />
<item name="bowling" icon="bowling-icon.png"
model="bowling.b3d" speed="4.0"
min-height="0.2" max-height="1.0"
force-updown="1" force-to-target="40"
max-distance="25" />
<item name="bubblegum" icon="bubblegum-icon.png" />
<item name="cake" icon="cake-icon.png"
model="cake.b3d" speed="50"
min-height="0.2" max-height="1.0"
force-updown="25" max-distance="90" />
<item name="anchor" icon="anchor-icon.png"
model="anchor.b3d" />
<item name="switch" icon="swap-icon.png" />
<item name="parachute" icon="parachute-icon.png"
model="parachute.b3d" />
<item name="plunger" icon="plunger-icon.png"
model="plunger.b3d" speed="35"
min-height="0.2" max-height="1.0"
force-updown="35" force-to-target="15"
max-distance="25" />
<!-- Distribution of the items depending on position of the
kart (first kart, top 33%, middle 33%, bottom 33% (but
not last), last kart. i
The order of items must correspond to powerup_manager.hpp.
The first line (w=...) corresponds to the weights of
getting a single item, the second line (w-multi) to
getting three identical items instead of just a single one.
E.g. as the first kart, you have 3/8 of a chance to get
a single bubble gum, 1/8 to get a bowling ball or switch,
and 3/8 to get a triple bubble gum.
'Global' items which affect all karts (switch) should
be quite rare, since otherwise the item might be used
too often (compared with many items which will only
affect a karts or two). -->
<!-- bubble cake bowl zipper plunger switch para anvil -->
<first w="25 5 15 5 10 10 0 0"
w-multi=" 0 0 5 0 0 0 0 0" />
<top33 w="30 30 30 30 30 10 30 0"
w-multi=" 0 10 10 0 10 0 0 0" />
<mid33 w="30 30 30 30 30 10 30 0"
w-multi=" 0 20 20 20 20 0 0 0" />
<end33 w=" 0 30 30 30 30 10 30 30"
w-multi=" 0 30 30 30 30 0 0 0" />
<last w=" 0 30 30 60 60 0 60 60"
w-multi=" 0 30 30 60 60 0 0 0" />
<battle w=" 0 30 60 0 0 0 0 0"
w-multi=" 0 10 20 0 0 0 0 0" />
</powerup>