Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002005Zandronum[All Projects] Suggestionpublic2014-11-22 04:362018-09-30 22:58
ReporterDusk 
Assigned ToDusk 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.0 
Target Version2.0Fixed in Version2.0 
Summary0002005: Zandronum features for the alternative hud
DescriptionI had some fun last night with the alternative hud.

'https://bitbucket.org/crimsondusk/zandronum-sandbox/commits/12992d05f3cc [^]'

- spectators no longer draw health, armor or ammo
- health and armor are no longer displayed if the client doesn't know them (though I guess it could be made to draw question marks instead?)
- draws team scores in team modes (1 - 0), colorized, in order of who's in the lead
- draws flag/skull icons so you can quickly know the state of a ctf/skulltag match
- draws rank and spread when applicable
- fully supports 3 and 4 teams
Additional Information'https://bitbucket.org/crimsondusk/zandronum-sandbox/commits/12992d05f3cc736bff054d544b6d5c11dff9cfbb [^]'
'https://bitbucket.org/crimsondusk/zandronum-sandbox/commits/7b68a99962b5e6e4c4e6e48800636e71d53e3a8b [^]'
'https://bitbucket.org/crimsondusk/zandronum-sandbox/commits/988e2f557558fd433f298779cc93365f7ba5ac13 [^]'
Attached Files

- Relationships
parent of 0001863closed Implement CTF scores in the althud 

-  Notes
User avatar (0010927)
DevilHunter (reporter)
2014-11-22 05:46

Sounds good, Even though I haven't used the alt HUD in some time. I think others would enjoy this.
User avatar (0010929)
Watermelon (developer)
2014-11-22 12:24
edited on: 2014-11-22 12:24

I like these.

Hopefully we can get some rendering overhaul too at one point. I'll have to do it anyways as I upgrade the scoreboard.

User avatar (0010930)
Leonard (developer)
2014-11-22 13:38

This is great.
Only thing is I think you should use something else than alpha to get team items state.
In my opinion it's important to know if the flag was dropped or stolen so you know what to prepare for.
I recall the normal hud literally indicates the name of flag holders.
I think the best way here is (again?) the zdaemon one.
User avatar (0010931)
Dusk (developer)
2014-11-22 14:49

I don't know how ZDaemon does this so saying that the best way is the ZDaemon one doesn't mean anything to me. Please elaborate..
User avatar (0010932)
Leonard (developer)
2014-11-22 17:21

Blue flag: 'http://i.imgur.com/tPgWbbo.png [^]'
Blue flag taken: 'http://i.imgur.com/bqUxu6m.png [^]'
Blue flag dropped: 'http://i.imgur.com/ZnQcEW5.png [^]'
You have the blue flag:'http://i.imgur.com/m9svKD1.png [^]'
User avatar (0010933)
Dusk (developer)
2014-11-22 17:48
edited on: 2014-11-22 17:48

I figured to go with a route friendlier to the alternative hud instead:
- instead of flashing, the flags now render a rectangle around them
- this rectangle is in the color of the team which took the flag (i.e. the enemy team color in conventional 2-team ctf)
- if you have the flag, the rectangle flashes white. the flag sprite itself does not flash at all, instead is drawn low-alpha
- the flag now flashes (albeit twice as slow) when dropped so now you can tell that as well

'https://dl.dropboxusercontent.com/u/66055976/2014/screenshots/Screenshot_Doom_20141122_190818.png [^]'
'https://dl.dropboxusercontent.com/u/66055976/2014/screenshots/Screenshot_Doom_20141122_191003.png [^]'

User avatar (0010940)
Torr Samaho (administrator)
2014-11-23 11:34

Looks promising :).
User avatar (0011017)
Dusk (developer)
2014-12-01 02:22

'https://bitbucket.org/Torr_Samaho/zandronum/pull-request/49 [^]'
User avatar (0011101)
Torr Samaho (administrator)
2014-12-28 16:01
edited on: 2014-12-28 16:01

I added comments in the pull request. Only minor stuff, the code looks mostly good to go. I didn't do anything yet, and just assume that you tested this sufficiently.

User avatar (0011575)
cobalt (updater)
2015-02-01 11:04

Issue addressed by commit 5d5aab152a77: Added support for Zandronum-specific gamemodes for the alternative HUD (addresses 2005).
Committed by Teemu Piippo [Dusk] on Sunday 25 January 2015 18:00:10

Changes in files:
 docs/zandronum-history.txt | 1 +
 src/g_shared/shared_hud.cpp | 155 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 src/scoreboard.cpp | 146 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------
 src/scoreboard.h | 3 ++
 4 files changed, 233 insertions(+), 72 deletions(-)
User avatar (0011851)
StrikerMan780 (reporter)
2015-03-16 18:54
edited on: 2015-03-16 19:22

If hud_showscore or hud_showstats are on, they get drawn underneath the CTF score.

I also notice that the flag icons are like the classic style, rather than what was in Dusk's screenshots. Is this normal?


Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: DevilHunter Leonard
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2014-11-22 04:36 Dusk New Issue
2014-11-22 04:36 Dusk Status new => needs review
2014-11-22 04:36 Dusk Additional Information Updated View Revisions
2014-11-22 04:37 Dusk Assigned To => Dusk
2014-11-22 04:37 Dusk Description Updated View Revisions
2014-11-22 04:38 Dusk Description Updated View Revisions
2014-11-22 05:46 DevilHunter Note Added: 0010927
2014-11-22 12:24 Watermelon Note Added: 0010929
2014-11-22 12:24 Watermelon Note Edited: 0010929 View Revisions
2014-11-22 13:38 Leonard Note Added: 0010930
2014-11-22 14:49 Dusk Note Added: 0010931
2014-11-22 17:21 Leonard Note Added: 0010932
2014-11-22 17:48 Dusk Note Added: 0010933
2014-11-22 17:48 Dusk Note Edited: 0010933 View Revisions
2014-11-23 11:34 Torr Samaho Note Added: 0010940
2014-11-23 11:34 Torr Samaho Status needs review => feedback
2014-11-23 15:28 Dusk Additional Information Updated View Revisions
2014-12-01 02:22 Dusk Note Added: 0011017
2014-12-01 02:22 Dusk Status feedback => assigned
2014-12-01 02:22 Dusk Status assigned => needs review
2014-12-05 15:44 Dusk Relationship added parent of 0001863
2014-12-28 16:01 Torr Samaho Note Added: 0011101
2014-12-28 16:01 Torr Samaho Note Edited: 0011101 View Revisions
2014-12-28 16:02 Torr Samaho Status needs review => feedback
2015-02-01 11:04 cobalt Status feedback => needs testing
2015-02-01 11:04 cobalt Target Version => 2.0
2015-02-01 11:04 cobalt Description Updated View Revisions
2015-02-01 11:04 cobalt Additional Information Updated View Revisions
2015-02-01 11:04 cobalt Note Added: 0011575
2015-03-16 18:54 StrikerMan780 Note Added: 0011851
2015-03-16 19:22 StrikerMan780 Note Edited: 0011851 View Revisions
2015-03-29 20:20 Dusk Status needs testing => resolved
2015-03-29 20:20 Dusk Fixed in Version => 2.0
2015-03-29 20:20 Dusk Resolution open => fixed
2018-09-30 22:58 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker