Commit Graph

250 Commits

Author SHA1 Message Date
hikerstk
413fca22b2 Increased supported track version to 5 (weather now has its own node).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 02:55:20 +00:00
hikerstk
c78373433f Disabled smooth normals (I incorrectly committed the wrong version).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7606 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-04 00:34:33 +00:00
hikerstk
9c56bd4781 Added setting for smoothing normals (default is still off till all tracks are fixed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 21:39:03 +00:00
hikerstk
4ab6331ff4 Update to bullet-2.77.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:04:13 +00:00
hikerstk
b7bf16a5f8 Zippers are now stored as their own node, and not as
attributes only. Track version number was increased to
4, but old version 3 tracks can still be read.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-25 09:29:27 +00:00
hikerstk
78497a6a0a Fixed 3153446 (gnu would not drive properly on zippers). Reason
was an incorrect default (hardcoded default, instead of a
default that depends on the dimension of the kart).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7524 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 05:37:09 +00:00
auria
a08c58ceae Reduced plunger in face time as per feedback on RC1
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6879 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 01:09:49 +00:00
hikerstk
4696f1b323 Increase max speed if a rubber band is being used. Settings can
be adjusted in stk_config.xml.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 10:41:13 +00:00
auria
29889c6f8f New engine values by yekcim
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-16 01:04:07 +00:00
hikerstk
be3a68253d Increased supported track versions in order to avoid
using tracks that have incorrect lap counting.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6531 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-14 21:48:28 +00:00
auria
9da769d26e Change stk_config.xml back to what it used to be, reducing friction is no more necessary from this side of things
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 00:41:05 +00:00
auria
905219f0b2 Added to-be-reviewed code to make driving vertically impossible (I'm not sure of the way I determine how vertical we are so I'd welcome testing and revieing)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-10 23:53:14 +00:00
hikerstk
07f6ffb194 Re-enabled skidding, but tuned so that it won't affect
'normal' driving, but will stop some of the vertical
driving.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6494 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-10 22:01:14 +00:00
hikerstk
c39cf57971 Support for nitro, slipstream and zipper to become faster than a kart's
maximum speed. Parameter in data/stk_config might need more tweaking.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 06:28:58 +00:00
hikerstk
0f0c74f391 Added new object to handle max-speed of karts. ATM it will slow down
depending on terrain, so zipper etc. handling is not yet finished but
will come soon.
Also zipper parameters can now be specified per kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 00:52:50 +00:00
hikerstk
eae17a7133 Made the plunger-in-face duration configurable and dependent on
difficulty.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 11:08:22 +00:00
hikerstk
93701ed482 Set the max-speed value to more realistic/useful values (e.g. max
speed for high level was 32 m/s, but karts hardly ever even reached
23 m/s). So lower level driving is now indeed slower.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:03:47 +00:00
hikerstk
dfc6ee4a8e Applied Arthur's tweaking of the startup boost - please test and give
feedback ;)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-30 23:10:42 +00:00
hikerstk
4976d9d60c Made the backwards facing camera using a higher angle to make
it more useful (actual angle can be determined in stk_config.xml).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-27 12:15:19 +00:00
hikerstk
2c7213b83e 1) Added support for AI steering variations: AI karts will now not
steer to the same driveline point, but to points slightly to
   the left and right. The maximum variation is defined in
   stk_config.xml (and should be between 0 and 1).
   ATM THIS IS DISABLED! Since in my tests it appears that
   the AI is not driving as good as previously anymore, i.e.
   it drives more S-lines on straights etc. To enable this change
   steering_variation in stk_config.xml
2) AI now handles multi-items better by waiting a certain amount
   of time before using the next item.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6123 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 07:21:52 +00:00
