Commit Graph

97 Commits

Author SHA1 Message Date
hikerstk
330c269f42 Added a little jump (duration set in config file) when
starting to skid.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-13 22:34:50 +00:00
hikerstk
288f43d481 Made the bonus speed given for a skidding boost configurable (the values
were for bonuses were changed, but are still not considered to be tweaked).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-13 20:51:50 +00:00
hikerstk
73176a8d28 Made skidding more controllable: now once the kart
started to skid, you can influence the turn radius
to a certain degree (stk_config.xml, reduce-turn-min
and -max).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-08 23:30:26 +00:00
hikerstk
65c73e9186 Refactored skidding to use a new base class SkiddingProperties.
This patch reduces the dependencies between KartProperties and
skidding core (and especially reduces compile time when skidding
core changes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 11:28:04 +00:00
auria
d1240cb1bf Revert accidental commit to data/stk_config.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 00:27:52 +00:00
auria
3c2b69fb5c Apply a bunch of CMake patches by riebl, thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 00:18:51 +00:00
hikerstk
1f3cf63680 1) Removed unused angular velocity setting for skidding.
2) Stop misusing m_skidding to force skid sfx when a bubble
   gum was hit or the kart is breaking.
3) Somehwat simplified skidding code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-29 21:27:39 +00:00
hikerstk
3fc43d4d14 Refactored replay by splitting it into one base class, and dedicated
classes for recording and for replaying. Added compression (by use of
interpolation) settings to stk_config - atm only using a certain
frequency (delta-t setting in stk_config) is used.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10904 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-28 22:33:49 +00:00
hikerstk
5feea5c8f2 Fixed byg and naming inconsistencies in kart pushing, more
tuning towards collision impulse.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-19 21:41:54 +00:00
hikerstk
31815c264a 1) Added an artifical impulse that pushes a kart towards the previous
driveline point if it hits the track (this will tend to push karts
   back onto the track, though obviously that's not physically correct).
   This can be tweaked by setting terrain-impulse in stk_config.xml
   (0=disable).
2) Remove unused collision side impulse from kart properties.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-17 05:47:02 +00:00
hikerstk
90e6a02193 Improved collision handling to better detect left/right side
collisions. Made collisions more bouncy than before (but I am
still tuning).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-08 20:22:00 +00:00
hikerstk
35d02e2547 Added indication when the skid bonus 1 and 2 is reached. ATM this
still looks like nitro, and there the bonus of bonus 1 and 2
is actually still the same (wip).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-29 22:31:40 +00:00
auria
a5e80dcdcd Revert accidentally committed stk_config.xml, attempt 2
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-20 02:40:58 +00:00
auria
7bee493c1f Revert accidentally committed stk_config.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-20 02:40:31 +00:00
auria
5dda0e97a1 Add Japanese font, thanks to tkbd
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-18 22:12:26 +00:00
hikerstk
79e2b7d0ae More work on skidding (still disabled by default).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-16 21:52:47 +00:00
auria
c86a92efb1 REvert accidentally committed stk_config.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-12 23:02:58 +00:00
auria
e700320a00 Add sound emitters and improve the mine force field to look nicer from inside
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-12 20:27:57 +00:00
hikerstk
18f86fff98 Removed unused post-skid-rotation property,
added post-skid-rotate-factor.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-12 02:20:05 +00:00
hikerstk
814ab822d0 New skidding now somewhat adjusts the position of the
chassis (work in progress, still disabled by default).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-11 05:38:30 +00:00
auria
72b409344e Start work to have trigger items, and for now use them to play a sound when crossing the force fields in overworld. This is WIP.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10646 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-11 02:47:06 +00:00
hikerstk
e18ffedf44 Added support for a bonus zipper if a kart uses skidding. This
is disabled for now till work on the new skidding is finished.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-09 05:58:29 +00:00
auria
d0c303c064 Tweak bevel configuration. Especially, disable bevel on Y, this makes it easier for kart to topple over
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 02:47:52 +00:00
hikerstk
5a41379479 Fixed bug in bevel shape: the bevel shaped was larger than the bounding
box of the chassis, resulting in collisions caused by the invisible
bevelled part of the chassis.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10469 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-21 21:43:01 +00:00
hikerstk
13bca2e3d4 Added support for bevelled collision shapes using
a convex hull collision shape. Disabled by default,
set bevel-factor in stk-config (e.g. to 0.3 0.3 0.3).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10466 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-21 21:08:48 +00:00
hikerstk
c3a057f206 Added options to apply an impulse for a certain amount of time. This
way pushing two karts away from each other is less abrupt. This is
now enabled, feedback (or tweaks) welcome.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-18 20:55:27 +00:00
hikerstk
d06acf1f7b 1) Added an (additional) impulse to push karts away from each other.
This impulse does not cause any rotation of the kart, it just pushes
the kart orthogonal to its velocity.
2) The rotational velocity is set to 0 in case of a collision, hopefully
avoiding the problem that karts will rotate as result of a collision.
3) A collision pair now stores the exact collision point for both bodies
(which is then used to determine the side in which the impulse to be
applied).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-14 21:02:15 +00:00
hikerstk
a69e94767e Made the restitution settable for karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 10:40:09 +00:00
hikerstk
8ab469d4d8 1) Added an additional impulse to push karts away in case of a collision (unused atm)
2) Saved one collision point for each collision pair so that a frontal detection
   can be detected (atm unused).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 05:42:40 +00:00
