~ubuntu-branches/ubuntu/precise/supertuxkart/precise

« back to all changes in this revision

Viewing changes to data/stk_config.data

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2011-02-24 22:36:25 UTC
  • mfrom: (1.1.9 upstream) (6.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110224223625-ygrjfpg92obovuch
Tags: 0.7+dfsg1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
;; -*- mode: lisp -*-
2
 
 
3
 
(config
4
 
 
5
 
 ;; STK parameters
6
 
 ;; --------------
7
 
 (min-kart-version           1   )  ;; Minimum and maximum .kart files supported
8
 
 (max-kart-version           1   )  ;; by this binary. Older/newer files are ignored.
9
 
 (min-track-version          1   )  ;; Minimum and maximum .track files supported
10
 
 (max-track-version          1   )  ;; by this binary, older/newer files are ignored.
11
 
 (max-karts                  8   )  ;; maximum number of karts
12
 
 (scores            10 8 6 5 4 3 2 1 ) ;; 10 8 6 5 4 3 2 1 0 0 
13
 
 (grid-order                 1   )  ;; order for grand prix, 1 is most 
14
 
                                    ;; points 1st, 0 is least points
15
 
                                    ;; 1st
16
 
 (title-music              "main_theme.music")
17
 
 ;; Two lists which must have the same length, containing the list of all
18
 
 ;; possible main menu and background images.
19
 
 (mainmenu-background      "st_title_screen.rgb" "st_title_screen2.rgb")
20
 
 (menu-background          "menu_background.rgb" "menu_background2.rgb")
21
 
 
22
 
 (max-history              10000)   ;; maximum number of history frames.
23
 
 (max-skidmarks              100)   ;; max. number of skidmarks per kart.
24
 
 (skid-fadeout-time           60)   ;; Time till skidm marks fade out
25
 
 (slowdown-factor             10)   ;; Engine reduction depending on terrain,
26
 
                                    ;; see kart for details.
27
 
 (near-ground                  2)   ;; Distance above ground when the upright
28
 
                                    ;; constraint will be disabled to allow 
29
 
                                    ;; more violent explosions.
30
 
 (delay-finish-time           10)   ;; delay till race results are displayed.
31
 
 (music-credit-time           10)   ;; time for which the music credits 
32
 
                                    ;; are displayed.
33
 
 (final-camera-time          1.5)   ;; time for the final camera to reach 
34
 
                                    ;; its destination
35
 
 
36
 
 ;; Attachment related parameters
37
 
 ;; -----------------------------
38
 
 (anvil-weight             150.0 )  ;; additional weight an anvil adds to a kart
39
 
 (anvil-speed-factor         0.2 )  ;; additional slowdown caused by anvil
40
 
 (parachute-friction         2.0 )  ;; friction increase when a parachute is sttached
41
 
 (parachute-time             4.0 )  ;; time an attached parachute is active
42
 
 (parachute-time-other       8.0 )  ;; time a parachute attached from other kart is active
43
 
 (parachute-done-fraction    0.7 )  ;; fraction of speed when lost will detach parachute
44
 
 (bomb-time                 30.0 )  ;; time till a bomb explodes
45
 
 (bomb-time-increase        -5.0 )  ;; time added to timer when bomb is passed on
46
 
 (leader-intervals          30 20 10)  ;; Time till a kart is removed in follow leader mode
47
 
 (anvil-time                 2.0 )  ;; time an anvil is active
48
 
 (zipper-time                3.5 )  ;; time a zipper is active
49
 
 (zipper-force             250.0 )  ;; additional zipper force
50
 
 (zipper-speed-gain          4.5 )  ;; one time additional speed  
51
 
 
52
 
 (shortcut-length            90  )  ;; leaving the road and coming back on it more than
53
 
                                    ;; x 'meters" later is considered to be a shortcut
54
 
 (offroad-tolerance          0.15)  ;; Widen the road 15% for shortcut detection.
55
 
 (enable_networking          #f  )  ;; For now disable networking
56
 
 (explosion-impulse     10000.0  )  ;; explosion impulse on not directly hit karts
57
 
 (explosion-impulse-objects 500.0)  ;; explosion impulse for physics objects (smaller
58
 
                                    ;; else a cone e.g. will be pushed way too far)
59
 
 
60
 
 ;; The following files are the defaults for karts
61
 
 ;; ----------------------------------------------
62
 
 (kart-defaults
63
 
   (wheel-base               1.2 )
64
 
   (heightCOG                0.2 )
65
 
   (time-full-steer          0.25 )
66
 
   ;; Time for the AI to go from neutral steering to extreme
67
 
   ;; left (or right). This can be used to reduce 'shaking' of
68
 
   ;; AI karts caused by changing steering direction too often.
69
 
   ;; It also helps with making it easier to push the AI karts
70
 
   ;; (otherwise micro-corrections make this nearly impossible).
71
 
   ;; A value of 1/maxFPS / 2 will guarantee that the wheel can
72
 
   ;; go from -1 to +1 steering in one frame, basically 
73
 
   ;; disabling this mechanism.
74
 
   (time-full-steer-ai       0.1 ) 
75
 
   (corn-f                   4   )
76
 
   (corn-r                   4   )
77
 
 
78
 
   ;; Shift of the chassis with regards to the center of mass. E.g. with the
79
 
   ;; the value commented out below the chassis will be 30 cm higher than the
80
 
   ;; center of mass - or the center of mass will be 30 cm lower than the
81
 
   ;; middle of the chassis. So this effectively lowers the center of mass,
82
 
   ;; making the kart more stable and less likely to topple over.
83
 
   ;; Default (if nothing is defined here) is that the center of the mass is
84
 
   ;; at the very bottom of the chassis!
85
 
   ;;(gravity-center-shift  0 0 0.3)
86
 
 
87
 
   (nitro-power-boost      3 )   ;; increase in engine power, i.e. 1=plus 100%
88
 
 
89
 
   ;; Skidding related parameters:
90
 
   (skid-increase        1.05)   ;; Multiplicative increase of skidding factor
91
 
                                 ;; in each frame.
92
 
   (skid-decrease        0.95)   ;; Multiplicative decrease of skidding factor
93
 
                                 ;; in each frame.
94
 
   (skid-max             2.5 )   ;; Maximum skidding factor = maximum increase
95
 
                                 ;; of steering angle.
96
 
   (time-till-max-skid   0.4 )   ;; Time till maximum skidding is reached.
97
 
   (skid-visual          0.16)   ;; Additional graphical rotation of kart.
98
 
 
99
 
   ;; Bullet physics attributes
100
 
   (brake-factor             11.0 )
101
 
   ;; Defines the smallest turn radius at lowest speed (4.64 m at
102
 
   ;; speed 0) and at high speed (13.5 m at speed 12 m/s). Maximum
103
 
   ;; steering angles for speeds in between will be interpolated. This 
104
 
   ;; allows for tighter turns at lower speeds. The actual steering
105
 
   ;; angle is dependent on the wheel base of the kart:
106
 
   ;; radius = wheel_base/sin(steering_angle)
107
 
   ;; By specifying the radius the steering behaviour can be defined
108
 
   ;; independent of the kart size.
109
 
   (min-speed-radius          0   6.64)
110
 
   (max-speed-radius         15  21.5)
111
 
   ;; Different engine powers for different difficulties:
112
 
   ;; hard, medium, low level order!
113
 
   (engine-power        400 400  300    )
114
 
   ;; Different maximum speed for different difficulties:
115
 
   ;; hard, medium, low level order!
116
 
   (max-speed           32.22 28 25 ) ;; = 116 101 90 km/h
117
 
   (mass                    225    )
118
 
   (suspension-stiffness     48.0  )
119
 
   (wheel-damping-relaxation 20    )
120
 
   (wheel-damping-compression 4.4  )
121
 
   (friction-slip      10000000    )
122
 
   (roll-influence            0.03 )
123
 
   (wheel-radius              0.25 )
124
 
   (wheel-width               0.3  )
125
 
   (chassis-linear-damping    0.2  )
126
 
   (chassis-angular-damping  30.2  )
127
 
   (max-speed-reverse-ratio   0.3  ) ;; percentage of max speed for reverse gear
128
 
   (suspension-rest           0.2  )
129
 
   (suspension-travel-cm     19    )
130
 
 
131
 
   ;; The z-axis velocity set when a jump is initiated. This will cause the
132
 
   ;; kart to start rising, till it is pulled back by gravity. A higher value
133
 
   ;; means higher Z velocity, meaning the kart will rise faster and higher,
134
 
   ;; and will be in the air longer
135
 
   (jump-velocity             3.0  )
136
 
 
137
 
   ;; The following two vectors define at what ratio of the maximum speed what
138
 
   ;; gear is selected, e.g. 0.25 means: if speed <=0.25*maxSpeed --> gear 1,
139
 
   ;;                        0.5  means: if speed <=0.5 *maxSpeed --> gear 2
140
 
   ;; The next vector contains the increase in max power (to simulate different
141
 
   ;; gears), e.g. 2.5 as first entry means: 2.5*maxPower in gear 1
142
 
   ;;                     | first  | second |  third |
143
 
   ;; The position of the physics raycast wheels relative to the center of 
144
 
   ;; gravity. Default is to use the corners of the chassis to attach the
145
 
   ;; wheels to.
146
 
   ;;(wheel-front-right (physics-position  0.38  0.6 0))
147
 
   ;;(wheel-front-left  (physics-position -0.38  0.6 0))
148
 
   ;;(wheel-rear-right  (physics-position  0.38 -0.6 0))
149
 
   ;;(wheel-rear-left   (physics-position -0.38 -0.6 0))
150
 
 
151
 
   (gear-switch-ratio          0.25      0.7      1.0)
152
 
   (gear-power-increase    2.2      1.7      1.3)
153
 
   (upright-tolerance         0.2)
154
 
   (upright-max-force         30)
155
 
   (track-connection-accel     2)
156
 
   (rubber-band-max-length    50)  ;; Maximum length of rubber band
157
 
   (rubber-band-force       1500)  ;; Force a plunger/rubber band applies to the kart(s).
158
 
   (rubber-band-duration       1)  ;; Duration a rubber band acts.
159
 
   (camera-max-accel          10)
160
 
   (camera-max-brake          10)
161
 
   (camera-distance           3.5) 
162
 
  )   ;; end kart-defaults
163
 
)
164
 
;; EOF ;;