MantisBT - Zandronum
View Issue Details
0000139Zandronum[All Projects] Suggestionpublic2010-10-25 18:382014-06-12 20:15
kgsws 
 
normalfeatureN/A
acknowledgedopen 
 
 
0000139: enhanced cl_identifytarget
I made enhanced target identification functions.
How it works right now:
- cl_identifytarget is now integer instead of boolean
- 0 = disabled
- 1 = like old
- 2 = instead of ally text show target HP (default)
- 3 = show ally HP and ally text
- 4 = show ally text and ally HP
- function ignores (see trough) invisible players (alpha < 1/3)
Advanced cl_identifytarget options available only in team based games. In deathmatch it always shows "enemy" (there is no ally in deathmatch), in coop it always show target HP (there is no enemy in coop).

See trough = identify players behind invisible players, not invisible players, or anonymous players.

Code is based on outdated skulltag code and new ZDoom code. Tested in ZDoom (without skulltag specific functions).
No tags attached.
cpp ident.cpp (4,689) 2010-10-25 18:38
/tracker/file_download.php?file_id=48&type=bug
Issue History
2010-10-25 18:38kgswsNew Issue
2010-10-25 18:38kgswsFile Added: ident.cpp
2010-10-25 19:13Dark-AssassinNote Added: 0000469
2011-02-07 06:14XenaeroNote Added: 0001002
2011-02-07 19:13DevilHunterNote Added: 0001017
2011-02-08 22:18unknownnaNote Added: 0001023
2012-08-30 14:42ZzZomboNote Added: 0004520
2012-08-30 22:19katZuneNote Added: 0004528
2012-09-01 11:53Torr SamahoNote Added: 0004540
2014-06-12 20:15WatermelonNote Added: 0009155
2014-06-12 20:15WatermelonStatusnew => acknowledged

Notes
(0000469)
Dark-Assassin   
2010-10-25 19:13   
hmm, could you also add something that if your IP is on the adminlist, you can have an extra option or something to show their IP. It would be much easier to find their ip this way other than look through almost unreadable rcon console.
(0001002)
Xenaero   
2011-02-07 06:14   
This is interesting. I like it. You also did coding work, which is pretty impressive considering most suggestions.
(0001017)
DevilHunter   
2011-02-07 19:13   
Sounds Good, also agree with Dark-Slayer
(0001023)
unknownna   
2011-02-08 22:18   
If this is to be implemented, it'd be nice to have cl_identifytarget separated from cl_showweapnameoncycle.
(0004520)
ZzZombo   
2012-08-30 14:42   
Torr, very interesting feature. What will you say? One thing though I wish server can prohibit identifying of non-allies by a CVAR (so some mods that relies on players hiding in darkness and such won't be broken).
(0004528)
katZune   
2012-08-30 22:19   
this have long time but zandronum need it
(0004540)
Torr Samaho   
2012-09-01 11:53   
Quote from ZzZombo

Torr, very interesting feature. What will you say?

If somebody posts a patch compatible with the latest Zandronum version, I'll consider it.

Quote from ZzZombo

One thing though I wish server can prohibit identifying of non-allies by a CVAR (so some mods that relies on players hiding in darkness and such won't be broken).

That's what sv_noidentifytarget is meant for. This doesn't distinguish between allies and enemies though, but completely disables cl_identifytarget.
(0009155)
Watermelon   
2014-06-12 20:15   
Interesting idea, I'll check into it later