2009-08-23 15:44:31 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<config>
|
2010-02-23 08:27:01 -05:00
|
|
|
<!-- Minimum and maximum kart versions that can be used by this binary.
|
|
|
|
Older version will be ignored. -->
|
2010-02-25 08:20:26 -05:00
|
|
|
<kart-version min="2" max="2"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
2010-02-23 08:27:01 -05:00
|
|
|
<!-- Minimum and maxium track versions that be be read by this binary.
|
|
|
|
Older versions will be ignored. -->
|
2015-03-12 19:50:09 -04:00
|
|
|
<track-version min="6" max="6"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
2010-02-23 08:27:01 -05:00
|
|
|
<!-- Maximum number of karts to be used at the same time. This limit
|
|
|
|
can easily be increased, but some tracks might not have valid start
|
|
|
|
positions for those additional karts. -->
|
2010-09-15 23:53:09 -04:00
|
|
|
<karts max-number="20"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
2012-03-25 12:39:32 -04:00
|
|
|
<!-- Scores are the number of points given when the race ends. -->
|
|
|
|
<grand-prix>
|
2010-09-15 22:31:20 -04:00
|
|
|
<!-- Karts on position 1 and 2 will have 3 more points than the next kart;
|
|
|
|
a kart on position 3 and 4 will have two more points than the next;
|
|
|
|
and all remaining karts will have one more point than the next. -->
|
|
|
|
<points from="1" to="2" points="3"/>
|
|
|
|
<points from="3" to="4" points="2"/>
|
|
|
|
<points from="5" points="1"/>
|
|
|
|
</grand-prix>
|
|
|
|
|
2010-03-15 19:00:34 -04:00
|
|
|
<!-- Time in follow-the-leader after which karts are removed.
|
2014-07-28 12:32:39 -04:00
|
|
|
The last values applies for all remaining karts.
|
2010-09-19 21:15:16 -04:00
|
|
|
time-per-kart Additional time added to the interval
|
|
|
|
for each kart in the race. -->
|
|
|
|
<follow-the-leader intervals="30 20 10"
|
2014-11-10 00:49:13 -05:00
|
|
|
time-per-kart="0" />
|
2010-03-15 19:00:34 -04:00
|
|
|
|
2014-07-28 12:32:39 -04:00
|
|
|
<!-- Startup information.
|
2010-07-07 21:34:46 -04:00
|
|
|
Penalty: Penalty time if a kart accelerates before GO. -->
|
2010-09-01 20:19:06 -04:00
|
|
|
<startup penalty="1" />
|
2010-07-07 19:53:27 -04:00
|
|
|
|
2011-03-25 07:23:17 -04:00
|
|
|
<!-- How often a news message is going to be displayed before
|
|
|
|
it will be ignored. -->
|
|
|
|
<news max-display="10"/>
|
|
|
|
|
2012-11-18 17:22:30 -05:00
|
|
|
<!-- smooth-normals: If the normals (for wheel raycasts) should be smoothened.
|
|
|
|
This is a global setting, it still needs to be activated for each
|
|
|
|
track individually.
|
|
|
|
smooth-angle-limits: If the angle between the normal of a vertex and
|
|
|
|
the normal of a triangle are larger than this value, the normal
|
|
|
|
of the triangle will be used in interpolating the normals. This
|
|
|
|
has the effect of an edge split modifier - if the flat track and (say)
|
|
|
|
a wall at a 90 egree angle are not separated, the normal at that
|
|
|
|
vertex will be 45 degrees, resulting in completely wrong physics.
|
|
|
|
The angle limit in this case will discard the 45 degrees, and use
|
|
|
|
the normal of the flat triangle (pointing upwards). In the worst
|
|
|
|
case (all three normals discarded, the interpolation will just
|
|
|
|
return the normal of the triangle (i.e. de facto no interpolation),
|
|
|
|
but it helps making smoothing much more useful without fixing tracks.
|
|
|
|
-->
|
|
|
|
<physics smooth-normals="true"
|
|
|
|
smooth-angle-limit="0.65"/>
|
2011-02-03 16:39:03 -05:00
|
|
|
|
2010-03-15 19:00:34 -04:00
|
|
|
<!-- The title music. -->
|
|
|
|
<music title="main_theme.music"/>
|
|
|
|
|
2012-02-28 17:33:49 -05:00
|
|
|
<!-- Replay related values, mostly concerned with saving less data
|
|
|
|
and using interpolation instead.
|
2014-11-27 00:15:53 -05:00
|
|
|
max-time: Maximum race time that can be saved in a replay/history file.
|
2012-02-28 17:33:49 -05:00
|
|
|
delta-t Minumum time between saving consecutive transform events.
|
|
|
|
delta-pos If the interpolated position is within this delta, a
|
|
|
|
transform event is not generated.
|
|
|
|
delta-angle If the interpolated angle is within this delta,
|
|
|
|
a transform event is not generated. -->
|
2014-11-27 00:15:53 -05:00
|
|
|
<replay max-time="600" delta-t="0.05" delta-pos="0.1"
|
|
|
|
delta-angle="0.5" />
|
2012-02-28 17:33:49 -05:00
|
|
|
|
2010-03-15 19:00:34 -04:00
|
|
|
<!-- Skidmark data: maximum number of skid marks, and
|
2011-11-30 20:14:10 -05:00
|
|
|
time for skidmarks to fade out. -->
|
2014-07-28 12:32:39 -04:00
|
|
|
<skid-marks max-number="100" fadeout-time="60"/>
|
|
|
|
|
2014-07-23 09:18:40 -04:00
|
|
|
<!-- Defines when the upright constraint should be active, it's
|
2011-11-30 20:14:10 -05:00
|
|
|
disabled when the kart is more than this value from the track. -->
|
2014-07-28 12:32:39 -04:00
|
|
|
<near-ground distance="2"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
|
|
|
<!-- How long the end animation will be shown. -->
|
2010-09-01 20:19:06 -04:00
|
|
|
<delay-finish time="0.5"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
|
|
|
<!-- How long the music credits are shown. -->
|
|
|
|
<credits music="10"/>
|
|
|
|
|
2014-07-28 12:32:39 -04:00
|
|
|
<!-- time is the time till a bomb explodes. time-increase is the time added
|
2010-03-15 19:00:34 -04:00
|
|
|
to timer when bomb is passed on. -->
|
|
|
|
<bomb time="30.0" time-increase="-5.0"/>
|
|
|
|
|
2014-07-28 12:32:39 -04:00
|
|
|
<!-- Powerup collect-mode decides what is collected if a kart has already an
|
2010-09-19 21:15:16 -04:00
|
|
|
powerup: same: get one more item of the same type.
|
|
|
|
new: always get a new item.
|
|
|
|
only-if-same: if the random item is the same one as the
|
|
|
|
one currently owned, increase the number, otherwise
|
|
|
|
no more/new item s are given to the kart. -->
|
|
|
|
<powerup collect-mode="new"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
<!-- time: How long a switch is being effective.
|
|
|
|
items for each item list the index of the item it is switched with.
|
2012-12-16 19:33:47 -05:00
|
|
|
Order: giftbox, banana, big-nitro, small-nitro, bubble-gum, trigger,
|
|
|
|
nolok-bubble-gum, easter egg -->
|
|
|
|
<switch time="5" items="1 0 4 4 2 5 2 7"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
2014-07-28 12:32:39 -04:00
|
|
|
<!-- disappear-counter: How often bubblegum gets driven over before it disappears.
|
|
|
|
shield-time: How long the bubblegum shield lasts
|
|
|
|
restrict-weapons: If true, using weapons will destroy the user's shield -->
|
2013-08-07 23:11:03 -04:00
|
|
|
<bubblegum disappear-counter="1" shield-time="10.0" restrict-weapons="false"/>
|
2010-04-27 18:43:44 -04:00
|
|
|
|
2011-06-04 09:21:06 -04:00
|
|
|
<!-- explosion-impulse-objects is the impulse that pushes physical objects
|
|
|
|
away if there is an explosion. -->
|
|
|
|
<explosion impulse-objects="500.0" />
|
2010-03-19 00:23:32 -04:00
|
|
|
|
|
|
|
<!-- Networking - the current networking code is outdated and will not
|
|
|
|
work anymore - so for now don't enable this. -->
|
|
|
|
<networking enable="false"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
2015-07-21 18:12:44 -04:00
|
|
|
<!-- The field od views for 1-4 player split screen. fov-3 is
|
|
|
|
actually not used (since 3 player split screen uses the
|
|
|
|
same layout as 4 player split screen) -->
|
2015-07-25 19:49:29 -04:00
|
|
|
<camera fov-1="80" fov-2="65" fov-3="50" fov-4="75" />
|
2015-07-21 18:12:44 -04:00
|
|
|
|
2014-07-28 12:32:39 -04:00
|
|
|
<!-- disable-while-unskid: Disable steering when stop skidding during
|
2012-09-17 17:42:33 -04:00
|
|
|
the time it takes to adjust the physical body with the graphics.
|
|
|
|
camera-follow-skid: If true the camera will stay behind the kart,
|
2014-07-28 12:32:39 -04:00
|
|
|
potentially making it easier to see where the kart is going to
|
2012-09-17 17:42:33 -04:00
|
|
|
after a skid. -->
|
|
|
|
<steer disable-while-unskid="false"
|
|
|
|
camera-follow-skid="true" />
|
2012-09-16 18:50:59 -04:00
|
|
|
|
2010-03-19 00:23:32 -04:00
|
|
|
<!-- Default values for all karts
|
|
|
|
============================ -->
|
|
|
|
<general-kart-defaults>
|
|
|
|
|
|
|
|
<!-- Skidding: increase: multiplicative increase of skidding factor in each frame.
|
2010-03-15 19:00:34 -04:00
|
|
|
decrease: multiplicative decrease of skidding factor in each frame.
|
|
|
|
max: maximum skidding factor = maximum increase of steering angle.
|
|
|
|
time-till-max: Time till maximum skidding is reached.
|
2012-03-21 19:06:45 -04:00
|
|
|
visual: Additional graphical rotation of kart. The graphical rotation
|
|
|
|
of the kart also determines the direction the kart is driving to
|
|
|
|
when skidding is stopped.
|
2012-01-09 00:58:29 -05:00
|
|
|
visual-time: How long it takes for the visual skid to reach maximum.
|
2012-09-20 19:06:19 -04:00
|
|
|
revert-visual-time: how long it takes when stopping a skid to revert
|
|
|
|
the visual skid and bring visuals and physics in sync again.
|
2011-12-06 00:54:16 -05:00
|
|
|
angular-velocity: Angular velocity to be used for the kart when skidding.
|
2012-10-25 02:03:59 -04:00
|
|
|
min-speed: Minimum speed a kart must have before it can skid. Must be
|
|
|
|
>0, otherwise the kart can skid at the start of the race.
|
2012-01-09 00:58:29 -05:00
|
|
|
time-till-bonus: How long a kart needs to skid in order to get a bonus.
|
|
|
|
bonus-force: A speedup applied to the kart whick skidded for a while.
|
2012-01-11 21:20:05 -05:00
|
|
|
bonus-time: How long the bonus-force is applied.
|
2012-07-29 19:46:16 -04:00
|
|
|
bonus-force: Additional engine force (this is used to offset the fact
|
|
|
|
that turning after skidding (e.g. to correct direction) often uses
|
|
|
|
up the skid bonus).
|
2014-07-28 12:32:39 -04:00
|
|
|
post-skid-rotate-factor: a factor to be used to determine how much
|
|
|
|
the chassis of a kart should rotate to match the graphical view.
|
2012-01-11 21:20:05 -05:00
|
|
|
A factor of 1 is identical, a smaller factor will rotate the kart
|
2014-07-28 12:32:39 -04:00
|
|
|
less (which might feel better).
|
2012-09-12 18:11:13 -04:00
|
|
|
physical-jump-time: Time for a physical jump at the beginning of a skid.
|
|
|
|
graphical-jump-time: Time for a graphics-only jump at the beginning
|
|
|
|
of a skid.
|
2012-03-21 19:06:45 -04:00
|
|
|
reduce-turn-min/max: The steering done by the controller (which is in
|
|
|
|
[-1,1]) is mapped to [reduce-turn-min, reduce-turn-max] when skidding
|
2014-07-28 12:32:39 -04:00
|
|
|
is active (for left turn, right turn will use [-max, -min]). The
|
2012-03-21 19:06:45 -04:00
|
|
|
effect is that while you skid (say left) you can adjust the direction
|
|
|
|
of the turn the kart is doing somewhat by steering to the left and right,
|
|
|
|
but you will always keep on doing a left turn, just more or less. -->
|
|
|
|
|
2012-08-23 18:00:36 -04:00
|
|
|
<!-- Kart-specific settings used by the AI.
|
2012-10-22 17:51:05 -04:00
|
|
|
use-slipstream: if the AI should try to overtake karts using slipstream.
|
2012-10-30 08:05:23 -04:00
|
|
|
disable-slipstream-usage: even if the AI is not trying to use slipstream,
|
|
|
|
it can get a lot of bonus, esp. on easy since the AI creates trains.
|
|
|
|
Set this to true to make sure AI does not get any slipstream bonus.
|
2013-10-17 01:58:56 -04:00
|
|
|
shield-incoming-radius: Radius at which projectiles will be detected and
|
|
|
|
trigger a shield usage.
|
2012-10-22 17:51:05 -04:00
|
|
|
false-start-probability: Probability of a false start.
|
|
|
|
min/max-start-delay: Minimum and maximum start delay.
|
|
|
|
See http://www.humanbenchmark.com/tests/reactiontime/stats.php
|
|
|
|
Average reaction time is around 0.215 s.
|
|
|
|
nitro-usage: "none", "some", "all": if nitro should be used, and
|
|
|
|
how much the AI should try to use it good.
|
|
|
|
non-random-item-usage: If true, use items in a sophisticated way,
|
|
|
|
otherwise use items randomly.
|
|
|
|
collect-avoid-items: if the AI should collect and avoid items,
|
|
|
|
or just ignore them.
|
|
|
|
handle-bomb: If the AI should actively try to pass on a bomb.
|
|
|
|
skidding-threshold: only for old-style skidding: when sharp turn
|
|
|
|
should be triggered. Smaller values means it will sharp turn
|
|
|
|
earlier, resulting in better driving in thight curves.
|
|
|
|
|
|
|
|
|
2012-08-23 18:00:36 -04:00
|
|
|
max-item-angle: Items that would need more than this change in
|
|
|
|
direction are not considered for collection.
|
|
|
|
time-full-steer is the time for the AI to go from neutral steering to
|
2014-07-28 12:32:39 -04:00
|
|
|
extreme left (or right). This can be used to reduce
|
2012-08-23 18:00:36 -04:00
|
|
|
'shaking' of AI karts caused by changing steering direction
|
|
|
|
too often. It also helps with making it easier to push the
|
|
|
|
AI karts (otherwise micro-corrections make this nearly
|
|
|
|
impossible). A value of 1/maxFPS / 2 will guarantee that
|
2014-07-28 12:32:39 -04:00
|
|
|
the wheel can go from -1 to +1 steering in one frame,
|
2012-08-23 18:00:36 -04:00
|
|
|
basically disabling this mechanism.
|
2012-09-04 19:17:09 -04:00
|
|
|
bad-item-closeness is the maximum distance between a good and a
|
|
|
|
bad item which can force the AI to abandon a good item in order
|
|
|
|
to avoid hitting a bad item. If the distance is larger, it is
|
|
|
|
assumed that there will be enough time to change steering
|
|
|
|
direction.
|
2012-09-09 18:41:49 -04:00
|
|
|
straight-length-for-zipper is the minimum length a straight
|
|
|
|
section of the track should have in order to activate a zipper.
|
2012-10-14 16:59:51 -04:00
|
|
|
|
|
|
|
competitive when ahead of the player, or more competitive
|
2014-07-28 12:32:39 -04:00
|
|
|
when behind the player.
|
2012-10-14 16:59:51 -04:00
|
|
|
|
|
|
|
skid-probability: Since the AI is usually very good at using
|
|
|
|
skidding, this is used to implement some rubber-banding for
|
|
|
|
the AI: depending on distance to the player, the AI will
|
|
|
|
change the probability of skidding. This attributes takes
|
|
|
|
a space-separated list of "distance:probability" pairs
|
|
|
|
(negative distances meaning the kart is behind the player,
|
|
|
|
a positive number that the AI is ahead of the player).
|
|
|
|
Then list should have at least 2 entries. Depending on
|
|
|
|
the actualy distance the kart has the probability is then
|
|
|
|
linearly interpolated (if the AI is more than the largest
|
|
|
|
distance ahead, the value for the largest distance is used,
|
|
|
|
and similarly if the kart is more than the minimum value
|
|
|
|
behind).
|
2012-10-17 02:14:43 -04:00
|
|
|
speed-cap: Fraction of maximum speed the kart should drive
|
|
|
|
at. Used to slow down karts that are ahead of the player.
|
|
|
|
Note that setting this to a value >1 does NOT increase
|
|
|
|
the speed the kart can drive at!
|
2012-10-29 18:06:17 -04:00
|
|
|
collect-item-probability: Probability of the AI actually
|
|
|
|
trying to collect an item (if an item is selected for
|
2014-07-28 12:32:39 -04:00
|
|
|
collection in the first place).
|
2012-08-23 18:00:36 -04:00
|
|
|
-->
|
2012-10-22 17:51:05 -04:00
|
|
|
<ai>
|
2012-10-23 17:23:15 -04:00
|
|
|
<easy time-full-steer="0.1"
|
|
|
|
straight-length-for-zipper="35"
|
|
|
|
use-slipstream="false"
|
2012-10-30 08:05:23 -04:00
|
|
|
disable-slipstream-usage="true"
|
2013-10-17 01:58:56 -04:00
|
|
|
shield-incoming-radius="0"
|
2012-10-22 17:51:05 -04:00
|
|
|
false-start-probability="0.08"
|
|
|
|
min-start-delay="0.3" max-start-delay="0.5"
|
|
|
|
nitro-usage="none"
|
|
|
|
non-random-item-usage="false"
|
|
|
|
collect-avoid-items="false"
|
|
|
|
handle-bomb="false"
|
2012-10-29 21:06:50 -04:00
|
|
|
speed-cap="-10:1.0 -5:0.9 5:0.8 20:0.7 50:0.6"
|
2012-10-22 17:51:05 -04:00
|
|
|
max-item-angle="0.7" max-item-angle-high-speed="0.3"
|
|
|
|
bad-item-closeness="6"
|
2012-10-29 18:06:17 -04:00
|
|
|
collect-item-probability="0:0"
|
2012-10-23 17:23:15 -04:00
|
|
|
rb-skid-probability="0:0.0"
|
|
|
|
skidding-threshold="4.0"
|
|
|
|
/>
|
|
|
|
<medium time-full-steer="0.1"
|
2012-10-22 17:51:05 -04:00
|
|
|
straight-length-for-zipper="35"
|
2012-10-23 17:23:15 -04:00
|
|
|
use-slipstream="false"
|
2012-10-30 08:05:23 -04:00
|
|
|
disable-slipstream-usage="false"
|
2013-10-17 01:58:56 -04:00
|
|
|
shield-incoming-radius="10"
|
2012-10-22 17:51:05 -04:00
|
|
|
false-start-probability="0.04"
|
|
|
|
min-start-delay="0.25" max-start-delay="0.4"
|
|
|
|
nitro-usage="some"
|
2012-10-23 17:23:15 -04:00
|
|
|
non-random-item-usage="true"
|
2012-10-22 17:51:05 -04:00
|
|
|
collect-avoid-items="true"
|
|
|
|
handle-bomb="false"
|
2012-10-23 17:23:15 -04:00
|
|
|
speed-cap="10:1.0 50:0.8"
|
2012-10-22 17:51:05 -04:00
|
|
|
max-item-angle="0.7" max-item-angle-high-speed="0.3"
|
|
|
|
bad-item-closeness="6"
|
2012-10-29 18:06:17 -04:00
|
|
|
collect-item-probability="-10:1.0 0:0"
|
2012-10-23 17:23:15 -04:00
|
|
|
rb-skid-probability="0:0.0"
|
|
|
|
skidding-threshold="3.0"
|
|
|
|
/>
|
|
|
|
<hard time-full-steer="0.1"
|
2012-10-22 17:51:05 -04:00
|
|
|
straight-length-for-zipper="35"
|
2012-10-23 17:23:15 -04:00
|
|
|
use-slipstream="true"
|
2012-10-30 08:05:23 -04:00
|
|
|
disable-slipstream-usage="false"
|
2013-10-17 01:58:56 -04:00
|
|
|
shield-incoming-radius="10"
|
2012-10-22 17:51:05 -04:00
|
|
|
false-start-probability="0.01"
|
|
|
|
min-start-delay="0.15" max-start-delay="0.28"
|
|
|
|
nitro-usage="all"
|
2012-10-23 17:23:15 -04:00
|
|
|
non-random-item-usage="true"
|
2012-10-22 17:51:05 -04:00
|
|
|
collect-avoid-items="true"
|
|
|
|
handle-bomb="true"
|
2012-10-23 17:23:15 -04:00
|
|
|
speed-cap="20:1.0 50:0.8"
|
2012-10-22 17:51:05 -04:00
|
|
|
max-item-angle="0.7" max-item-angle-high-speed="0.3"
|
|
|
|
bad-item-closeness="6"
|
2012-10-29 18:06:17 -04:00
|
|
|
collect-item-probability="10:1.0 20:0"
|
2012-10-22 17:51:05 -04:00
|
|
|
rb-skid-probability="-50:1.0 -20:0.7 20:0.2 50:0.0"
|
2012-10-23 17:23:15 -04:00
|
|
|
skidding-threshold="2.0"
|
|
|
|
/>
|
2013-04-11 02:17:46 -04:00
|
|
|
<best time-full-steer="0.1"
|
|
|
|
straight-length-for-zipper="35"
|
|
|
|
use-slipstream="true"
|
|
|
|
disable-slipstream-usage="false"
|
2013-10-17 01:58:56 -04:00
|
|
|
shield-incoming-radius="10"
|
2013-04-11 02:17:46 -04:00
|
|
|
false-start-probability="0.0"
|
|
|
|
min-start-delay="0.15" max-start-delay="0.2"
|
|
|
|
nitro-usage="all"
|
|
|
|
non-random-item-usage="true"
|
|
|
|
collect-avoid-items="true"
|
|
|
|
handle-bomb="true"
|
|
|
|
speed-cap="0:1.0"
|
|
|
|
max-item-angle="0.7" max-item-angle-high-speed="0.3"
|
|
|
|
bad-item-closeness="6"
|
|
|
|
collect-item-probability="0:1.0"
|
|
|
|
rb-skid-probability="0:1.0"
|
|
|
|
skidding-threshold="2.0"
|
|
|
|
/>
|
2012-10-22 17:51:05 -04:00
|
|
|
</ai>
|
2014-07-23 09:18:40 -04:00
|
|
|
|
2013-10-22 09:44:08 -04:00
|
|
|
<!-- Parameters for the speed-weighted objects:
|
|
|
|
a bigger value for strength-factor leads to the speed of the kart more quickly affecting
|
|
|
|
the strength of the animation (up to a maximum value that corresponds to the original animation) -->
|
2013-11-01 20:20:48 -04:00
|
|
|
<speed-weighted-objects strength-factor="0.05" speed-factor="1.0" texture-speed-x="0.0" texture-speed-y="0.0"/>
|
2010-03-19 00:23:32 -04:00
|
|
|
|
2014-07-28 12:32:39 -04:00
|
|
|
<!-- friction: slip used for bullet skidding. A high value
|
2010-03-19 00:23:32 -04:00
|
|
|
(like 10000000) disables bullet skidding. -->
|
2010-11-10 19:41:05 -05:00
|
|
|
<friction slip="10000000"/>
|
2010-03-19 00:23:32 -04:00
|
|
|
|
2011-12-12 00:42:40 -05:00
|
|
|
<!-- collision
|
2012-11-11 16:56:54 -05:00
|
|
|
impulse-type: STK can apply an additional impulse in case of
|
|
|
|
kart-track collision:
|
|
|
|
'none' : no additional impulse
|
|
|
|
'normal': impulse along the normal
|
|
|
|
'driveline': impulse towards the nearest driveline.
|
|
|
|
An impulse towards the driveline works nice when the kart is
|
2014-07-28 12:32:39 -04:00
|
|
|
driving more or less correctly on the track - it pushes the
|
2012-11-11 16:56:54 -05:00
|
|
|
kart in the right direction. But if the kart is significanlty
|
|
|
|
off track, it has severe problems (since an incorrect
|
|
|
|
driveline point can be selected, pusing the kart in the
|
|
|
|
wrong direction, sometimes even causing a 'zip-along-obstacle'
|
|
|
|
effect.
|
2011-12-12 00:42:40 -05:00
|
|
|
impulse: an additional impulse to be applied in a non-frontal
|
|
|
|
collision to push two karts away from each other.
|
2011-12-18 15:55:27 -05:00
|
|
|
impulse-time: The impulse will be applied over a certain time
|
|
|
|
period, which results in less abrupt changes. If set to 0,
|
|
|
|
the impulse is only applied once.
|
2011-12-12 05:40:09 -05:00
|
|
|
resitution: restitution value to be used for the kart rigid bodies.
|
2014-07-28 12:32:39 -04:00
|
|
|
bevel-factor: for each point of the chassis collision box one
|
2011-12-21 16:43:01 -05:00
|
|
|
additional point is added, resulting in a bevelled box shape.
|
2014-07-28 12:32:39 -04:00
|
|
|
The original Z coordinate of the chassis is multiplied by
|
2011-12-21 16:43:01 -05:00
|
|
|
1-bevelZ (i.e. the main box part of the shape is shortened).
|
2014-07-28 12:32:39 -04:00
|
|
|
The bevel point has the original Z coordinate, and the X and
|
|
|
|
Y coordinates of the box are multiplied with (1-bevelX) and
|
2011-12-21 16:43:01 -05:00
|
|
|
(1-bevelY). A value of 0 for all bevel coordinates disables
|
|
|
|
bevelling, and uses a simple box shape.
|
2014-07-28 12:32:39 -04:00
|
|
|
As an example, a value of 1 for x and z will result in a
|
2014-08-10 07:54:18 -04:00
|
|
|
sharp 'arrow' like shape.
|
|
|
|
physical-wheel-position: Defines where the 'physical' (raycast)
|
|
|
|
wheel will be located. It's a weight factor with 0 = being
|
|
|
|
at the widest side of the bevel, 1 = at the front and
|
2014-08-15 20:20:24 -04:00
|
|
|
narrowest part of the kart. If the value is less than 0, the old
|
|
|
|
physics settings are used which places the raycast wheels
|
|
|
|
outside of the chassis and results in more stable physical
|
|
|
|
behaviour of the karts. -->
|
2014-07-28 12:32:39 -04:00
|
|
|
<collision impulse-type="normal"
|
2014-08-21 08:34:51 -04:00
|
|
|
impulse="3000" impulse-time="0.1" terrain-impulse="1600"
|
2014-08-10 19:02:45 -04:00
|
|
|
restitution="1.0" bevel-factor="0.5 0.0 0.7"
|
2014-08-15 20:20:24 -04:00
|
|
|
physical-wheel-position="-1" />
|
2014-07-28 12:32:39 -04:00
|
|
|
|
|
|
|
<!-- Skidding: increase: multiplicative increase of skidding factor in each frame.
|
|
|
|
decrease: multiplicative decrease of skidding factor in each frame.
|
|
|
|
max: maximum skidding factor = maximum increase of steering angle.
|
|
|
|
time-till-max: Time till maximum skidding is reached.
|
|
|
|
visual: Additional graphical rotation of kart. The graphical rotation
|
|
|
|
of the kart also determines the direction the kart is driving to
|
|
|
|
when skidding is stopped.
|
|
|
|
visual-time: How long it takes for the visual skid to reach maximum.
|
|
|
|
revert-visual-time: how long it takes when stopping a skid to revert
|
|
|
|
the visual skid and bring visuals and physics in sync again.
|
|
|
|
angular-velocity: Angular velocity to be used for the kart when skidding.
|
|
|
|
min-speed: Minimum speed a kart must have before it can skid. Must be
|
|
|
|
>0, otherwise the kart can skid at the start of the race.
|
|
|
|
time-till-bonus: How long a kart needs to skid in order to get a bonus.
|
|
|
|
bonus-force: A speedup applied to the kart whick skidded for a while.
|
|
|
|
bonus-time: How long the bonus-force is applied.
|
|
|
|
bonus-force: Additional engine force (this is used to offset the fact
|
|
|
|
that turning after skidding (e.g. to correct direction) often uses
|
|
|
|
up the skid bonus).
|
|
|
|
post-skid-rotate-factor: a factor to be used to determine how much
|
|
|
|
the chassis of a kart should rotate to match the graphical view.
|
|
|
|
A factor of 1 is identical, a smaller factor will rotate the kart
|
|
|
|
less (which might feel better).
|
|
|
|
physical-jump-time: Time for a physical jump at the beginning of a skid.
|
|
|
|
graphical-jump-time: Time for a graphics-only jump at the beginning
|
|
|
|
of a skid.
|
|
|
|
reduce-turn-min/max: The steering done by the controller (which is in
|
|
|
|
[-1,1]) is mapped to [reduce-turn-min, reduce-turn-max] when skidding
|
|
|
|
is active (for left turn, right turn will use [-max, -min]). The
|
|
|
|
effect is that while you skid (say left) you can adjust the direction
|
|
|
|
of the turn the kart is doing somewhat by steering to the left and right,
|
|
|
|
but you will always keep on doing a left turn, just more or less. -->
|
2014-07-01 04:37:00 -04:00
|
|
|
<skid increase="1.05" decrease="0.95" max="2.5" time-till-max="0.5"
|
2014-07-28 12:32:39 -04:00
|
|
|
visual="1.25" visual-time="0.7" revert-visual-time="0.7"
|
|
|
|
min-speed="10" time-till-bonus="1.0 3.0"
|
|
|
|
bonus-speed="4.5 6.5" bonus-time="3.0 4.0"
|
|
|
|
bonus-force="250 350"
|
|
|
|
physical-jump-time="0" graphical-jump-time="0.4"
|
|
|
|
post-skid-rotate-factor="1"
|
|
|
|
reduce-turn-min="0.2" reduce-turn-max="0.8"/>
|
|
|
|
|
|
|
|
<kart-type>
|
2015-07-12 18:23:05 -04:00
|
|
|
<light />
|
|
|
|
<medium />
|
|
|
|
<heavy />
|
2014-07-28 12:32:39 -04:00
|
|
|
</kart-type>
|
2010-03-19 00:23:32 -04:00
|
|
|
</general-kart-defaults>
|
2015-11-12 12:42:54 -05:00
|
|
|
|
|
|
|
<!-- Here are the default fonts file names for STK.
|
|
|
|
|
|
|
|
Please DO NOT report bugs if there're crashes when using your custom font.
|
|
|
|
This usually happen because the character map of the font is not in unicode mode
|
|
|
|
(let's take Chinese for example, some fonts of it store the characters in BIG5 mode,
|
|
|
|
which leads to crash with STK), but the fonts are to blame, what's the point of not
|
|
|
|
using industry standard nowadays...
|
|
|
|
-->
|
|
|
|
<font default="Ubuntu-R.ttf"
|
|
|
|
default_fallback="FreeSans.ttf"
|
|
|
|
cjk="wqy-microhei.ttf"
|
|
|
|
ar="NotoNaskhArabicUI-Bold.ttf"
|
|
|
|
bold="Ubuntu-B.ttf"
|
|
|
|
bold_fallback="FreeSansBold.ttf"
|
|
|
|
digit="SigmarOne.otf" />
|
|
|
|
|
2009-08-23 15:44:31 -04:00
|
|
|
</config>
|