2007-05-27 12:01:53 -04:00
|
|
|
;; -*- mode: lisp -*-
|
|
|
|
|
|
|
|
(config
|
|
|
|
|
2007-09-25 23:43:02 -04:00
|
|
|
;; STK parameters
|
|
|
|
;; --------------
|
2009-01-16 06:13:55 -05:00
|
|
|
(min-kart-version 1 ) ;; Minimum and maximum .kart files supported
|
|
|
|
(max-kart-version 1 ) ;; by this binary. Older/newer files are ignored.
|
|
|
|
(min-track-version 1 ) ;; Minimum and maximum .track files supported
|
|
|
|
(max-track-version 1 ) ;; by this binary, older/newer files are ignored.
|
2008-12-13 11:24:59 -05:00
|
|
|
(max-karts 8 ) ;; maximum number of karts
|
|
|
|
(scores 10 8 6 5 4 3 2 1 ) ;; 10 8 6 5 4 3 2 1 0 0
|
2007-11-21 08:54:40 -05:00
|
|
|
(grid-order 1 ) ;; order for grand prix, 1 is most
|
|
|
|
;; points 1st, 0 is least points
|
|
|
|
;; 1st
|
2008-03-14 05:49:17 -04:00
|
|
|
(title-music "main_theme.music")
|
2009-01-12 07:29:31 -05:00
|
|
|
;; Two lists which must have the same length, containing the list of all
|
|
|
|
;; possible main menu and background images.
|
|
|
|
(mainmenu-background "st_title_screen.rgb" "st_title_screen2.rgb")
|
|
|
|
(menu-background "menu_background.rgb" "menu_background2.rgb")
|
|
|
|
|
2008-10-06 09:40:11 -04:00
|
|
|
(max-history 10000) ;; maximum number of history frames.
|
2008-12-07 20:07:16 -05:00
|
|
|
(max-skidmarks 100) ;; max. number of skidmarks per kart.
|
2009-01-05 19:20:23 -05:00
|
|
|
(skid-fadeout-time 60) ;; Time till skidm marks fade out
|
2009-01-14 06:44:33 -05:00
|
|
|
(slowdown-factor 10) ;; Engine reduction depending on terrain,
|
|
|
|
;; see kart for details.
|
2009-01-14 18:36:30 -05:00
|
|
|
(near-ground 2) ;; Distance above ground when the upright
|
|
|
|
;; constraint will be disabled to allow
|
|
|
|
;; more violent explosions.
|
2008-10-06 09:40:11 -04:00
|
|
|
(delay-finish-time 10) ;; delay till race results are displayed.
|
2009-01-14 06:44:33 -05:00
|
|
|
(music-credit-time 10) ;; time for which the music credits
|
|
|
|
;; are displayed.
|
|
|
|
(final-camera-time 1.5) ;; time for the final camera to reach
|
|
|
|
;; its destination
|
2007-09-25 23:43:02 -04:00
|
|
|
|
2007-05-27 12:01:53 -04:00
|
|
|
;; Attachment related parameters
|
|
|
|
;; -----------------------------
|
|
|
|
(anvil-weight 150.0 ) ;; additional weight an anvil adds to a kart
|
|
|
|
(anvil-speed-factor 0.2 ) ;; additional slowdown caused by anvil
|
|
|
|
(parachute-friction 2.0 ) ;; friction increase when a parachute is sttached
|
|
|
|
(parachute-time 4.0 ) ;; time an attached parachute is active
|
|
|
|
(parachute-time-other 8.0 ) ;; time a parachute attached from other kart is active
|
2008-03-06 08:32:51 -05:00
|
|
|
(parachute-done-fraction 0.7 ) ;; fraction of speed when lost will detach parachute
|
2007-05-27 12:01:53 -04:00
|
|
|
(bomb-time 30.0 ) ;; time till a bomb explodes
|
|
|
|
(bomb-time-increase -5.0 ) ;; time added to timer when bomb is passed on
|
2008-04-15 09:57:18 -04:00
|
|
|
(leader-intervals 30 20 10) ;; Time till a kart is removed in follow leader mode
|
2007-05-27 12:01:53 -04:00
|
|
|
(anvil-time 2.0 ) ;; time an anvil is active
|
2008-07-28 09:07:54 -04:00
|
|
|
(zipper-time 3.5 ) ;; time a zipper is active
|
|
|
|
(zipper-force 250.0 ) ;; additional zipper force
|
|
|
|
(zipper-speed-gain 4.5 ) ;; one time additional speed
|
|
|
|
|
2009-01-12 21:54:15 -05:00
|
|
|
(shortcut-length 90 ) ;; leaving the road and coming back on it more than
|
2008-12-10 20:41:22 -05:00
|
|
|
;; x 'meters" later is considered to be a shortcut
|
2009-01-12 19:16:09 -05:00
|
|
|
(offroad-tolerance 0.15) ;; Widen the road 15% for shortcut detection.
|
2008-12-11 05:47:16 -05:00
|
|
|
(enable_networking #f ) ;; For now disable networking
|
2007-08-21 10:50:45 -04:00
|
|
|
(explosion-impulse 10000.0 ) ;; explosion impulse on not directly hit karts
|
2008-12-04 00:09:51 -05:00
|
|
|
(explosion-impulse-objects 500.0) ;; explosion impulse for physics objects (smaller
|
2008-02-05 06:56:21 -05:00
|
|
|
;; else a cone e.g. will be pushed way too far)
|
2007-08-21 10:50:45 -04:00
|
|
|
|
2007-05-27 12:01:53 -04:00
|
|
|
;; The following files are the defaults for karts
|
|
|
|
;; ----------------------------------------------
|
|
|
|
(kart-defaults
|
|
|
|
(wheel-base 1.2 )
|
|
|
|
(heightCOG 0.2 )
|
2008-12-19 11:18:37 -05:00
|
|
|
(time-full-steer 0.25 )
|
2008-12-13 09:00:18 -05:00
|
|
|
;; 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.
|
2009-02-16 21:51:04 -05:00
|
|
|
;; It also helps with making it easier to push the AI karts
|
|
|
|
;; (otherwise micro-corrections make this nearly impossible).
|
2008-12-13 09:00:18 -05:00
|
|
|
;; 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.
|
2009-02-16 21:51:04 -05:00
|
|
|
(time-full-steer-ai 0.1 )
|
2007-05-27 12:01:53 -04:00
|
|
|
(corn-f 4 )
|
|
|
|
(corn-r 4 )
|
2008-11-19 17:43:21 -05:00
|
|
|
|
|
|
|
;; 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!
|
|
|
|
;;(gravity-center-shift 0 0 0.3)
|
2008-11-24 18:19:47 -05:00
|
|
|
|
2008-12-11 05:47:16 -05:00
|
|
|
(nitro-power-boost 3 ) ;; increase in engine power, i.e. 1=plus 100%
|
2007-05-27 12:01:53 -04:00
|
|
|
|
2008-12-14 22:56:54 -05:00
|
|
|
;; Skidding related parameters:
|
|
|
|
(skid-increase 1.05) ;; Multiplicative increase of skidding factor
|
|
|
|
;; in each frame.
|
|
|
|
(skid-decrease 0.95) ;; Multiplicative decrease of skidding factor
|
|
|
|
;; in each frame.
|
2008-12-15 21:36:23 -05:00
|
|
|
(skid-max 2.5 ) ;; Maximum skidding factor = maximum increase
|
2008-12-14 22:56:54 -05:00
|
|
|
;; of steering angle.
|
2008-12-26 15:05:41 -05:00
|
|
|
(time-till-max-skid 0.4 ) ;; Time till maximum skidding is reached.
|
2008-12-14 22:56:54 -05:00
|
|
|
(skid-visual 0.16) ;; Additional graphical rotation of kart.
|
|
|
|
|
2007-05-27 12:01:53 -04:00
|
|
|
;; Bullet physics attributes
|
2009-02-02 09:14:27 -05:00
|
|
|
(brake-factor 11.0 )
|
2008-11-19 23:54:31 -05:00
|
|
|
;; Defines 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
|
2008-07-11 11:19:07 -04:00
|
|
|
;; steering angles for speeds in between will be interpolated. This
|
2008-11-19 23:54:31 -05:00
|
|
|
;; 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
|
|
|
|
;; independent of the kart size.
|
2008-12-11 13:34:16 -05:00
|
|
|
(min-speed-radius 0 6.64)
|
|
|
|
(max-speed-radius 15 21.5)
|
2008-12-11 05:47:16 -05:00
|
|
|
;; Different engine powers for different difficulties:
|
|
|
|
;; hard, medium, low level order!
|
2009-01-08 20:16:57 -05:00
|
|
|
(engine-power 400 400 300 )
|
2008-12-11 05:47:16 -05:00
|
|
|
;; Different maximum speed for different difficulties:
|
|
|
|
;; hard, medium, low level order!
|
2009-01-08 20:16:57 -05:00
|
|
|
(max-speed 32.22 28 25 ) ;; = 116 101 90 km/h
|
2008-03-06 08:32:51 -05:00
|
|
|
(mass 225 )
|
2008-07-28 09:07:54 -04:00
|
|
|
(suspension-stiffness 48.0 )
|
2008-10-22 19:08:08 -04:00
|
|
|
(wheel-damping-relaxation 20 )
|
2007-05-27 12:01:53 -04:00
|
|
|
(wheel-damping-compression 4.4 )
|
|
|
|
(friction-slip 10000000 )
|
2008-12-10 23:25:21 -05:00
|
|
|
(roll-influence 0.03 )
|
2007-05-27 12:01:53 -04:00
|
|
|
(wheel-radius 0.25 )
|
|
|
|
(wheel-width 0.3 )
|
|
|
|
(chassis-linear-damping 0.2 )
|
2008-11-24 18:19:47 -05:00
|
|
|
(chassis-angular-damping 30.2 )
|
2009-02-02 09:14:27 -05:00
|
|
|
(max-speed-reverse-ratio 0.3 ) ;; percentage of max speed for reverse gear
|
2008-07-16 21:33:49 -04:00
|
|
|
(suspension-rest 0.2 )
|
2008-10-15 20:20:49 -04:00
|
|
|
(suspension-travel-cm 19 )
|
2007-11-18 08:44:53 -05:00
|
|
|
|
|
|
|
;; 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
|
|
|
|
(jump-velocity 3.0 )
|
|
|
|
|
2007-08-21 10:50:45 -04:00
|
|
|
;; The following two vectors define at what ratio of the maximum speed what
|
|
|
|
;; gear is selected, e.g. 0.25 means: if speed <=0.25*maxSpeed --> gear 1,
|
|
|
|
;; 0.5 means: if speed <=0.5 *maxSpeed --> gear 2
|
|
|
|
;; The next vector contains the increase in max power (to simulate different
|
|
|
|
;; gears), e.g. 2.5 as first entry means: 2.5*maxPower in gear 1
|
2008-11-06 20:05:52 -05:00
|
|
|
;; | first | second | third |
|
2008-11-18 19:25:25 -05:00
|
|
|
;; 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.
|
|
|
|
;;(wheel-front-right (physics-position 0.38 0.6 0))
|
|
|
|
;;(wheel-front-left (physics-position -0.38 0.6 0))
|
|
|
|
;;(wheel-rear-right (physics-position 0.38 -0.6 0))
|
|
|
|
;;(wheel-rear-left (physics-position -0.38 -0.6 0))
|
2008-11-06 20:05:52 -05:00
|
|
|
|
2008-09-17 23:24:19 -04:00
|
|
|
(gear-switch-ratio 0.25 0.7 1.0)
|
|
|
|
(gear-power-increase 2.2 1.7 1.3)
|
2008-04-28 23:36:50 -04:00
|
|
|
(upright-tolerance 0.2)
|
|
|
|
(upright-max-force 30)
|
2008-10-16 19:49:27 -04:00
|
|
|
(track-connection-accel 2)
|
2008-12-04 00:09:51 -05:00
|
|
|
(rubber-band-max-length 50) ;; Maximum length of rubber band
|
|
|
|
(rubber-band-force 1500) ;; Force a plunger/rubber band applies to the kart(s).
|
|
|
|
(rubber-band-duration 1) ;; Duration a rubber band acts.
|
2008-04-28 23:36:50 -04:00
|
|
|
(camera-max-accel 10)
|
|
|
|
(camera-max-brake 10)
|
|
|
|
(camera-distance 3.5)
|
2007-05-27 12:01:53 -04:00
|
|
|
) ;; end kart-defaults
|
|
|
|
)
|
|
|
|
;; EOF ;;
|