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