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
(see bug 3072740): the countdown timer caused incorrect
values to be used for the 'music credit' display.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6121 178a84e3-b1eb-0310-8ba1-8eac791a3b58
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
race (now there will be at least three karts in a FTL race).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
missed the warning when recompiling). So I've added a "."
at the end.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
line should be continued, so I added a space).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
AIKart (e.g. m_random_kart_list -> m_ai_kart_list) - since this
describes what the lists and function actually are (in network
the name is not entirely correct, but since this will be
re-implemented anyway, we leave the proper naming till later).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
to computeRandomKartList is not necessary, the real problem was that
the game data structure was set up before the new data was
defined (e.g. data was initialised for previous number of karts,
after initialisation the correct number of karts was set, causing
a crash).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
which a copy is used is not accidentally deleted.
Also initialised m_animated_node with zero to handle
incorrect usages of the kart model.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6094 178a84e3-b1eb-0310-8ba1-8eac791a3b58
box. Weights for these are set in powerup.xml. ATM a 'multi item'
gives three items (hardcoded, I'll change that to be configurable
later).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
want to change this later when giving each kart different abilities
(now that I think about it: a similar effect can be accomplished
with the nitro consumption rate).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6074 178a84e3-b1eb-0310-8ba1-8eac791a3b58
in stk_config. This is to balance races with larger number of
karts. Note that the changes to stk_config was part of the
previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6073 178a84e3-b1eb-0310-8ba1-8eac791a3b58
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