hikerstk
6a9b401d6e Reset visual-skid value to original value.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 05:36:48 +00:00
hikerstk
964d132364 Added code for skidding (currently disabled, so no visible change).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 05:54:16 +00:00
hikerstk
3421e14626 Made it less likely that a chassis hits the ground after a jump.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-02 09:52:21 +00:00
hikerstk
422788bc20 Added setting for maximum suspension force (currently set at the
old default value).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-01 12:14:20 +00:00
hikerstk
fdafbd4588 Bugfix: forgot to set track-connection-accel to the original value.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-01 02:57:39 +00:00
hikerstk
2c33ed75ed Merged the physics branch back to trunk. There should be no change at
this stage for users.
The physics branch added a few new stability options (which are disabled
by default), fixed bug and reproducing history files when using physics
replay, using --log=file command line option. See log on the physics
branch for full details.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-01 01:14:10 +00:00
magned
9b92ef8e09 Changed steering angle at mid-low speeds after some discussion on IRC. Please test and give feedback.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-09 23:23:50 +00:00
magned
f3e268280d Changed steering angle at lower speeds again. It's more close to what it used to be, but should still be a little better in tracks like Minigolf. Feedback welcome.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-08 21:49:10 +00:00
auria
a8d0f14cbf Tweak turn radius when going slowly. Trunk only for now. Feedback welcome
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-07 01:06:34 +00:00
auria
5af9ce44b1 Add adjustable AI handicap in stk_config.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-30 20:37:14 +00:00
hikerstk
e8b331de03 Further reduced steering angle at high speed to make the karts
easier to control at high speeds. Instead of using two speed
and two different radii, now an arbitrary number of points (i.e.
speed and radius at that speed) can be defined, stk will interpolate
linearly between the points.
The new settings leave the setting of 'normal' speed (i.e. without
powerup) identical, only reduces the angle for higher speeds.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10058 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-27 23:42:00 +00:00
funto66
d26b406780 Starting the merge with the swatter branch. Now it should be automatic with karts, but doesn't work with items (yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-15 23:38:40 +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
hikerstk
38a3ece5dd 1) Made invulnerability time after being hit configurable.
2) Bugfix: there was no invulnerabilty time if graphical
   effects were disabled. While it is not ideal that in 
   this case there is no visual indication that the kart
   is invulnerable, the game play should be consistent
   and not depend on graphics settings.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-05 12:05:40 +00:00
hikerstk
8d2ac03837 Removed unused explosion-impulse property.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 13:21:06 +00:00
auria
2a1fa5bf29 Following feedback we received, make rescue time a bit faster.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-31 02:08:32 +00:00
hikerstk
30d39e30f0 Read in the number of times a message was displayed from the user config file,
and discared messages that have been displayed often enough.
Note that this is mostly a first test, we might want to only increase the
display counter once each time STK is started or so.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8058 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 11:23:17 +00:00
hikerstk
5ef95560c9 Disabled interpolated normals, they were accidentally enabled
in r7619.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 06:44:33 +00:00
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