The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
VDrift 2014-11-22 test build - 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: VDrift 2014-11-22 test build (/showthread.php?tid=1850)



VDrift 2014-11-22 test build - NaN - 11-22-2014

This is a hud branch build. It includes Win64 executables and source files for Linux testers.

Download:
http://sourceforge.net/projects/vdrift/files/vdrift/nightly%20builds/vdrift-win64-2014-11-22.7z/download

Source\Data branches:
https://github.com/VDrift/vdrift/tree/hud
http://sourceforge.net/p/vdrift/code/HEAD/tree/branches/vdrift-data-hud

The files of interest for hud modding are:
data/skins/simple/menus/Hud
data/skins/simple/menus/GaugesHud
data/settings/options.config

You can modify the existing hud pages (Hud, GaugesHud) or add your own hud pages (MyFancyHud).

When adding a new hud page you have to tell the game about it. Edit options.config display.hud list like this:
Code:
[ display.hud ]
desc = Change head-up display mode.
type = string
default = Hud
values = list
num_vals = 4
...
opt03 = Fancy
val03 = MyFancyHud

PS:
Current hud selection implementation has a minor deficiency. All hud pages are updated each frame. So don't go all crazy adding dozens of hud pages (yes, this can be fixed, I consider it a minor issue though) Wink