Commit Graph

23 Commits

Author SHA1 Message Date
hikerstk
cb34118707 Made the minimum distance between interpolation control
points and the distance to target at which the rubber
ball starts aiming directly at the target configurable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9550 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-18 03:31:52 +00:00
auria
4112aee9a3 Add sound to swatter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-17 01:18:24 +00:00
auria
342c284892 Remove packs of 3 swatters, make it a little less common
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9500 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-14 23:40:54 +00:00
hikerstk
916dbb9bc1 Karts 'accidentally' hit by a bouncing ball while it is
going to catch if with the leader will now be flattened
(parameters for that are defined in powerup.xml). No
explosion effect is shown anymore for the first kart,
it will only be tossed around.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 06:58:11 +00:00
hikerstk
f2226e1335 Added option to scale powerup models (Arthur, feel free to
tweak the size of the ball - *grin* try "2 5 2" for some fun).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-22 11:47:37 +00:00
hikerstk
1928a0b409 Fixed speed of rubber balls to be really the value specified
in the powerup.xml file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 22:14:55 +00:00
hikerstk
4477862356 Improved bouncing of ball when it is still far away from the kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 06:58:28 +00:00
hikerstk
afb3728995 Added first test version of 'rubber ball' (which might replace
the anchor). Known bugs: atm it does not yet bounce (it follows
just the drivelines and might be partly in the track); the first
kart can't avoid it (long term breaking might allow you to avoid it);
it might hit another kart first and explode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-20 00:39:32 +00:00
auria
3a8df49a9e More minor tweaks to powerup probabilities
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-01 23:17:04 +00:00
auria
30fd8372f0 Remove parachutes from 3 strikes battle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-01 23:07:12 +00:00
hikerstk
da8ec214ce Added a very first version of a swatter (or inflatable hammer).
Details are in the wiki (http://supertuxkart.sourceforge.net/Items).
Note that the model is _obviously_ a placeholder, and I  used
the icon for the bomb (which isn't used in game atm) for the
swatter. I hope someone can provide a better model and icon.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9011 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-22 12:27:48 +00:00
auria
4812ba21dd Tweak weapons in 3 stirkes mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8044 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-24 18:33:53 +00:00
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
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