Commit Graph

165 Commits

Author SHA1 Message Date
hiker
a65959da42 Replaced upright constraint with simpler code that keeps the kart
in mid air aligned to the gravity. This will also enable jumps in
section where the gravity is not in the default direction.
2014-07-08 16:52:09 +10:00
Bart Cools
41a5b5275b properties group node is not really necessary 2014-07-01 13:32:26 +02:00
Bart Cools
0fa6df587f Removed redundant kart configuration 2014-07-01 12:25:02 +02:00
Bart Cools
1bbd294750 Forgot to add documentation to a single node 2014-07-01 10:43:00 +02:00
Bart Cools
a73462759b Moved the default kart-type to <general-kart-defaults> to better catch missing values in the kart-type nodes. Also moved the documentation again to properly fit the fields. 2014-07-01 10:37:00 +02:00
Bart Cools
109f783fa4 Finally implemented the correct way to parse the data 2014-06-27 23:26:02 +02:00
Bart Cools
000fa2cf73 Fixed skill bars to return correct values. Also minor fix in kart properties 2014-06-26 13:43:53 +02:00
Bart Cools
c3e862f40c fix for different kart properties, now based on kart type set in kart.xml 2014-06-26 12:53:17 +02:00
Bart Cools
0fa746c805 Changes to stk_config to make 3 groups of karts, which will default to the medium, and can be set in the kart.xml 2014-06-26 12:09:22 +02:00
hiker
1903aee114 Changed lower and upper bound (at lower speed less speed should be
lost), capped speed fraction. Tweaked parachutes parameters somewhat.
2014-02-28 23:57:49 +11:00
Bart Cools
89a336ff9a Tweaked the logic of parachutes to be more modifiable. There now is an upper bound percentage and lower bound percentage which will be applied if you are driving faster and slower respectively. Also added those values in stk_config.xml to make playtesting easier (ticket #1135) 2014-02-28 11:10:25 +01:00
auria
b1c8898b54 Bump track XML version number to 6
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14948 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 00:05:40 +00:00
hikerstk
09dc33d07e Moved the glowing data from stk_config.xml to items.xml.
Unfortunately I can't test (since the shaders don't work for me).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 12:24:26 +00:00
samuncle
b0ce591330 Better outline (glow) color for: banana, bubblegum, box and nitro
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 23:18:49 +00:00
auria
5899a26aad Merge cand's graphical improvements branch!! There are many known issues folks, so don't cry victory just now, this is just the beginning. Especially, shadows do not work correctly at this time
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-30 21:33:06 +00:00
funto66
550302488e New XML syntax for the speed-weighted objects: now we can have several speed-weighted objects with different parameter values in a single kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-02 00:20:48 +00:00
funto66
734fef45a9 Added speed-weighted texture animations, as requested by samuncle.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-31 23:46:36 +00:00
hikerstk
3d4664bd89 Repository recovery 9: former r14324
Made speed-weighted animations slower. That was part of r14324, but appears
to have been done accidentally. Auria, can you please confirm that you did
this on purpose?


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-28 10:08:53 +00:00
hikerstk
71c66d2eff Repository recovery 8: former r14328
Now that the nitro meter no longer features visible marks, adjust back the max nitro amount to what it was before, and restore back the old less easy nitro challenge on XR591


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-28 10:03:16 +00:00
funto66
831d27efbc Added "speed-weighted objects" functionality (so that we can have animations whose strength and speed grows with the kart's speed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-22 13:44:08 +00:00
hikerstk
2da9ab0845 Make the AI handle bubblegum better (esp. using shield).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-17 05:58:56 +00:00
hikerstk
df9d90b342 Merged bubble bum branch into trunk. The new bubble gum
shield is still work in progress.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-08 03:11:03 +00:00
hikerstk
2ff62c4d97 Added support for jump animation, which will triggered
if either the estimated jump duration is long enough,
or the texture the kart was on before it jumped has
a jump property set.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 07:24:47 +00:00
hikerstk
674be5b6d0 1) Fix #1011 by re-implementing the bubblegum not as a
damping of velocity, but as a max_speed restriction.
2) Bubblegum parameters are now fully configurable in
   stk_config.xml.
3) Apply slowdown fraction also to speed increases
   (e.g. previously a max speed of 23 with a zipper
   giving a 15  additional speed with a slowdown of
   0.3 would end up as: 23*0.3 + 15 = 21.9.
   Now it is (23+15)*0.3 = 11.4. While this was done
   mainly for bubble gums, it can affect other items
   as well.
4) Used bubblegum as one word consistenly in variable
   names and xml files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-27 22:25:36 +00:00
