Race Events - NaN - 02-12-2013
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?
RE: Race Events - brian_ch - 02-12-2013
That would be awesome, this is a thing I miss in open source games in general, there's too little challenges, no events to win, neither campaigns to finish, etc.
If possible, in the future you could add an option that make a win in an event unlock another event.
RE: Race Events - joevenzon - 02-19-2013
Sounds great, does this mean you're thinking of adding championships or a campaign mode?
RE: Race Events - NaN - 02-21-2013
(02-19-2013, 12:21 PM)joevenzon Wrote: Sounds great, does this mean you're thinking of adding championships or a campaign mode? There has been a request by @berzingue to be able to run a full racing event (kart weekend). I just thought to make it as generic as possible and allow users/contributors create different events/championships.
|