hikerstk
58116b66be Made the up-angle relative to the pitch of the kart configurable.
It now defaults to 15 degrees (it was 30 degrees, but accidentally
a hard coded value of 15 was committed in r6110).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 03:43:10 +00:00
hikerstk
f9ac707095 Fixed incorrect setting of max speed and engine power depending on
level - low level actually drove faster.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 01:44:26 +00:00
hikerstk
3db98d8ba7 Added a 'powerup collect' mode setting to stk config. This controls
what happens if a kart already has a powerup when it hits a bous box:
you can get one more item of the same kind, one new item, or only one
more item if a random item is the same one as the one you currently have
(the latter being the old STK mode). stk_config.xml now sets 'new'
(always get a new randomly chosen item) as mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 01:15:16 +00:00
hikerstk
2fccabe733 Raised kart limit to 20 (which was the previous limit in the gui).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6024 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 03:53:09 +00:00
hikerstk
92d18a7a25 Definitions for GP points is now independent of the maximum number of karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 02:31:20 +00:00
hikerstk
0e84cdf091 Modified behaviour of startup boost: instead of giving it to the first
two karts, it is now given for all karts starting withint a certain
amount of time. These times and boost value are specified in
stk-config.xml.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 00:19:06 +00:00
hikerstk
534404d154 Added the penalty time (when starting too early) to stk_config.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-08 01:34:46 +00:00
hikerstk
e9837ca8fc Added some startup speed boost, mainly for testing. The first two
karts to press 'accelerate' after 'go' will receive a boost. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-07 23:53:27 +00:00
auria
ee6284652c Added animated hexley. I think he's a bit too big, will likely need to be scaled down a little
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 00:06:27 +00:00
hikerstk
3c335d4d0a Applied Lilian Gimenez's patch which allows the nitro consumption to
vary from kart to kart. While this is atm not used, it will be useful
once we have different physics parameters for karts. Thanks for the
patch!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-11 01:19:15 +00:00
hikerstk
10ea91e758 Made bubble gum disappear (after a certain number of hits, set in
stk_config.xml).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-27 22:43:44 +00:00
hikerstk
717cd1f20a Updated stk_config file for r5239.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:25:03 +00:00
hikerstk
f1fd38cbf3 Added (for testing) new explosion handling, which uses a fixed random animation
to toss karts around after an explosion.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 23:50:38 +00:00
hikerstk
232d9a2540 1) Simplified rescue code somewhat (one-time setup of variables is now
done in forceRescue, not in an if-statement in update anymore).
2) Made the parameters for rescue configurable in stk_config.xml
   (in preparation for other similar animations). E.g. the rescue time
   can now be set per kart.
3) Reset animations on restart (so that e.g. a win/lose animation
   is not shown during startup in case of a restart anymore).
4) Removed unused variable m_current_gear_ratio
5) Added documentation.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5193 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-14 00:14:20 +00:00
hikerstk
667b208aab Converted all kart.xml files from lisp to .xml files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 04:23:32 +00:00
hikerstk
b6637277ab Started re-design of stk-config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 23:00:34 +00:00
hikerstk
760b47fbae Updated suspension stiffness to be in synch with trunk (so that
histories from trunk can be replayed here).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:39:41 +00:00
hikerstk
d448bca807 Used new version number for karts and tracks, so that incorrect
(i.e.old) karts/tracks will not be used anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 13:20:26 +00:00
hikerstk
092a59a7d2 Very first changes. Doesn't really work yet and will most likely crash - not recommended to use :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 13:27:01 +00:00
hikerstk
31e3806fd0 Refactor end of race handling so that more functions are done in a base class only
(esp. code that was previously duplicated in the battle mode and standard race).
There is now time for an end animation, even if the player should finish last
(in which case the previous end camera would not be shown). This mostly in 
preparation for end animations.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 11:59:51 +00:00
mbjornstk
0827c95c35 Make gum swap with big nitro (instead of small).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 02:47:05 +00:00
mbjornstk
6f2a459096 Add bubblegum to cheats (F5) and make real gum become small nitro on swap.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 21:14:08 +00:00
hikerstk
566e12d129 1) Removed bubblegum as a separate object, instead bubblegums are now
created as normal items. 
2) Now bubblebum can be used in swapping as well, so all nitro become
   bubblegums, and all bubblegums become items.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 08:49:36 +00:00
hikerstk
8be9c3397a Added first version of switch collectable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-04 22:53:24 +00:00
hikerstk
a9ca58ff97 Renamed 'slowdownTime' in materials.xml file to 'slowdown' which more
accurately reflects what it is. Re-scaled the slowdown from '10' =
normal to '1' =normal and removed stk_config paramter for this scaling
factor.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-20 01:23:57 +00:00
hikerstk
81d074a694 Added some slip stream graphical effects (which are disabled by default) - pretty much work in progress.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-19 23:15:25 +00:00
hikerstk
2f268dce77 Added some code to add a 'push to the side' when crashing into a kart.
This code is for now disabled in the stk_config.xml file, since it needs
changes to the physics to be better playable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 12:16:32 +00:00
hikerstk
81eeb36edb Added a minimum speed karts need in order to use slipstreaming. Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-09 03:50:44 +00:00
auria
05aa71b8c4 Allow for tighter turns without the use of sharp tun button. This is part of our plan to make the sharp turn key no more constantly pressed, and the penalty introduced to the use of sharp turns.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-29 21:24:25 +00:00
hikerstk
b9d965bfdf stk_config.xml was missing (still called .data in the commit),
and had the default value for zipper-max-speed-fraction) missing.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-24 05:53:05 +00:00