The idea is to replace current timer class with something a bit more sophisticated and user configurable.
Here is a event config file prototype (to demonstrate the options):
Code:
name = Kart GP
starters = 12
objective = points
[cartypes]
00 = kart
[tracks]
00 = Rouen
01 = LeMans
[points]
01 = 25
02 = 20
03 = 16
04 = 13
05 = 11
06 = 10
07 = 9
08 = 8
09 = 7
10 = 6
11 = 5
12 = 4
13 = 3
14 = 2
15 = 1
[session.a]
name = Friday Practice 1
start-from = pit
duration = 20
optional = true
[session.b]
name = Friday Practice 2
start-from = pit
duration = 20
optional = true
[session.c]
name = Friday Practice 3
start-from = pit
duration = 20
optional = true
[session.d]
name = Friday Practice 4
start-from = pit
duration = 20
optional = true
[session.e]
name = Saturday Practice
start-from = pit
duration = 20
optional = true
[session.f]
name = Saturday Qualifying
start-from = pit
duration = 8
objective = time
affects-position = true
optional = false
[session.g]
name = Saturday First Race
start-from = grid
distance = 25
objective = position
affects-position = true
affects-points = true
optional = false
[session.h]
name = Saturday Second Race
start-from = grid
distance = 25
objective = position
affects-points = true
optional = false
[session.i]
name = Sunday Practice
start-from = pit
duration = 20
optional = true
[session.j]
name = Sunday Qualifying
start-from = pit
duration = 8
objective = time
affects-position = true
optional = false
[session.k]
name = Sunday First Race
start-from = grid
distance = 25
objective = position
affects-position = true
affects-points = true
optional = false
[session.l]
name = Sunday Second Race
start-from = grid
distance = 25
objective = position
affects-points = true
optional = false
Sessions can be optional. A session ends after distance (in km or laps?) or duration time (in minutes) are exceeded, whatever happens first.
There are no time/position penalties yet. A shootout mode for qualifying and race might be interesting too.
What do you think?