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. -->
|
2010-02-25 08:20:26 -05:00
|
|
|
<track-version min="2" max="2"/>
|
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
|
|
|
|
|
|
|
<!-- Scores are the number of points given when the race ends,
|
|
|
|
order is most-points-first or most-points-last. -->
|
2010-09-15 22:31:20 -04:00
|
|
|
<grand-prix order = "most-points-first">
|
|
|
|
<!-- 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.
|
2010-09-19 21:15:16 -04:00
|
|
|
The last values applies for all remaining karts.
|
|
|
|
time-per-kart Additional time added to the interval
|
|
|
|
for each kart in the race. -->
|
|
|
|
<follow-the-leader intervals="30 20 10"
|
|
|
|
time-per-kart="1.5" />
|
2010-03-15 19:00:34 -04:00
|
|
|
|
2010-09-01 20:19:06 -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
|
|
|
|
2010-03-15 19:00:34 -04:00
|
|
|
<!-- The title music. -->
|
|
|
|
<music title="main_theme.music"/>
|
|
|
|
|
|
|
|
<!-- Mostly for debugging: maximum number of history entrie$a -->
|
|
|
|
<history max-frames="10000"/>
|
|
|
|
|
|
|
|
<!-- Skidmark data: maximum number of skid marks, and
|
|
|
|
time for skidmars to fade out. -->
|
|
|
|
<skid-marks max-number="100" fadeout-time="60"/>
|
|
|
|
|
|
|
|
<!-- Defines when the upright constraint should be acctive, it's
|
|
|
|
disables when the kart is more than this value from the track. -->
|
|
|
|
<near-ground distance="2"/>
|
|
|
|
|
|
|
|
<!-- 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"/>
|
|
|
|
|
|
|
|
<!-- weight is the additional weight an anvil adds to a kart.
|
|
|
|
speed-factor is the additional slowdown caused by the anvil.
|
|
|
|
time is the time an anvil is active. -->
|
|
|
|
<anvil time="2.0" weight="150" speed-factor="0.2"/>
|
|
|
|
|
|
|
|
<!-- friction is the friction increase when a parachute is attached.
|
|
|
|
time is the time an attached parachute is active
|
|
|
|
time-other is the time a parachute attached from other kart works
|
|
|
|
done-fraction is the fraction of speed when lost will detach parachute -->
|
|
|
|
<parachute friction="2.0" time="4.0" time-other="8.0" done-fraction="0.7"/>
|
|
|
|
|
|
|
|
<!-- time is the time till a bomb explodes. time-increase is the time added
|
|
|
|
to timer when bomb is passed on. -->
|
|
|
|
<bomb time="30.0" time-increase="-5.0"/>
|
|
|
|
|
|
|
|
<!-- time is the time a zipper is active. force is the additional
|
|
|
|
zipper force. speed-gain is the one time additional speed.
|
|
|
|
max-speed-fraction is a factor multiplied to the maximum
|
|
|
|
speed on the terrain. -->
|
|
|
|
<zipper time="3.5" force="250.0" speed-gain="4.5" max-speed-fraction="2.0"/>
|
|
|
|
|
2010-09-19 21:15:16 -04:00
|
|
|
<!-- Powerup collect-mode decides what is collected if a kart has already an
|
|
|
|
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.
|
|
|
|
Order: item, banana, big-nitro, small-nitro, bubble-bum -->
|
|
|
|
<switch time="5" items="1 0 4 4 2"/>
|
|
|
|
|
2010-04-27 18:43:44 -04:00
|
|
|
<!-- How often bubble gum get driven over before it disappears. -->
|
|
|
|
<bubble-gum disappear-counter="1"/>
|
|
|
|
|
2010-03-19 00:23:32 -04:00
|
|
|
<!-- impulse is the push from explosions when karts aren't hit directly.
|
|
|
|
explosion-impulse-objects is the impulse for physics objects (smaller
|
|
|
|
ones like the cone, will be pushed way too far with normal impulse). -->
|
|
|
|
<explosion impulse="10000.0" impulse-objects="500.0" />
|
|
|
|
|
|
|
|
<!-- 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
|
|
|
|
2010-03-19 00:23:32 -04:00
|
|
|
<!-- Default values for all karts
|
|
|
|
============================ -->
|
|
|
|
<general-kart-defaults>
|
|
|
|
|
|
|
|
<!-- Kart's center point:
|
|
|
|
gravity-shift is the shift of the chassis with regards to the center of
|
|
|
|
mass. E.g. with the the value commented out below the
|
|
|
|
chassis will be 30 cm higher than the center of mass -
|
|
|
|
or the center of mass will be 30 cm lower than the
|
|
|
|
middle of the chassis. So this effectively lowers the
|
|
|
|
center of mass, making the kart more stable and less
|
|
|
|
likely to topple over. Default (if nothing is defined
|
|
|
|
here) is that the center of the mass is at the very bottom
|
|
|
|
of the chassis. -->
|
|
|
|
<center gravity-shift="0 0.3 0"/>
|
|
|
|
|
2010-09-27 08:15:19 -04:00
|
|
|
<!-- Camera: Distance between kart and camera.
|
|
|
|
forward-up-angle: Angle between camera and plane of kart (pitch)
|
|
|
|
when the camera is pointing forward
|
|
|
|
backward-up-angke: Angle between camera and plane of kart (pitch)
|
|
|
|
when the camera is pointing backwards. This is usually
|
|
|
|
larger than the forward-up-angle, since the kart itself
|
|
|
|
otherwise obstricts too much of the view. -->
|
|
|
|
<camera distance="1.5" forward-up-angle="15"
|
|
|
|
backward-up-angle="30"/>
|
2010-03-19 00:23:32 -04:00
|
|
|
|
2010-09-01 20:19:06 -04:00
|
|
|
<!-- If a kart starts within the specified time after 'go',
|
|
|
|
it receives the corresponding bonus from 'boost'. Those
|
|
|
|
fields must have the same size, and must be sorted by
|
|
|
|
increasing times. -->
|
|
|
|
<startup time = "0.3 0.5"
|
2010-09-30 19:10:42 -04:00
|
|
|
boost = "6 3" />
|
2010-09-01 20:19:06 -04:00
|
|
|
|
2010-04-13 20:14:20 -04:00
|
|
|
<!-- Rescue: time: How long it takes the kart to be raised.
|
|
|
|
height: how height the kart will be raised before it is
|
|
|
|
dropped back onto the track.
|
|
|
|
vert rescue offset: used to raise karts a bit higher before
|
|
|
|
releasing them on the ground after a rescue. Used to avoid
|
|
|
|
resetting karts into the track. Not sure if this is still
|
|
|
|
necessary. -->
|
|
|
|
<rescue vert-offset="0.0" time="2" height="2"/>
|
|
|
|
|
2010-06-10 21:19:15 -04:00
|
|
|
<!-- Nitro: power-boost: increase in engine power, i.e. 1=plus 100%
|
|
|
|
consumption: nitro consumption - heavier characters can be set
|
2010-09-19 21:15:16 -04:00
|
|
|
to need more nitro than lighter character.
|
|
|
|
small-container: how much energy a small container gives.
|
|
|
|
big-container: how much energy a big container gives. -->
|
|
|
|
<nitro power-boost="3" consumption="1" small-container="1" big-container="3"/>
|
2010-03-15 19:00:34 -04:00
|
|
|
|
2010-03-19 00:23:32 -04:00
|
|
|
<!-- 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.
|
|
|
|
visual: Additional graphical rotation of kart. -->
|
|
|
|
<skid increase="1.05" decrease="0.95" max="2.5" time-till-max="0.4"
|
|
|
|
visual="0.16"/>
|
|
|
|
|
2010-03-19 00:23:32 -04:00
|
|
|
<!-- Slipstream: length: How far behind a kart slipstream works
|
2010-03-15 19:00:34 -04:00
|
|
|
collect-time: How many seconds of sstream give maximum benefit
|
|
|
|
use-time: How long the benefit will last.
|
|
|
|
add-power: Additional power due to sstreaming. 1 = +100%
|
|
|
|
min-speed: Minimum speed necessary for slipstream to take effect. -->
|
|
|
|
<slipstream length="10" collect-time="2" use-time="5"
|
|
|
|
add-power="3" min-speed="10" />
|
|
|
|
|
|
|
|
<!-- min-speed-radius and max-speed-radius define the smallest turn
|
|
|
|
radius at lowest speed (4.64 m at speed 0) and at high speed
|
|
|
|
(13.5 m at speed 12 m/s). Maximum steering angles for speeds
|
|
|
|
in between will be interpolated. This allows for tighter turns
|
|
|
|
at lower speeds. The actual steering angle is dependent on the
|
|
|
|
wheel base of the kart: radius = wheel_base/sin(steering_angle)
|
|
|
|
By specifying the radius the steering behaviour can be defined
|
2010-03-19 00:23:32 -04:00
|
|
|
independent of the kart size.
|
|
|
|
time-full-steer is the time when a player's input goes from neutral
|
|
|
|
steering to extreme left or right.
|
|
|
|
time-full-steer-ai is the time for the AI to go from neutral steering to
|
|
|
|
extreme left (or right). This can be used to reduce
|
|
|
|
'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
|
|
|
|
the wheel can go from -1 to +1 steering in one frame,
|
|
|
|
basically disabling this mechanism. -->
|
|
|
|
<turn min-speed-radius="0 3" max-speed-radius="10 15.0"
|
|
|
|
time-full-steer ="0.2" time-full-steer-ai="0.1" />
|
|
|
|
|
|
|
|
<!-- Speed and acceleration related values: power and max-speed (in m/s)
|
2010-09-20 21:44:26 -04:00
|
|
|
have 3 values, one for low, medium, and hard.
|
2010-03-19 00:23:32 -04:00
|
|
|
brake-factor: Value used when braking. max-speed-reverse-ratio is
|
|
|
|
the percentage of max speed for reverse gear. -->
|
2010-10-16 09:03:47 -04:00
|
|
|
<engine power="300 400 400" max-speed="15 20 23" brake-factor="11.0"
|
2010-03-19 00:23:32 -04:00
|
|
|
max-speed-reverse-ratio="0.3"/>
|
|
|
|
|
|
|
|
<!-- Simulated gears: switch-ratio defines at what ratio of the maximum
|
|
|
|
speed what gear is selected, e.g. 0.25 means that if the speed is
|
|
|
|
bigger or equal to 0.25 x maxSpeed then use gear 1, 0.5 means if
|
|
|
|
the speed is bigger or equal to 0.5 x maxSpeed then gear 2.
|
|
|
|
gear-power-increase contains the increase in max power (to simulate
|
|
|
|
different gears), e.g. 2.5 as first entry means: 2.5*maxPower in gear 1
|
|
|
|
| first | second | third | . -->
|
|
|
|
<gear switch-ratio="0.25 0.7 1.0" power-increase="2.2 1.7 1.3"/>
|
|
|
|
|
|
|
|
<!-- mass -->
|
|
|
|
<mass value="225"/>
|
|
|
|
|
|
|
|
<!-- Suspension related values. stiffness: kart's suspension stiffness.
|
|
|
|
rest Length of suspension when at rest. travel-cm: maximum
|
|
|
|
movement of suspension - in cm!! -->
|
|
|
|
<suspension stiffness="248.0" rest="0.2" travel-cm="19"/>
|
|
|
|
|
|
|
|
<!-- Wheel related parameters: damping-relaxation/compression: for
|
|
|
|
bullet, damping parameters. Radius and width of wheel.
|
|
|
|
front-right, front-left, rear-right and rear-left give the
|
|
|
|
position of the physics raycast wheels relative to the center of
|
|
|
|
gravity. Default is to use the corners of the chassis to attach
|
|
|
|
the wheels to. -->
|
|
|
|
<wheels damping-relaxation="20" damping-compression="4.4" radius="0.25">
|
|
|
|
<front-right position="0.38 0 0.6" />
|
|
|
|
<front-left position="-0.38 0 0.6" />
|
|
|
|
<rear-right position="0.38 0 -0.6" />
|
|
|
|
<rear-left position="-0.38 0 -0.6"/>
|
|
|
|
</wheels>
|
|
|
|
|
|
|
|
<!-- friction: slip used for bullet skidding. A high value
|
|
|
|
(like 10000000) disables bullet skidding. -->
|
|
|
|
<friction slip="10000000"/>
|
|
|
|
|
|
|
|
<!-- Values related to stability of the chassis: damping, and reduced
|
|
|
|
impact of roll. -->
|
|
|
|
<stability roll-influence="0.03"
|
|
|
|
chassis-linear-damping="0.2"
|
|
|
|
chassis-angular-damping="30.2"/>
|
|
|
|
|
|
|
|
<!-- Parameters for the upright constraint, which keeps karts upright. -->
|
|
|
|
<upright tolerance="0.2" max-force="30"/>
|
|
|
|
|
|
|
|
<!-- An artificial force that pulls a wheel to the ground if its off
|
|
|
|
ground. Reduces the affect if a kart loses contact with the ground
|
|
|
|
(i.e. it then can't steer or accelerate anymore). -->
|
|
|
|
<track-connection-accel value="2"/>
|
|
|
|
|
|
|
|
<!-- jump-velocity is the z-axis velocity set when a jump is initiated.
|
|
|
|
This will cause the kart to start rising, till it is pulled back
|
|
|
|
by gravity. A higher value means higher Z velocity, meaning the
|
|
|
|
kart will rise faster and higher, and will be in the air longer.
|
|
|
|
Notice that jumps are currently disabled, so this value is ignored. -->
|
|
|
|
<jump velocity="3.0"/>
|
|
|
|
|
|
|
|
<!-- collision-side-impulse is an additional (artificial) impulse that
|
|
|
|
pushes the slower kart out of the way of the faster karts (i.e.
|
|
|
|
sideways to the faster kart) when a collision happens. This is
|
|
|
|
for now disabled since it needs tuning and additionally has the
|
|
|
|
problem that the amount of push a hit kart receives depends on
|
|
|
|
the orientation - if a kart is pushed in the direction it is
|
|
|
|
driving, it will be more (no friction from tires), while when
|
|
|
|
pushed to the side, hardly anything happens. -->
|
|
|
|
<collision side-impulse="0"/>
|
|
|
|
|
|
|
|
<!-- Kart-specific rubber band handling: max-length is the
|
|
|
|
maximum length of rubber band before it snaps. force is
|
|
|
|
the force a plunger/rubber band applies to the kart(s).
|
|
|
|
duration is the duration a rubber band acts. -->
|
|
|
|
<rubber-band max-length="50" force="1500" duration="1"/>
|
2010-04-20 19:50:38 -04:00
|
|
|
|
|
|
|
<!-- Kart-specific explosion parameters. Height: how high this
|
|
|
|
this kart is being pushed in the sky by an explosion.
|
|
|
|
Time: how long it takes before the kart can drive again. -->
|
2010-09-22 23:43:10 -04:00
|
|
|
<explosion time="2" radius="5" />
|
|
|
|
<!-- Kart-specific settings used by the AI.
|
|
|
|
steering-variation: make each kart steer towards slightly
|
|
|
|
different driveline points, so that AI don't create trains.
|
|
|
|
Maximum value should be 1 (steer towards left/right side
|
|
|
|
of driveline), 0 means exactly towards quad center point.
|
|
|
|
Depending on kart id karts will aim at different points.-->
|
2010-09-23 03:21:52 -04:00
|
|
|
<ai steering-variation="0.0" />
|
2010-03-19 00:23:32 -04:00
|
|
|
|
|
|
|
</general-kart-defaults>
|
2009-08-23 15:44:31 -04:00
|
|
|
</config>
|