The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
Race Events - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Race Events (/showthread.php?tid=1691)



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.