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. -->
|
2017-08-16 01:48:27 -04:00
|
|
|
<kart-version min="2" max="3"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
2019-06-04 19:04:18 -04:00
|
|
|
<!-- Minimum and maximum track versions that be be read by this binary.
|
2010-02-23 08:27:01 -05:00
|
|
|
Older versions will be ignored. -->
|
2017-08-16 01:48:27 -04:00
|
|
|
<track-version min="6" max="7"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
2019-06-04 19:04:18 -04:00
|
|
|
<!-- Minimum and maximum server versions that be be read by this binary.
|
2018-04-15 23:57:45 -04:00
|
|
|
Older versions will be ignored. -->
|
2019-03-25 14:51:45 -04:00
|
|
|
<server-version min="6" max="6"/>
|
2018-04-15 23:57:45 -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
|
|
|
|
2019-01-19 17:49:11 -05:00
|
|
|
<!-- Everything related to hardware configuration.
|
2019-01-26 21:19:34 -05:00
|
|
|
url : The server used for reporting statistics to. -->
|
|
|
|
<HardwareReportServer url="https://stats.supertuxkart.net" />
|
2019-01-19 17:49:11 -05:00
|
|
|
|
|
|
|
<!-- Everything related to online play.
|
|
|
|
url: The server used for online multiplayer.
|
|
|
|
server-version : Version of the server API to use. -->
|
|
|
|
<OnlineServer
|
|
|
|
url="https://online.supertuxkart.net/api/"
|
|
|
|
server-version="2"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<!-- Addon and news related settings
|
|
|
|
url : The server used for addon.
|
|
|
|
allow-news-redirects : If true we allow all the server urls to be redirected by the addons news.xml file-->
|
|
|
|
<AddonServer
|
|
|
|
url="https://online.supertuxkart.net/dl/xml"
|
|
|
|
allow-news-redirects="true"
|
|
|
|
/>
|
|
|
|
|
2012-03-25 12:39:32 -04:00
|
|
|
<!-- Scores are the number of points given when the race ends. -->
|
|
|
|
<grand-prix>
|
2017-02-07 19:31:53 -05:00
|
|
|
<!-- Establish the distribution of points in GP.
|
|
|
|
|
|
|
|
For a race of N karts ; the N-first point values are taken.
|
|
|
|
Then, they are sorted. E.g. ; 0 1 2 1 3 2 becomes 0 1 1 2 2 3.
|
|
|
|
Then these numbers are used to establish the DIFFERENCE of points
|
|
|
|
between consecutive karts.
|
|
|
|
|
|
|
|
The smaller of the numbers is used to establish the score for the
|
|
|
|
last kart and not the difference between 2 karts.
|
|
|
|
|
|
|
|
In the above example, the last kart will have 0 point, the one before
|
|
|
|
before 1 (0+1) ; the one before 2 (0+1+1), the one before 4 (0+1+1+2),
|
|
|
|
etc. until the 1st which have 9 (0+1+1+2+2+3)
|
|
|
|
|
|
|
|
There shall be at least as much points nodes as max-numbers kart -->
|
|
|
|
<points points="0" /> <!-- added with 1 kart, score for the last kart -->
|
|
|
|
<points points="1" /> <!-- added with 2 karts -->
|
|
|
|
<points points="1" /> <!-- added with 3 karts -->
|
|
|
|
<points points="2" /> <!-- added with 4 karts -->
|
|
|
|
<points points="2" /> <!-- added with 5 karts -->
|
|
|
|
<points points="1" /> <!-- added with 6 karts -->
|
|
|
|
<points points="3" /> <!-- added with 7 karts -->
|
2018-04-16 18:32:25 -04:00
|
|
|
<points points="1" /> <!-- added with 8 karts -->
|
2017-02-07 19:31:53 -05:00
|
|
|
<points points="3" /> <!-- added with 9 karts -->
|
2018-04-16 18:32:25 -04:00
|
|
|
<points points="4" /> <!-- added with 10 karts -->
|
|
|
|
<points points="1" /> <!-- added with 11 karts -->
|
2017-02-07 19:31:53 -05:00
|
|
|
<points points="2" /> <!-- added with 12 karts -->
|
2018-04-16 18:32:25 -04:00
|
|
|
<points points="5" /> <!-- added with 13 karts -->
|
|
|
|
<points points="1" /> <!-- added with 14 karts -->
|
|
|
|
<points points="3" /> <!-- added with 15 karts -->
|
|
|
|
<points points="6" /> <!-- added with 16 karts -->
|
2017-02-07 19:31:53 -05:00
|
|
|
<points points="4" /> <!-- added with 17 karts -->
|
|
|
|
<points points="2" /> <!-- added with 18 karts -->
|
2018-04-16 18:32:25 -04:00
|
|
|
<points points="7" /> <!-- added with 19 karts -->
|
2017-02-07 19:31:53 -05:00
|
|
|
<points points="1" /> <!-- added with 20 karts -->
|
2018-04-16 18:32:25 -04:00
|
|
|
<points points="8" /> <!-- added with 21 karts -->
|
|
|
|
<points points="1" /> <!-- added with 22 karts -->
|
|
|
|
<points points="2" /> <!-- added with 23 karts -->
|
|
|
|
<points points="1" /> <!-- added with 24 karts -->
|
|
|
|
<points points="9" /> <!-- added with 25 karts -->
|
|
|
|
<points points="4" /> <!-- added with 26 karts -->
|
|
|
|
<points points="1" /> <!-- added with 27 karts -->
|
|
|
|
<points points="10" /><!-- added with 28 karts -->
|
|
|
|
<points points="2" /> <!-- added with 29 karts -->
|
|
|
|
<points points="12" /><!-- added with 30 karts -->
|
2010-09-15 22:31:20 -04:00
|
|
|
</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.
|
2018-09-14 10:03:02 -04:00
|
|
|
Penalty: Penalty time if a kart accelerates before SET. -->
|
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.
|
2018-02-10 01:55:45 -05:00
|
|
|
fps: The physics timestep size
|
2017-03-22 04:52:03 -04:00
|
|
|
default-track-friction: Default friction to be used for the track and
|
|
|
|
any track/library pbject.
|
|
|
|
default-moveable-friction: Default friction to be used for any moveable,
|
|
|
|
e.g. karts, bowling balls, ...
|
2018-06-20 10:31:51 -04:00
|
|
|
solver-iteation: Number of solver iterations. A lower number reduces
|
|
|
|
the quality, but can reduce bouncing effect.
|
|
|
|
solver-split-impulse:: by default bullet solves for velocity and
|
|
|
|
position at the same time, which can introduce bounce. Setting
|
|
|
|
this to 1 can reduce bounce.
|
|
|
|
solver-split-impulse-threshold: Penetration threshold for using split
|
|
|
|
impulse (ignored if solver-split-impulse is false).
|
2018-06-20 20:20:22 -04:00
|
|
|
solver-mode: Bullet's solver mode is a bit mask, which can be modified.
|
|
|
|
This entry contains a space-separated list of mode-names to either
|
|
|
|
set or unset in this bit mask. Any name starting with a '-' indicate
|
|
|
|
that the bit is to be set to 0, otherwise the bit will be set.
|
|
|
|
|
|
|
|
This field takes two
|
2018-09-28 05:41:45 -04:00
|
|
|
values: the first value is 'and'ed with bullet's default values
|
2018-06-20 10:31:51 -04:00
|
|
|
(i.e. it can be used to unset bullet defaults), the second value
|
|
|
|
is 'or'ed (i.e. is used to set a bit). A value of -1 for 'and'
|
2018-06-20 20:20:22 -04:00
|
|
|
means to keep all bits. The valid names are listed in stk_config.cpp
|
|
|
|
and correspond to the definitions in btContactSolverInfo.h, e.g.:
|
|
|
|
'randomized_order' corresponds to the bit SOLVER_RANDMIZE_ORDER.
|
2012-11-18 17:22:30 -05:00
|
|
|
-->
|
|
|
|
<physics smooth-normals="true"
|
2017-03-22 04:52:03 -04:00
|
|
|
smooth-angle-limit="0.65"
|
2018-02-10 01:55:45 -05:00
|
|
|
fps="120"
|
2017-03-22 04:52:03 -04:00
|
|
|
default-track-friction="0.5"
|
2018-09-28 05:41:45 -04:00
|
|
|
default-moveable-friction="0.5"
|
2018-06-20 22:38:13 -04:00
|
|
|
solver-iterations="4"
|
|
|
|
solver-split-impulse="true"
|
|
|
|
solver-split-impulse-threshold="-0.00001"
|
2018-06-20 10:31:51 -04:00
|
|
|
solver-mode=""/>
|
2011-02-03 16:39:03 -05:00
|
|
|
|
2019-01-01 09:54:15 -05:00
|
|
|
<!-- The title and default musics. -->
|
|
|
|
<music title="main_theme.music" default="kart_grand_prix.music"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
2012-02-28 17:33:49 -05:00
|
|
|
<!-- Replay related values, mostly concerned with saving less data
|
|
|
|
and using interpolation instead.
|
2018-05-13 20:51:52 -04:00
|
|
|
max-frames: Maximum number of transform events that can be saved
|
|
|
|
in a replay/history file. With normal play, 900 are
|
|
|
|
enough to store at least one minute, usually more.
|
|
|
|
delta-t Maximum time between saving consecutive transform events.
|
|
|
|
The recording will do more transform events when some kart data
|
|
|
|
changes significantly.
|
|
|
|
delta-speed If the speed difference exceeds this delta, a
|
|
|
|
new transform event is generated before maximum time.
|
|
|
|
delta-steering If the steering angle difference exceeds this delta,
|
|
|
|
new transform event is generated before maximum time. -->
|
2018-11-19 14:38:19 -05:00
|
|
|
<replay max-frames="12000" delta-t="0.100" delta-speed="0.6"
|
2018-10-12 15:31:13 -04:00
|
|
|
delta-steering="0.26" />
|
2012-02-28 17:33:49 -05:00
|
|
|
|
2018-09-28 05:41:45 -04:00
|
|
|
<!-- Determines the minimap related values.
|
2018-05-05 16:12:05 -04:00
|
|
|
size: The size of the minimap (scaled afterwards) 480 = full screen height)
|
|
|
|
ai-icon: The size of the icons for the AI karts on the minimap.
|
|
|
|
player-icon: The size of the icons for the player karts. -->
|
2018-05-05 15:25:31 -04:00
|
|
|
|
2018-05-05 16:12:05 -04:00
|
|
|
<minimap size="180.0" ai-icon="16.0" player-icon="20.0"/>
|
2018-05-05 15:25:31 -04:00
|
|
|
|
2018-09-28 05:41:45 -04:00
|
|
|
<urls donate="https://supertuxkart.net/Donate"
|
2019-07-23 13:33:12 -04:00
|
|
|
password-reset="https://online.supertuxkart.net/password-reset.php"
|
|
|
|
assets-download="https://downloads.sourceforge.net/project/supertuxkart/stk-assets-mobile/"/>
|
2018-06-19 19:59:54 -04:00
|
|
|
|
2010-03-15 19:00:34 -04:00
|
|
|
<!-- Skidmark data: maximum number of skid marks, and
|
2016-12-22 21:08:12 -05:00
|
|
|
time for skidmarks to fade out. Maximum number will over
|
|
|
|
current number of karts, so the more karts, the less
|
|
|
|
skidmark is on track. -->
|
|
|
|
<skid-marks max-number="500" fadeout-time="60"/>
|
2014-07-28 12:32:39 -04:00
|
|
|
|
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. -->
|
2018-11-13 10:11:28 -05:00
|
|
|
<delay-finish time="1.0"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
|
|
|
<!-- How long the music credits are shown. -->
|
2019-01-04 01:54:00 -05:00
|
|
|
<credits music="8"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
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. -->
|
2018-11-19 22:08:21 -05:00
|
|
|
<bomb time="30.0" time-increase="0.0"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
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
|
2018-12-21 21:33:01 -05:00
|
|
|
no more/new item s are given to the kart.
|
|
|
|
no-explosive-items-timeout determines if world time is less than this value
|
|
|
|
then no cake or basketball is given by bonus boxes. -->
|
|
|
|
<powerup collect-mode="new" no-explosive-items-timeout="15.0"/>
|
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.
|
2018-10-31 02:12:53 -04:00
|
|
|
Order: giftbox, banana, big-nitro, small-nitro, bubble-gum, nolok-bubble-gum,
|
2019-02-26 22:31:19 -05:00
|
|
|
easter egg-->
|
|
|
|
<switch time="5" items="1 0 4 4 2 2 6"/>
|
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
|
|
|
|
2018-09-28 05:41:45 -04:00
|
|
|
<!-- Networking
|
2018-07-25 04:09:05 -04:00
|
|
|
steering-reduction: Reduce a remote kart's steering by this factor
|
|
|
|
each frame. This helps reduces oversteering by high latency
|
|
|
|
clients when they only do minor steering adjustments.
|
2018-11-09 08:17:38 -05:00
|
|
|
max-moveable-objects: Maximum number of moveable objects in a track
|
|
|
|
when networking is on. Objects will be hidden if total count is
|
|
|
|
larger than this value.
|
2017-06-04 18:54:52 -04:00
|
|
|
-->
|
2018-12-21 21:33:01 -05:00
|
|
|
<networking steering-reduction="1.0"
|
2018-11-09 08:17:38 -05:00
|
|
|
max-moveable-objects="15"/>
|
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) -->
|
2016-06-23 19:10:56 -04:00
|
|
|
<camera fov-1="80" fov-2="65" fov-3="50" fov-4="75" cutscene-fov="0.61" />
|
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.
|
2018-03-31 21:09:57 -04:00
|
|
|
nitro-usage: Integer determining how well the AI uses nitro, from 0 to 4
|
|
|
|
0 corresponds to no use ; while 1 to 4 corresponds to various degrees
|
|
|
|
of quality use (using it immediately for 1 to more context-aware strategies)
|
|
|
|
item-skill: Integer determining how well the AI use items, from 0 to 5
|
|
|
|
0 corresponds to no use ; 1 to use after a random time ; while 2 to 5 use
|
|
|
|
more advanced tactics
|
2012-10-22 17:51:05 -04:00
|
|
|
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).
|
2018-05-26 19:09:18 -04:00
|
|
|
first-speed-cap: Fraction of maximum speed the first AI 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!
|
|
|
|
last-speed-cap: same as first-speed-cap, but for last AI kart.
|
|
|
|
AI karts in-between use an average of it with first-speed-cap.
|
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"
|
2018-03-31 21:09:57 -04:00
|
|
|
nitro-usage="0"
|
|
|
|
item-skill="1"
|
2012-10-22 17:51:05 -04:00
|
|
|
collect-avoid-items="false"
|
|
|
|
handle-bomb="false"
|
2018-05-26 19:09:18 -04:00
|
|
|
first-speed-cap="-100:1.0 -50:0.9 0:0.85 100:0.65"
|
|
|
|
last-speed-cap="-150:0.92 -50:0.75 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"
|
2018-03-31 21:09:57 -04:00
|
|
|
nitro-usage="1"
|
|
|
|
item-skill="2"
|
2012-10-22 17:51:05 -04:00
|
|
|
collect-avoid-items="true"
|
|
|
|
handle-bomb="false"
|
2018-05-26 19:09:18 -04:00
|
|
|
first-speed-cap="20:1.0 60:0.9 100:0.85"
|
|
|
|
last-speed-cap="-50:0.94 0:0.85 100:0.75"
|
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"
|
2018-03-31 21:09:57 -04:00
|
|
|
shield-incoming-radius="8"
|
2012-10-22 17:51:05 -04:00
|
|
|
false-start-probability="0.01"
|
|
|
|
min-start-delay="0.15" max-start-delay="0.28"
|
2018-03-31 21:09:57 -04:00
|
|
|
nitro-usage="2"
|
|
|
|
item-skill="3"
|
2012-10-22 17:51:05 -04:00
|
|
|
collect-avoid-items="true"
|
|
|
|
handle-bomb="true"
|
2018-05-26 19:09:18 -04:00
|
|
|
first-speed-cap="50:1.0 150:0.9"
|
|
|
|
last-speed-cap="0:0.96 80: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"
|
2018-03-31 21:09:57 -04:00
|
|
|
shield-incoming-radius="6"
|
2013-04-11 02:17:46 -04:00
|
|
|
false-start-probability="0.0"
|
|
|
|
min-start-delay="0.15" max-start-delay="0.2"
|
2018-03-31 21:09:57 -04:00
|
|
|
nitro-usage="3"
|
|
|
|
item-skill="4"
|
2013-04-11 02:17:46 -04:00
|
|
|
collect-avoid-items="true"
|
|
|
|
handle-bomb="true"
|
2018-05-26 19:09:18 -04:00
|
|
|
first-speed-cap="0:1.0"
|
|
|
|
last-speed-cap="0:1.0"
|
2013-04-11 02:17:46 -04:00
|
|
|
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.
|
2018-07-18 19:55:24 -04:00
|
|
|
The restitution used depends on the speed to avoid physics issues
|
|
|
|
(a collision with high speed and high restitution will push the
|
|
|
|
kart high up into the air). The values specified are
|
|
|
|
speed:restitution pairs, the actual restitution will be
|
|
|
|
interpolated based on the points specified here.
|
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"
|
2017-02-17 17:13:39 -05:00
|
|
|
impulse="3000" impulse-time="0.1" terrain-impulse="160"
|
2018-07-18 19:55:24 -04:00
|
|
|
restitution="0:1.0 5:1.0 20:0.2" bevel-factor="0.5 0.0 0.3"
|
2017-09-05 19:06:04 -04:00
|
|
|
physical-wheel-position="0" />
|
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...
|
|
|
|
-->
|
2019-06-04 22:18:29 -04:00
|
|
|
<fonts-list normal-ttf="Cantarell-Regular.otf wqy-microhei.ttf NotoSansThai-Regular.ttf NotoSansHebrew-Regular.ttf NotoNaskhArabicUI-Regular.ttf"
|
2019-06-09 22:35:42 -04:00
|
|
|
digit-ttf="SigmarOne.otf"
|
|
|
|
color-emoji-ttf="NotoColorEmoji.ttf"/>
|
2016-07-18 04:03:11 -04:00
|
|
|
|
2017-10-20 05:10:08 -04:00
|
|
|
<!-- Maximum bones from all animated meshes in each frame to be uploaded for
|
|
|
|
hardware skinning, For gles 3.0 the specification guarantees at least 2048, for
|
|
|
|
TBO in desktop at least 65536 (max buffer size) / 64, SSBO at least 2^24 / 64,
|
|
|
|
so 1024 will work everywhere. -->
|
|
|
|
<skinning max-bones="1024"/>
|
|
|
|
|
2017-12-25 01:00:10 -05:00
|
|
|
<!-- For users with libsquish:
|
|
|
|
Use a slow but high quality colour compressor.
|
|
|
|
kColourClusterFit = (32),
|
|
|
|
Use a fast but low quality colour compressor.
|
2018-06-20 10:31:51 -04:00
|
|
|
kColourRangeFit = (64),
|
2017-12-25 01:00:10 -05:00
|
|
|
Use a very slow but very high quality colour compressor.
|
|
|
|
kColourIterativeClusterFit = (256),
|
2018-01-12 22:55:57 -05:00
|
|
|
STK default the low quality.
|
2017-12-25 01:00:10 -05:00
|
|
|
-->
|
2018-01-12 22:55:57 -05:00
|
|
|
<texture-compression quality="64"/>
|
2017-12-25 01:00:10 -05:00
|
|
|
|
2018-07-30 22:46:41 -04:00
|
|
|
<!-- List of default ports used, by default STK use random ports for client.
|
|
|
|
The server discovery port has to be the same across all clients and servers.
|
2018-03-06 02:38:51 -05:00
|
|
|
-->
|
2018-11-09 08:17:38 -05:00
|
|
|
<network-ports server-discovery-port="2757" client-port="2758" server-port="2759"/>
|
2018-03-06 02:38:51 -05:00
|
|
|
|
2018-11-13 03:22:20 -05:00
|
|
|
<!-- Configurable values used in SmoothNetworkBody class:
|
|
|
|
min-adjust-length and max-adjust-length: Error in length smaller or larger
|
|
|
|
than this value will be ignored (ie show the real position).
|
|
|
|
min-adjust-speed: Minimum linear velocity required by a body to have smoothing.
|
|
|
|
max-adjust-time: Maximum time spent in each smoothing stage.
|
|
|
|
adjust-length-threshold: The higher this value, the larger the correction curve.
|
2018-11-12 02:58:23 -05:00
|
|
|
-->
|
2018-11-13 12:00:59 -05:00
|
|
|
<network-smoothing min-adjust-length="0.05"
|
2018-11-12 02:58:23 -05:00
|
|
|
max-adjust-length="4.0"
|
|
|
|
min-adjust-speed="0.3"
|
|
|
|
max-adjust-time="2.0"
|
2018-11-12 02:59:07 -05:00
|
|
|
adjust-length-threshold="4.0"/>
|
2018-11-12 02:58:23 -05:00
|
|
|
|
2019-05-08 23:22:19 -04:00
|
|
|
<!-- List of network capabilities to handle different servers with same version.
|
|
|
|
-->
|
|
|
|
<network-capabilities>
|
|
|
|
<capabilities name="report_player"/>
|
2019-06-19 13:33:46 -04:00
|
|
|
<capabilities name="color_emoji"/>
|
2019-05-08 23:22:19 -04:00
|
|
|
</network-capabilities>
|
2009-08-23 15:44:31 -04:00
|
|
|
</config>
|