Commit Graph

1302 Commits

Author SHA1 Message Date
auria
bb37472177 Many little tweaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-27 19:43:24 +00:00
auria
feda2ee67a Remove tux tollway
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-27 02:07:29 +00:00
auria
63da8a2e7b Tweak some challenges
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-27 01:22:10 +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
490bdec3b9 Removed triple parachutes, tweaked probabilities for last kart a bit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-26 00:23:08 +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
e209d93fbe Fixed incorrect r11750, where I removed Fort Magma, not Crescent
Crossing ;)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11753 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-23 21:49:34 +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
4bb7096d08 Removed Fort Magma from all-tracks GP. Thanks to Deve for
noticing this!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-23 21:21:29 +00:00
auria
197a5224ef Update strings for translators
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-23 00:41:21 +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
auria
cb7071ea0b Rework credits a little
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-21 23:58:43 +00:00
samuncle
7d60f6b913 Add a new particle effect. Maybe usefull for another track :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-18 23:02:16 +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
6e393eea0b Add new mansion song by OzoneOne
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-09 22:59:23 +00:00
auria
c7ab762799 tweak several challenges
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-06 23:12:31 +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
auria
56b9931214 Tweak the points required by each challenge to have something adapted to the new point system
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-06 21:34:28 +00:00
auria
bb13585bea Add missing file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-30 14:36:33 +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
auria
721820ff3a Credit Viktor Aurelius for Nolok voice acting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-22 02:12:03 +00:00
hikerstk
9b51751e31 Made the time for the physical body to be in sync with the
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
2012-09-20 23:06:19 +00:00
auria
38f75c73a8 Create challenges for GPs, reorganize GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-20 00:28:41 +00:00
auria
b7bdacbefc Make subtitles be extracted from XML files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-20 00:05:38 +00:00
auria
433610dcb9 Add sme walls in overworld to make it feel less empty. I'm sorry, I'm a coder, not an artist
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-19 01:15:45 +00:00
hikerstk
6eca109725 Added option to let the camera follow the skid angle (there is still
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
2012-09-17 21:42:33 +00:00
hikerstk
7b99faeeb8 iDisable steering for players when a skid is stopped (till the physics are
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
2012-09-16 22:50:59 +00:00
hikerstk
4a6f5ea494 Made initial skidding jump graphical only (both options can
be set in stk_config now).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-12 22:11:13 +00:00
hikerstk
18d77b9da1 Improved handling of zippers: zippers will now be selected earlier (previously
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
2012-09-09 22:41:49 +00:00
auria
353d0dbd3b Another forgotten file...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11548 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-05 01:35:29 +00:00
auria
c9cd4d6063 File forgotten in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-05 01:27:53 +00:00
auria
af219c1672 Give nolok his special bubblegum
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-05 01:16:01 +00:00
hikerstk
6c7bfd3050 Improved handling of situations in which a good and bad item
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
2012-09-04 23:17:09 +00:00
auria
06821dc880 Give nolok a special swatter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-04 01:54:28 +00:00
auria
bfc1a5e14c Give nolok some special powers in the last fight against him. Changing the swatter and bubble gum to different models might help make it more dramatic of course
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11538 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-04 00:39:14 +00:00
auria
20382c0f15 Allow a challenge to specify which AI kart to use, and use it for the final race against Nolok challenge
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-03 20:18:48 +00:00
magned
0aa7494469 Enables both new skidding behaviour and new skidding AI. Disables old sharp turn behaviour and PRESENT_AI.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-01 22:45:07 +00:00
auria
e211de77b6 Lock gnu and nolok until the last challenge is solved
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11525 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-29 23:53:44 +00:00
hikerstk
a1c51d61a5 Added first and early version of an item-collecting AI (within
SkiddingAI).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11517 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-23 22:00:36 +00:00
auria
fe65f46035 Work on end cutscene. Code to start particles based on a condition
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-23 01:52:55 +00:00
hikerstk
ed9b701e53 Added maximum amount of nitro a kart can collect to stk_config.xml
(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
2012-08-19 23:41:36 +00:00
hikerstk
13175b8566 1) Changed the minimum turn radius when skidding to be 20% instead
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
2012-08-05 23:27:39 +00:00
hikerstk
203ae69ce6 Added support in MaxSpeed for an additional engine force
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
2012-07-29 23:46:16 +00:00
auria
4b9d02cc25 Allow combining lightmaps and normal maps
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-22 21:30:47 +00:00
stephenjust
f766785302 Add rating to add-on info dialog.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-20 22:48:37 +00:00
wardje
36ce4c63f4 Add challenge file for black mansion
* Requirement set to 0 until there's a structure in the order
   we want challenges to be completed.
 * Times based on a few rounds without cheating[1]

[1]: You can cheat in Black Mansion by just going straight ahead
     in the hill after the start.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-06 19:29:48 +00:00