hikerstk
f147d8e662 Added some (experimental) leaning for karts driving fast in
a curve. Feedback welcome (note many karts have some leaning
in their animation, best use a kart like suzanne which doesn't
do that).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 11:00:53 +00:00
hikerstk
9a9ff77812 iAdded new 'best' AI difficulty. ATM this is not locked yet, and
art work (icon) is still missing. Also we have to find what
to call it (atm 'Iron Man').


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-11 06:17:46 +00:00
hikerstk
b163cd8406 Fixed documentation to be in synch with the values actually used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-02 22:44:09 +00:00
hikerstk
29be45b198 Added preliminary easter-egg mode. It still needs a icon (battle mode
used atm), and a better easter egg model (atm bunny from snow mountain,
... whith turns out has lost the black nose). One track has easter eggs
added (math class).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-17 00:33:47 +00:00
hikerstk
ce5be5400b Made steering a bit faster at lower steering angles, and
a bit slower at higher angles - feedback please ;)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-30 11:47:15 +00:00
auria
5bacdb5787 Start adding new music by Bollen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-21 23:23:24 +00:00
hikerstk
43b7f28d54 Added a setting to stk_config.xml to replace normals that are
'too different' from the normal of the triangle with the
normal of the triangle for interpolating the normals which
are used by the physics.
This should make 'smooth normals' more useful for tracks where
track and (say) a wall are connected, resulting in incorrect
normals for the physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-18 22:22:30 +00:00
hikerstk
3b4c5f3bbb Made steering for keyboards less sensitive (or slower)
at smaller steering angles, and a bit more fast at higher
steering angles (resulting in overall the same time-till-full steer).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-15 01:20:36 +00:00
hikerstk
49f54f2aee Added different impulse in case of a kart-track collision
(just acting along the normal). This solves some of the odd
behaviour with the previous implementation if the kart is
off track. The new way is now the default, but the 'push
towards driveline' can be set in stk_config.xml.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-11 21:56:54 +00:00
hikerstk
e3b57e5de0 Added separate setting for time back from full steer to
steering straight, which might reduce oversteering somewhat.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-07 23:28:48 +00:00
hikerstk
d3878846f6 Made slipstream area smaller again, to make it more difficult to get the
slipstream boost.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-30 22:28:13 +00:00
hikerstk
7c69adcc56 Added setting for disabling slipstream bonus (to be used mainly
with easy AI to make sure building train doesn't give it too much
bonus on easy) ... and fixed the existing implementation of
not giving a slipstream bonus to actually work ;)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-30 12:05:23 +00:00
auria
b039f43a42 Cap the easy AI even more to compensate for it being so good at slipstreaming
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-30 01:06:50 +00:00
auria
132cda55c4 Tweak easy AI a little
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-30 00:36:56 +00:00
hikerstk
fb84565bf8 Added probability to collect an item for the AI, to allow us
to make it a bit less competitive.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-29 22:06:17 +00:00
hikerstk
eebdd939b0 Made slipstream area wider (at the side that furthest
away from the kart), so that it's hopefully a bit easier
to get slipstream.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-26 05:12:59 +00:00
hikerstk
ddea03ebe5 'Animated' the plunger-in-face somewhat, and additionally reduced
plunger-in-face time somewhat.
Atm you can test by pressing F1 in a race (which I'll remove soonish).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-25 21:51:07 +00:00
hikerstk
bbf071aec5 Added a minimum skidding speed (below which a kart can't skid),
which also fixes #716.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-25 06:03:59 +00:00
hikerstk
8a66199676 Reduced 'bounciness' of kart-kart collisions. Thanks to
Arthur for tweaking the parameter!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-25 05:44:25 +00:00
hikerstk
ee77f789f9 Tweaked easy and medium AI, resorted a few attributes to be
more consistent.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11751 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-23 21:23:15 +00:00
hikerstk
ecc1212c11 Allow changing the various levels of AI mostly using
the stk_config file.
Note at this stage no tuning of easy or medium level was
done, this version should behave the same as the hard-coded
version.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-22 21:51:05 +00:00
hikerstk
b04194303a AIs will now reduce their speed if they are too far ahead of the
player.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-17 06:14:43 +00:00
hikerstk
fbb9e5f8d2 Refactoring: interpolating values is now handled in a separate class
InterpolationArray. This class is now used for the skidding probability
of the AI and the turn radius of all karts (which depends on speed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-16 05:51:46 +00:00
hikerstk
ef2a1524c4 Added a skidding probability which is dependent on the to the
first player (i.e. slightly rubber-banding the AI).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-14 20:59:51 +00:00
auria
4a53da0219 Hopefully this is not too controversial. Make the difference between levels of difficulty rely less on speed. So that people can go medium to get an easier AI, without having to drive at sluggish speeds
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-06 22:43:23 +00:00
hikerstk
5b623927d8 Reset time-full-steer, which was committed by accident.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-27 14:19:18 +00:00