Commit Graph

10 Commits

Author SHA1 Message Date
hikerstk
d93c33dcdb 1) Multiplied all weights by 10 (to have more granularity adjusting weights for
global powerups).
2) Weights for global powerups (parachute and switch) are divided by num_karts-4
   if more than 4 karts are being used (see bug 3107638).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 05:44:38 +00:00
hikerstk
8e519d1959 Disabled multiple bubble gums to make it less easy to
drop three bubble gums, collect a switch and in the next
lap collect three nitros.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 22:57:57 +00:00
hikerstk
b470f5d3e0 Disabled multiple parachutes, when running with many karts the race
becomes a parachute-slowdown-race only.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-12 00:15:32 +00:00
hikerstk
033688e595 Updated documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 00:57:03 +00:00
hikerstk
78346e3ddf Added support for multiple powerups to be collected with one item
box. Weights for these are set in powerup.xml. ATM a 'multi item'
gives three items (hardcoded, I'll change that to be configurable
later).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 14:48:05 +00:00
hikerstk
b03dec0eb3 Made it less likely to get a switch (1/3 less likely then previously).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 01:45:14 +00:00
hikerstk
56ebedd175 Fixed item handling in battle modes by adding an additional 'position class'
to data/powerup.xml for battle modes. This makes it unnecessary that modes
can select which powerup are available, therefore this code was cleaned up.
Also added some minor code simplifications.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 13:54:49 +00:00
hikerstk
e9413ccf46 The probability of which item is collected now depends on the race
position. The actual distribution is defined in powerup.xml (and
probably needs some adjustments).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 01:11:22 +00:00
mbjornstk
95a8bd469c Replace parachute with new version (TODO: animation and new icon).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-29 01:48:44 +00:00
hikerstk
93e15df841 1) Replaced all .projectile files with one powerup.xml file,
replaced items.item with items.xml. Cleaned up item_manager
   and removed support for different item styles (since it
   didn't work anyway)
2) If a swapper item is used while items are swapped, they will
   now un-swap.
3) Moved all models and textures from data/items to data/models.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 02:05:21 +00:00