2007-05-27 12:01:53 -04:00
|
|
|
;; -*- mode: lisp -*-
|
|
|
|
|
|
|
|
(config
|
|
|
|
|
2007-09-25 23:43:02 -04:00
|
|
|
;; STK parameters
|
|
|
|
;; --------------
|
|
|
|
(max-karts 10 ) ;; maximum number of karts
|
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")
|
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
|
|
|
|
(anvil-time 2.0 ) ;; time an anvil is active
|
2008-03-05 08:22:00 -05:00
|
|
|
(zipper-time 3.0 ) ;; time a zipper is active
|
2008-03-06 08:32:51 -05:00
|
|
|
(zipper-force 800.0 ) ;; additional zipper force
|
2008-03-05 08:22:00 -05:00
|
|
|
(zipper-speed-gain 10.0 ) ;; one time additional speed boost given by zippers
|
2007-05-27 12:01:53 -04:00
|
|
|
(shortcut-skipped-segments 5 ) ;; skipping more than this number of segments
|
|
|
|
;; is considered to be a shortcut
|
2007-08-21 10:50:45 -04:00
|
|
|
(explosion-impulse 10000.0 ) ;; explosion impulse on not directly hit karts
|
2008-02-05 06:56:21 -05:00
|
|
|
(explosion-impulse-objects 500.0 ) ;; explosion impulse for physics objects (smaller
|
|
|
|
;; 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
|
|
|
;; Other kart relates values
|
|
|
|
;; -------------------------
|
|
|
|
(jump-impulse 5400.0 ) ;; percentage of gravity!
|
|
|
|
|
|
|
|
;; The following files are the defaults for karts
|
|
|
|
;; ----------------------------------------------
|
|
|
|
(kart-defaults
|
|
|
|
(wheel-base 1.2 )
|
|
|
|
(heightCOG 0.2 )
|
|
|
|
(time-full-steer 0.3 )
|
|
|
|
(corn-f 4 )
|
|
|
|
(corn-r 4 )
|
2008-01-09 21:04:35 -05:00
|
|
|
(wheelie-max-speed-ratio 0.7 ) ;; percentage of max speed for wheelies to work
|
2007-05-27 12:01:53 -04:00
|
|
|
(wheelie-max-pitch 45.0 ) ;; maximum pitch to use when doing a wheelie
|
|
|
|
(wheelie-pitch-rate 60.0 ) ;; rate/sec with which the kart goes up
|
|
|
|
(wheelie-restore-rate 90.0 ) ;; rate/sec with which the kart does down
|
|
|
|
(wheelie-speed-boost 10.0 ) ;; speed boost while doing a wheelie
|
|
|
|
(wheelie-lean-recovery 1 )
|
|
|
|
(wheelie-balance-recovery 2 )
|
|
|
|
(wheelie-step 1 )
|
|
|
|
(wheelie-power-boost 1 ) ;; increase in engine power, i.e. 1=plus 100%
|
|
|
|
|
|
|
|
;; Inertia for a rectanguar plane is: M*(a^2+b^2)/12 when rotating
|
|
|
|
;; around the center of gravity, where a and b are the width and length
|
|
|
|
(inertia 5.0 )
|
|
|
|
|
|
|
|
;; Bullet physics attributes
|
2008-03-06 08:32:51 -05:00
|
|
|
(brake-factor 2.75 )
|
|
|
|
(max-steer-angle 6.4 )
|
|
|
|
(engine-power 400 )
|
|
|
|
(mass 225 )
|
2007-08-03 04:17:56 -04:00
|
|
|
(suspension-stiffness 8.0 )
|
2007-05-27 12:01:53 -04:00
|
|
|
(wheel-damping-relaxation 2.3 )
|
|
|
|
(wheel-damping-compression 4.4 )
|
|
|
|
(friction-slip 10000000 )
|
|
|
|
(roll-influence 0.1 )
|
|
|
|
(wheel-radius 0.25 )
|
|
|
|
(wheel-width 0.3 )
|
|
|
|
(chassis-linear-damping 0.2 )
|
|
|
|
(chassis-angular-damping 0.2 )
|
|
|
|
(maximum-speed 22.22 ) ;; = 80 km/h
|
2007-08-17 13:22:49 -04:00
|
|
|
(max-speed-reverse-ratio 0.2 ) ;; percentage of max speed for reverse gear
|
2007-08-03 04:17:56 -04:00
|
|
|
(gravity-center-shift 0.4 ) ;; Shift center of gravity down by that many
|
|
|
|
;; units of kart_height (usually between 0 and 0.5)
|
2007-08-16 03:19:32 -04:00
|
|
|
(suspension-rest 0.1 )
|
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
|
|
|
|
(gear-switch-ratio 0.25 0.5 0.75)
|
|
|
|
(gear-power-increase 2.5 1.8 1.4 )
|
2007-05-27 12:01:53 -04:00
|
|
|
|
|
|
|
) ;; end kart-defaults
|
|
|
|
)
|
|
|
|
;; EOF ;;
|