View Issue Details

IDProjectCategoryView StatusLast Update
0003655The Dark ModSaving/Loadingpublic22.01.2014 16:55
Reportergrayman Assigned ToAluminumHaste  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionno change required 
Product VersionTDM 2.01 
Summary0003655: g_showhud should be removed from Darkmod.cfg
DescriptionWhen a mapper wants to present a player view that doesn't include HUD elements, it's difficult to manage turning those elements off and on piecemeal.

One method that allows turning the HUD off (and back on) in one line of code is to toggle the g_showhud cvar.

If the player enters the special state, and the HUD is turned off, and the game is saved and mission exited before the HUD is turned back on, that condition persists into the next mission via the archiving of g_showhud in Darkmod.cfg.

There are no user menus for turning off the HUD, so HUD visibility shouldn't be archived.

We need to remove g_showhud from the code that archives to and restores from Darkmod.cfg.
TagsNo tags attached.

Activities

AluminumHaste

AluminumHaste

19.01.2014 19:28

developer   ~0006350

Code changed, Grayman can you build the new binaries? I would do it, but I've got other local changes that can't go into 2.01.
grayman

grayman

21.01.2014 19:48

viewer   ~0006351

This code change needs to be rolled back. The cvar wasn't meant to be used the way we're using it.
AluminumHaste

AluminumHaste

22.01.2014 16:54

developer   ~0006352

Changes reverted, At revision: 5930
AluminumHaste

AluminumHaste

22.01.2014 16:55

developer   ~0006353

Changes reverted, but report closed.

Issue History

Date Modified Username Field Change
19.01.2014 15:55 grayman New Issue
19.01.2014 15:55 grayman Status new => assigned
19.01.2014 15:55 grayman Assigned To => grayman
19.01.2014 19:16 AluminumHaste Assigned To grayman => AluminumHaste
19.01.2014 19:28 AluminumHaste Note Added: 0006350
19.01.2014 19:28 AluminumHaste Status assigned => feedback
21.01.2014 19:48 grayman Note Added: 0006351
21.01.2014 19:48 grayman Status feedback => assigned
21.01.2014 19:49 grayman Resolution open => no change required
21.01.2014 19:49 grayman Target Version TDM 2.01 =>
22.01.2014 16:54 AluminumHaste Note Added: 0006352
22.01.2014 16:55 AluminumHaste Note Added: 0006353
22.01.2014 16:55 AluminumHaste Status assigned => resolved