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
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
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
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
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
'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
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
(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
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
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
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
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
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
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
graphics after a skid configurable - though atm this is still
set to the same time, so no noticable difference.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
some discrepancy due to smoothing of camera movement). For now
enabled in stk_config.xml.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
aligned with the graphics again). That _may_ help with controlling the
kart better after skid. Testwise enabled by default - feedback welcome.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
a kart needed 2.0 nitro in order to use a zipper), but won't be used if items
to avoid are close by (since zipper make it harder to avoid them).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11571 178a84e3-b1eb-0310-8ba1-8eac791a3b58
are close, which results in the AI getting the bad item when
trying to collect the good one. Some refactoring of code by
adding a hitLine function to Item.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11541 178a84e3-b1eb-0310-8ba1-8eac791a3b58
(instead of "const int MAX_NITRO = 16" in moveable.hpp).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
of 40%. This allows longer skids in wider turns (e.g. hacienda).
2) Improved skidding decision when sharp turning is required:
on sharp turn when already skidding, wait till an 'even sharper'
turn is required, which (usually) means that then the AI is
nicely aligned with the new track direction when releasing skid,
which makes nice use of the bonus and the additional rotation.
If not skidding when sharp turn is required, don't even start
one.
3) Prevent AI from skidding 'against' track direction (i.e. track
is turning left, but AI tries to skid right). This happened
before (e.g. when slightly adjusting steering) and caused
rapid left/right turns (and skid/stop/skid/stop sequences).
4) Allow some steering in wrong direction when skidding (to allow
for some incorrect estimations, and to avoid skidding on/off
sequences when only minor corrections are necessary).
5) If adjusted (i.e. taking the skid steering reduction into account)
steer fraction when skidding is too high, stop skidding.
6) Re-enabled braking when AI is not aligned with track direction.
7) Improve debug output so that only a state change (skidding to
non-skidding and vice versa) triggers output (instead of output
every frame).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11469 178a84e3-b1eb-0310-8ba1-8eac791a3b58
to work while a speed increase is active. This simplifies
existing code (for slipstream, nitro). Additional engine
force is also added for skidding, which should make
skidding more worthwhile (since usually adjusting the
heading when stop skidding will use up the actual bonus
speed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11450 178a84e3-b1eb-0310-8ba1-8eac791a3b58
example to lighthouse track. Note atm both needs to be set: smooth-normals
in the track.xml file and in stk_config.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
In light of #28, the GP start order option is probably more at home in a user's
configuration. While at it, also add an option to keep the player always last.
This is more of a challenge for the player than just reverse mode since your
direct opponents _will_ be at the forefront while you have to play catch up.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11017 178a84e3-b1eb-0310-8ba1-8eac791a3b58
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
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
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