stk_config.xml 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. <?xml version="1.0"?>
  2. <config>
  3. <!-- Minimum and maximum kart versions that can be used by this binary.
  4. Older version will be ignored. -->
  5. <kart-version min="2" max="3"/>
  6. <!-- Minimum and maxium track versions that be be read by this binary.
  7. Older versions will be ignored. -->
  8. <track-version min="6" max="7"/>
  9. <!-- Minimum and maxium server versions that be be read by this binary.
  10. Older versions will be ignored. -->
  11. <server-version min="1" max="1"/>
  12. <!-- Maximum number of karts to be used at the same time. This limit
  13. can easily be increased, but some tracks might not have valid start
  14. positions for those additional karts. -->
  15. <karts max-number="20"/>
  16. <!-- Scores are the number of points given when the race ends. -->
  17. <grand-prix>
  18. <!-- Establish the distribution of points in GP.
  19. For a race of N karts ; the N-first point values are taken.
  20. Then, they are sorted. E.g. ; 0 1 2 1 3 2 becomes 0 1 1 2 2 3.
  21. Then these numbers are used to establish the DIFFERENCE of points
  22. between consecutive karts.
  23. The smaller of the numbers is used to establish the score for the
  24. last kart and not the difference between 2 karts.
  25. In the above example, the last kart will have 0 point, the one before
  26. before 1 (0+1) ; the one before 2 (0+1+1), the one before 4 (0+1+1+2),
  27. etc. until the 1st which have 9 (0+1+1+2+2+3)
  28. There shall be at least as much points nodes as max-numbers kart -->
  29. <points points="0" /> <!-- added with 1 kart, score for the last kart -->
  30. <points points="1" /> <!-- added with 2 karts -->
  31. <points points="1" /> <!-- added with 3 karts -->
  32. <points points="2" /> <!-- added with 4 karts -->
  33. <points points="2" /> <!-- added with 5 karts -->
  34. <points points="1" /> <!-- added with 6 karts -->
  35. <points points="3" /> <!-- added with 7 karts -->
  36. <points points="1" /> <!-- added with 8 karts -->
  37. <points points="3" /> <!-- added with 9 karts -->
  38. <points points="4" /> <!-- added with 10 karts -->
  39. <points points="1" /> <!-- added with 11 karts -->
  40. <points points="2" /> <!-- added with 12 karts -->
  41. <points points="5" /> <!-- added with 13 karts -->
  42. <points points="1" /> <!-- added with 14 karts -->
  43. <points points="3" /> <!-- added with 15 karts -->
  44. <points points="6" /> <!-- added with 16 karts -->
  45. <points points="4" /> <!-- added with 17 karts -->
  46. <points points="2" /> <!-- added with 18 karts -->
  47. <points points="7" /> <!-- added with 19 karts -->
  48. <points points="1" /> <!-- added with 20 karts -->
  49. <points points="8" /> <!-- added with 21 karts -->
  50. <points points="1" /> <!-- added with 22 karts -->
  51. <points points="2" /> <!-- added with 23 karts -->
  52. <points points="1" /> <!-- added with 24 karts -->
  53. <points points="9" /> <!-- added with 25 karts -->
  54. <points points="4" /> <!-- added with 26 karts -->
  55. <points points="1" /> <!-- added with 27 karts -->
  56. <points points="10" /><!-- added with 28 karts -->
  57. <points points="2" /> <!-- added with 29 karts -->
  58. <points points="12" /><!-- added with 30 karts -->
  59. </grand-prix>
  60. <!-- Time in follow-the-leader after which karts are removed.
  61. The last values applies for all remaining karts.
  62. time-per-kart Additional time added to the interval
  63. for each kart in the race. -->
  64. <follow-the-leader intervals="30 20 10"
  65. time-per-kart="0" />
  66. <!-- Startup information.
  67. Penalty: Penalty time if a kart accelerates before GO. -->
  68. <startup penalty="1" />
  69. <!-- How often a news message is going to be displayed before
  70. it will be ignored. -->
  71. <news max-display="10"/>
  72. <!-- smooth-normals: If the normals (for wheel raycasts) should be smoothened.
  73. This is a global setting, it still needs to be activated for each
  74. track individually.
  75. smooth-angle-limits: If the angle between the normal of a vertex and
  76. the normal of a triangle are larger than this value, the normal
  77. of the triangle will be used in interpolating the normals. This
  78. has the effect of an edge split modifier - if the flat track and (say)
  79. a wall at a 90 egree angle are not separated, the normal at that
  80. vertex will be 45 degrees, resulting in completely wrong physics.
  81. The angle limit in this case will discard the 45 degrees, and use
  82. the normal of the flat triangle (pointing upwards). In the worst
  83. case (all three normals discarded, the interpolation will just
  84. return the normal of the triangle (i.e. de facto no interpolation),
  85. but it helps making smoothing much more useful without fixing tracks.
  86. fps: The physics timestep size
  87. default-track-friction: Default friction to be used for the track and
  88. any track/library pbject.
  89. default-moveable-friction: Default friction to be used for any moveable,
  90. e.g. karts, bowling balls, ...
  91. solver-iteation: Number of solver iterations. A lower number reduces
  92. the quality, but can reduce bouncing effect.
  93. solver-split-impulse:: by default bullet solves for velocity and
  94. position at the same time, which can introduce bounce. Setting
  95. this to 1 can reduce bounce.
  96. solver-split-impulse-threshold: Penetration threshold for using split
  97. impulse (ignored if solver-split-impulse is false).
  98. solver-mode: Bullet's solver mode is a bit mask, which can be modified.
  99. This entry contains a space-separated list of mode-names to either
  100. set or unset in this bit mask. Any name starting with a '-' indicate
  101. that the bit is to be set to 0, otherwise the bit will be set.
  102. This field takes two
  103. values: the first value is 'and'ed with bullet's default values
  104. (i.e. it can be used to unset bullet defaults), the second value
  105. is 'or'ed (i.e. is used to set a bit). A value of -1 for 'and'
  106. means to keep all bits. The valid names are listed in stk_config.cpp
  107. and correspond to the definitions in btContactSolverInfo.h, e.g.:
  108. 'randomized_order' corresponds to the bit SOLVER_RANDMIZE_ORDER.
  109. -->
  110. <physics smooth-normals="true"
  111. smooth-angle-limit="0.65"
  112. fps="120"
  113. default-track-friction="0.5"
  114. default-moveable-friction="0.5"
  115. solver-iterations="4"
  116. solver-split-impulse="true"
  117. solver-split-impulse-threshold="-0.00001"
  118. solver-mode=""/>
  119. <!-- The title music. -->
  120. <music title="main_theme.music"/>
  121. <!-- Replay related values, mostly concerned with saving less data
  122. and using interpolation instead.
  123. max-frames: Maximum number of transform events that can be saved
  124. in a replay/history file. With normal play, 900 are
  125. enough to store at least one minute, usually more.
  126. delta-t Maximum time between saving consecutive transform events.
  127. The recording will do more transform events when some kart data
  128. changes significantly.
  129. delta-speed If the speed difference exceeds this delta, a
  130. new transform event is generated before maximum time.
  131. delta-steering If the steering angle difference exceeds this delta,
  132. new transform event is generated before maximum time. -->
  133. <replay max-frames="12000" delta-t="0.200" delta-speed="0.6"
  134. delta-steering="0.35" />
  135. <!-- Determines the minimap related values.
  136. size: The size of the minimap (scaled afterwards) 480 = full screen height)
  137. ai-icon: The size of the icons for the AI karts on the minimap.
  138. player-icon: The size of the icons for the player karts. -->
  139. <minimap size="180.0" ai-icon="16.0" player-icon="20.0"/>
  140. <urls donate="https://supertuxkart.net/Donate"
  141. password-reset="http://addons.supertuxkart.net/password-reset.php" />
  142. <!-- Skidmark data: maximum number of skid marks, and
  143. time for skidmarks to fade out. Maximum number will over
  144. current number of karts, so the more karts, the less
  145. skidmark is on track. -->
  146. <skid-marks max-number="500" fadeout-time="60"/>
  147. <!-- Defines when the upright constraint should be active, it's
  148. disabled when the kart is more than this value from the track. -->
  149. <near-ground distance="2"/>
  150. <!-- How long the end animation will be shown. -->
  151. <delay-finish time="0.5"/>
  152. <!-- How long the music credits are shown. -->
  153. <credits music="10"/>
  154. <!-- time is the time till a bomb explodes. time-increase is the time added
  155. to timer when bomb is passed on. -->
  156. <bomb time="30.0" time-increase="-5.0"/>
  157. <!-- Powerup collect-mode decides what is collected if a kart has already an
  158. powerup: same: get one more item of the same type.
  159. new: always get a new item.
  160. only-if-same: if the random item is the same one as the
  161. one currently owned, increase the number, otherwise
  162. no more/new item s are given to the kart. -->
  163. <powerup collect-mode="new"/>
  164. <!-- time: How long a switch is being effective.
  165. items for each item list the index of the item it is switched with.
  166. Order: giftbox, banana, big-nitro, small-nitro, bubble-gum, trigger,
  167. nolok-bubble-gum, easter egg -->
  168. <switch time="5" items="1 0 4 4 2 5 2 7"/>
  169. <!-- disappear-counter: How often bubblegum gets driven over before it disappears.
  170. shield-time: How long the bubblegum shield lasts
  171. restrict-weapons: If true, using weapons will destroy the user's shield -->
  172. <bubblegum disappear-counter="1" shield-time="10.0" restrict-weapons="false"/>
  173. <!-- explosion-impulse-objects is the impulse that pushes physical objects
  174. away if there is an explosion. -->
  175. <explosion impulse-objects="500.0" />
  176. <!-- Networking
  177. state-frequency: how many states the server will send per second.
  178. steering-reduction: Reduce a remote kart's steering by this factor
  179. each frame. This helps reduces oversteering by high latency
  180. clients when they only do minor steering adjustments.
  181. -->
  182. <networking state-frequency="10" steering-reduction="1.0"/>
  183. <!-- The field od views for 1-4 player split screen. fov-3 is
  184. actually not used (since 3 player split screen uses the
  185. same layout as 4 player split screen) -->
  186. <camera fov-1="80" fov-2="65" fov-3="50" fov-4="75" cutscene-fov="0.61" />
  187. <!-- disable-while-unskid: Disable steering when stop skidding during
  188. the time it takes to adjust the physical body with the graphics.
  189. camera-follow-skid: If true the camera will stay behind the kart,
  190. potentially making it easier to see where the kart is going to
  191. after a skid. -->
  192. <steer disable-while-unskid="false"
  193. camera-follow-skid="true" />
  194. <!-- Default values for all karts
  195. ============================ -->
  196. <general-kart-defaults>
  197. <!-- Skidding: increase: multiplicative increase of skidding factor in each frame.
  198. decrease: multiplicative decrease of skidding factor in each frame.
  199. max: maximum skidding factor = maximum increase of steering angle.
  200. time-till-max: Time till maximum skidding is reached.
  201. visual: Additional graphical rotation of kart. The graphical rotation
  202. of the kart also determines the direction the kart is driving to
  203. when skidding is stopped.
  204. visual-time: How long it takes for the visual skid to reach maximum.
  205. revert-visual-time: how long it takes when stopping a skid to revert
  206. the visual skid and bring visuals and physics in sync again.
  207. angular-velocity: Angular velocity to be used for the kart when skidding.
  208. min-speed: Minimum speed a kart must have before it can skid. Must be
  209. >0, otherwise the kart can skid at the start of the race.
  210. time-till-bonus: How long a kart needs to skid in order to get a bonus.
  211. bonus-force: A speedup applied to the kart whick skidded for a while.
  212. bonus-time: How long the bonus-force is applied.
  213. bonus-force: Additional engine force (this is used to offset the fact
  214. that turning after skidding (e.g. to correct direction) often uses
  215. up the skid bonus).
  216. post-skid-rotate-factor: a factor to be used to determine how much
  217. the chassis of a kart should rotate to match the graphical view.
  218. A factor of 1 is identical, a smaller factor will rotate the kart
  219. less (which might feel better).
  220. physical-jump-time: Time for a physical jump at the beginning of a skid.
  221. graphical-jump-time: Time for a graphics-only jump at the beginning
  222. of a skid.
  223. reduce-turn-min/max: The steering done by the controller (which is in
  224. [-1,1]) is mapped to [reduce-turn-min, reduce-turn-max] when skidding
  225. is active (for left turn, right turn will use [-max, -min]). The
  226. effect is that while you skid (say left) you can adjust the direction
  227. of the turn the kart is doing somewhat by steering to the left and right,
  228. but you will always keep on doing a left turn, just more or less. -->
  229. <!-- Kart-specific settings used by the AI.
  230. use-slipstream: if the AI should try to overtake karts using slipstream.
  231. disable-slipstream-usage: even if the AI is not trying to use slipstream,
  232. it can get a lot of bonus, esp. on easy since the AI creates trains.
  233. Set this to true to make sure AI does not get any slipstream bonus.
  234. shield-incoming-radius: Radius at which projectiles will be detected and
  235. trigger a shield usage.
  236. false-start-probability: Probability of a false start.
  237. min/max-start-delay: Minimum and maximum start delay.
  238. See http://www.humanbenchmark.com/tests/reactiontime/stats.php
  239. Average reaction time is around 0.215 s.
  240. nitro-usage: Integer determining how well the AI uses nitro, from 0 to 4
  241. 0 corresponds to no use ; while 1 to 4 corresponds to various degrees
  242. of quality use (using it immediately for 1 to more context-aware strategies)
  243. item-skill: Integer determining how well the AI use items, from 0 to 5
  244. 0 corresponds to no use ; 1 to use after a random time ; while 2 to 5 use
  245. more advanced tactics
  246. collect-avoid-items: if the AI should collect and avoid items,
  247. or just ignore them.
  248. handle-bomb: If the AI should actively try to pass on a bomb.
  249. skidding-threshold: only for old-style skidding: when sharp turn
  250. should be triggered. Smaller values means it will sharp turn
  251. earlier, resulting in better driving in thight curves.
  252. max-item-angle: Items that would need more than this change in
  253. direction are not considered for collection.
  254. time-full-steer is the time for the AI to go from neutral steering to
  255. extreme left (or right). This can be used to reduce
  256. 'shaking' of AI karts caused by changing steering direction
  257. too often. It also helps with making it easier to push the
  258. AI karts (otherwise micro-corrections make this nearly
  259. impossible). A value of 1/maxFPS / 2 will guarantee that
  260. the wheel can go from -1 to +1 steering in one frame,
  261. basically disabling this mechanism.
  262. bad-item-closeness is the maximum distance between a good and a
  263. bad item which can force the AI to abandon a good item in order
  264. to avoid hitting a bad item. If the distance is larger, it is
  265. assumed that there will be enough time to change steering
  266. direction.
  267. straight-length-for-zipper is the minimum length a straight
  268. section of the track should have in order to activate a zipper.
  269. competitive when ahead of the player, or more competitive
  270. when behind the player.
  271. skid-probability: Since the AI is usually very good at using
  272. skidding, this is used to implement some rubber-banding for
  273. the AI: depending on distance to the player, the AI will
  274. change the probability of skidding. This attributes takes
  275. a space-separated list of "distance:probability" pairs
  276. (negative distances meaning the kart is behind the player,
  277. a positive number that the AI is ahead of the player).
  278. Then list should have at least 2 entries. Depending on
  279. the actualy distance the kart has the probability is then
  280. linearly interpolated (if the AI is more than the largest
  281. distance ahead, the value for the largest distance is used,
  282. and similarly if the kart is more than the minimum value
  283. behind).
  284. first-speed-cap: Fraction of maximum speed the first AI kart
  285. should drive at. Used to slow down karts that are ahead of
  286. the player. Note that setting this to a value >1 does NOT
  287. increase the speed the kart can drive at!
  288. last-speed-cap: same as first-speed-cap, but for last AI kart.
  289. AI karts in-between use an average of it with first-speed-cap.
  290. collect-item-probability: Probability of the AI actually
  291. trying to collect an item (if an item is selected for
  292. collection in the first place).
  293. -->
  294. <ai>
  295. <easy time-full-steer="0.1"
  296. straight-length-for-zipper="35"
  297. use-slipstream="false"
  298. disable-slipstream-usage="true"
  299. shield-incoming-radius="0"
  300. false-start-probability="0.08"
  301. min-start-delay="0.3" max-start-delay="0.5"
  302. nitro-usage="0"
  303. item-skill="1"
  304. collect-avoid-items="false"
  305. handle-bomb="false"
  306. first-speed-cap="-100:1.0 -50:0.9 0:0.85 100:0.65"
  307. last-speed-cap="-150:0.92 -50:0.75 50:0.6"
  308. max-item-angle="0.7" max-item-angle-high-speed="0.3"
  309. bad-item-closeness="6"
  310. collect-item-probability="0:0"
  311. rb-skid-probability="0:0.0"
  312. skidding-threshold="4.0"
  313. />
  314. <medium time-full-steer="0.1"
  315. straight-length-for-zipper="35"
  316. use-slipstream="false"
  317. disable-slipstream-usage="false"
  318. shield-incoming-radius="10"
  319. false-start-probability="0.04"
  320. min-start-delay="0.25" max-start-delay="0.4"
  321. nitro-usage="1"
  322. item-skill="2"
  323. collect-avoid-items="true"
  324. handle-bomb="false"
  325. first-speed-cap="20:1.0 60:0.9 100:0.85"
  326. last-speed-cap="-50:0.94 0:0.85 100:0.75"
  327. max-item-angle="0.7" max-item-angle-high-speed="0.3"
  328. bad-item-closeness="6"
  329. collect-item-probability="-10:1.0 0:0"
  330. rb-skid-probability="0:0.0"
  331. skidding-threshold="3.0"
  332. />
  333. <hard time-full-steer="0.1"
  334. straight-length-for-zipper="35"
  335. use-slipstream="true"
  336. disable-slipstream-usage="false"
  337. shield-incoming-radius="8"
  338. false-start-probability="0.01"
  339. min-start-delay="0.15" max-start-delay="0.28"
  340. nitro-usage="2"
  341. item-skill="3"
  342. collect-avoid-items="true"
  343. handle-bomb="true"
  344. first-speed-cap="50:1.0 150:0.9"
  345. last-speed-cap="0:0.96 80:0.8"
  346. max-item-angle="0.7" max-item-angle-high-speed="0.3"
  347. bad-item-closeness="6"
  348. collect-item-probability="10:1.0 20:0"
  349. rb-skid-probability="-50:1.0 -20:0.7 20:0.2 50:0.0"
  350. skidding-threshold="2.0"
  351. />
  352. <best time-full-steer="0.1"
  353. straight-length-for-zipper="35"
  354. use-slipstream="true"
  355. disable-slipstream-usage="false"
  356. shield-incoming-radius="6"
  357. false-start-probability="0.0"
  358. min-start-delay="0.15" max-start-delay="0.2"
  359. nitro-usage="3"
  360. item-skill="4"
  361. collect-avoid-items="true"
  362. handle-bomb="true"
  363. first-speed-cap="0:1.0"
  364. last-speed-cap="0:1.0"
  365. max-item-angle="0.7" max-item-angle-high-speed="0.3"
  366. bad-item-closeness="6"
  367. collect-item-probability="0:1.0"
  368. rb-skid-probability="0:1.0"
  369. skidding-threshold="2.0"
  370. />
  371. </ai>
  372. <!-- Parameters for the speed-weighted objects:
  373. a bigger value for strength-factor leads to the speed of the kart more quickly affecting
  374. the strength of the animation (up to a maximum value that corresponds to the original animation) -->
  375. <speed-weighted-objects strength-factor="0.05" speed-factor="1.0" texture-speed-x="0.0" texture-speed-y="0.0"/>
  376. <!-- friction: slip used for bullet skidding. A high value
  377. (like 10000000) disables bullet skidding. -->
  378. <friction slip="10000000"/>
  379. <!-- collision
  380. impulse-type: STK can apply an additional impulse in case of
  381. kart-track collision:
  382. 'none' : no additional impulse
  383. 'normal': impulse along the normal
  384. 'driveline': impulse towards the nearest driveline.
  385. An impulse towards the driveline works nice when the kart is
  386. driving more or less correctly on the track - it pushes the
  387. kart in the right direction. But if the kart is significanlty
  388. off track, it has severe problems (since an incorrect
  389. driveline point can be selected, pusing the kart in the
  390. wrong direction, sometimes even causing a 'zip-along-obstacle'
  391. effect.
  392. impulse: an additional impulse to be applied in a non-frontal
  393. collision to push two karts away from each other.
  394. impulse-time: The impulse will be applied over a certain time
  395. period, which results in less abrupt changes. If set to 0,
  396. the impulse is only applied once.
  397. resitution: restitution value to be used for the kart rigid bodies.
  398. The restitution used depends on the speed to avoid physics issues
  399. (a collision with high speed and high restitution will push the
  400. kart high up into the air). The values specified are
  401. speed:restitution pairs, the actual restitution will be
  402. interpolated based on the points specified here.
  403. bevel-factor: for each point of the chassis collision box one
  404. additional point is added, resulting in a bevelled box shape.
  405. The original Z coordinate of the chassis is multiplied by
  406. 1-bevelZ (i.e. the main box part of the shape is shortened).
  407. The bevel point has the original Z coordinate, and the X and
  408. Y coordinates of the box are multiplied with (1-bevelX) and
  409. (1-bevelY). A value of 0 for all bevel coordinates disables
  410. bevelling, and uses a simple box shape.
  411. As an example, a value of 1 for x and z will result in a
  412. sharp 'arrow' like shape.
  413. physical-wheel-position: Defines where the 'physical' (raycast)
  414. wheel will be located. It's a weight factor with 0 = being
  415. at the widest side of the bevel, 1 = at the front and
  416. narrowest part of the kart. If the value is less than 0, the old
  417. physics settings are used which places the raycast wheels
  418. outside of the chassis and results in more stable physical
  419. behaviour of the karts. -->
  420. <collision impulse-type="normal"
  421. impulse="3000" impulse-time="0.1" terrain-impulse="160"
  422. restitution="0:1.0 5:1.0 20:0.2" bevel-factor="0.5 0.0 0.3"
  423. physical-wheel-position="0" />
  424. <!-- Skidding: increase: multiplicative increase of skidding factor in each frame.
  425. decrease: multiplicative decrease of skidding factor in each frame.
  426. max: maximum skidding factor = maximum increase of steering angle.
  427. time-till-max: Time till maximum skidding is reached.
  428. visual: Additional graphical rotation of kart. The graphical rotation
  429. of the kart also determines the direction the kart is driving to
  430. when skidding is stopped.
  431. visual-time: How long it takes for the visual skid to reach maximum.
  432. revert-visual-time: how long it takes when stopping a skid to revert
  433. the visual skid and bring visuals and physics in sync again.
  434. angular-velocity: Angular velocity to be used for the kart when skidding.
  435. min-speed: Minimum speed a kart must have before it can skid. Must be
  436. >0, otherwise the kart can skid at the start of the race.
  437. time-till-bonus: How long a kart needs to skid in order to get a bonus.
  438. bonus-force: A speedup applied to the kart whick skidded for a while.
  439. bonus-time: How long the bonus-force is applied.
  440. bonus-force: Additional engine force (this is used to offset the fact
  441. that turning after skidding (e.g. to correct direction) often uses
  442. up the skid bonus).
  443. post-skid-rotate-factor: a factor to be used to determine how much
  444. the chassis of a kart should rotate to match the graphical view.
  445. A factor of 1 is identical, a smaller factor will rotate the kart
  446. less (which might feel better).
  447. physical-jump-time: Time for a physical jump at the beginning of a skid.
  448. graphical-jump-time: Time for a graphics-only jump at the beginning
  449. of a skid.
  450. reduce-turn-min/max: The steering done by the controller (which is in
  451. [-1,1]) is mapped to [reduce-turn-min, reduce-turn-max] when skidding
  452. is active (for left turn, right turn will use [-max, -min]). The
  453. effect is that while you skid (say left) you can adjust the direction
  454. of the turn the kart is doing somewhat by steering to the left and right,
  455. but you will always keep on doing a left turn, just more or less. -->
  456. <skid increase="1.05" decrease="0.95" max="2.5" time-till-max="0.5"
  457. visual="1.25" visual-time="0.7" revert-visual-time="0.7"
  458. min-speed="10" time-till-bonus="1.0 3.0"
  459. bonus-speed="4.5 6.5" bonus-time="3.0 4.0"
  460. bonus-force="250 350"
  461. physical-jump-time="0" graphical-jump-time="0.4"
  462. post-skid-rotate-factor="1"
  463. reduce-turn-min="0.2" reduce-turn-max="0.8"/>
  464. <kart-type>
  465. <light />
  466. <medium />
  467. <heavy />
  468. </kart-type>
  469. </general-kart-defaults>
  470. <!-- Here are the default fonts file names for STK.
  471. Please DO NOT report bugs if there're crashes when using your custom font.
  472. This usually happen because the character map of the font is not in unicode mode
  473. (let's take Chinese for example, some fonts of it store the characters in BIG5 mode,
  474. which leads to crash with STK), but the fonts are to blame, what's the point of not
  475. using industry standard nowadays...
  476. -->
  477. <fonts-list normal-ttf="Cantarell-Regular.otf FreeSans.ttf wqy-microhei.ttf NotoNaskhArabicUI-Bold.ttf"
  478. digit-ttf="SigmarOne.otf" />
  479. <!-- Maximum bones from all animated meshes in each frame to be uploaded for
  480. hardware skinning, For gles 3.0 the specification guarantees at least 2048, for
  481. TBO in desktop at least 65536 (max buffer size) / 64, SSBO at least 2^24 / 64,
  482. so 1024 will work everywhere. -->
  483. <skinning max-bones="1024"/>
  484. <!-- For users with libsquish:
  485. Use a slow but high quality colour compressor.
  486. kColourClusterFit = (32),
  487. Use a fast but low quality colour compressor.
  488. kColourRangeFit = (64),
  489. Use a very slow but very high quality colour compressor.
  490. kColourIterativeClusterFit = (256),
  491. STK default the low quality.
  492. -->
  493. <texture-compression quality="64"/>
  494. <!-- List of default ports used, by default STK use random ports for client.
  495. The server discovery port has to be the same across all clients and servers.
  496. -->
  497. <network server-discovery-port="2757" client-port="2758" server-port="2759"/>
  498. </config>