View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006331 | The Dark Mod | Coding | public | 30.10.2023 21:40 | 23.01.2024 18:48 |
Reporter | Daft Mugi | Assigned To | Daft Mugi | ||
Priority | normal | Severity | normal | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | SVN | ||||
Target Version | TDM 2.12 | Fixed in Version | TDM 2.12 | ||
Summary | 0006331: Add viewpos to player HUD and screenshot | ||||
Description | During testing and troubleshooting, it is quite useful to have the viewpos displayed on the player HUD and embedded on the screenshot. Current issues to be addressed: 1. No way to show viewpos on the HUD. 2. The screenshot filename includes "getviewpos", which is quite useful, but some players change the filename and some websites rename the files (e.g. removing spaces between the coordinates or other changes). That makes it hard to know where the player was when an issue was found. 3. To get the viewpos embedded on a screenshot, a trick has to be used, such as binding a key like so: bind "F11" "con_noprint 0;wait;wait;wait;getviewpos;wait;wait;wait;screenshot;con_noprint 1" But that can show other console lines in the screenshot and "con_noprint 1" might not be the desired final value. 4. Mappers often have a hard time seeing what the player is trying to capture in a screenshot, because their gamma is set too low. Some mappers request that players increase their gamma or brightness when taking a screenshot. This should be simple. As a workaround, a trick can be used, such as binding a key like so: bind "F10" "r_ambientGamma 1.3;con_noprint 0;wait;wait;wait;getviewpos;wait;wait;wait;screenshot;con_noprint 1;r_ambientGamma 1" But the player's desired gamma setting might be different for each map, so they would have to update their binding. Solution: * Add a new cvar "tdm_show_viewpos" to show the viewpos on the player's HUD. - Have two font color options: gray (easy on the eyes) and cyan (good for screenshots). * Add a new command "screenshot_viewpos" to embed the viewpos on the player's HUD during the screenshot. - Have "screenshot_viewpos <gamma>" to adjust the "r_ambientGamma" during the screenshot. A mapper can tell players to bind a key to "screenshot_viewpos 1.3", for example. - Enforce cyan font color for best legibility for viewpos against a variety of backgrounds. | ||||
Tags | HUD | ||||
Committed as code rev 10484. | |
Committed code rev r10532. Hide console on 'screenshot_viewpos'. |
|
Committed code rev 10628. Fix viewpos not displaying during a screenshot sometimes. See also: https://forums.thedarkmod.com/index.php?/topic/22310-212-viewpos-on-player-hud-and-screenshots/&do=findComment&comment=491202 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
30.10.2023 21:40 | Daft Mugi | New Issue | |
30.10.2023 21:40 | Daft Mugi | Status | new => assigned |
30.10.2023 21:40 | Daft Mugi | Assigned To | => Daft Mugi |
30.10.2023 21:54 | Daft Mugi | Note Added: 0016158 | |
30.10.2023 21:55 | Daft Mugi | Status | assigned => feedback |
30.10.2023 23:22 | Daft Mugi | Relationship added | related to 0005819 |
04.12.2023 03:29 | Daft Mugi | Note Added: 0016207 | |
05.12.2023 01:33 | nbohr1more | Status | feedback => resolved |
05.12.2023 01:33 | nbohr1more | Resolution | open => fixed |
05.12.2023 01:33 | nbohr1more | Fixed in Version | => TDM 2.12 |
30.12.2023 20:21 | Fiver | Tag Attached: HUD | |
23.01.2024 18:04 | Daft Mugi | Note Added: 0016419 | |
23.01.2024 18:41 | Daft Mugi | Note Edited: 0016419 | |
23.01.2024 18:48 | Daft Mugi | Note Edited: 0016419 |