MantisBT - Zandronum | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0002642 | Zandronum | [All Projects] Suggestion | public | 2016-02-16 09:16 | 2016-10-10 22:41 |
Reporter | capodecima | ||||
Assigned To | |||||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 |
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0002642: Transparent gun, variable r_drawplayersprites | ||||
Description | This feature is best known from Quakelive. For competitive gaming can be this feature very useful. Chowww already made patch for it, this could looks something like this'http://image.noelshack.com/fichiers/2014/37/1410570961-odamex-coop-20140913-031518-copy.png. [^]' The command r_playersprites can be variable from 1 (enabled sprites) to 0 (fully transparent). This feature is already on odamex btw. The code: 1) Change the r_drawplayersprites cvar in cl_cvarlist.cpp : CVAR_RANGE (r_drawplayersprites, "1", "Draws Weapon opacity", CVARTYPE_FLOAT, CVAR_ARCHIVE | CVAR_NOENABLEDISABLE, 0.0f, 1.0f) 2) in r_things.cpp, in void R_DrawPSprite (pspdef_t* psp, unsigned flags): find this: vis->translucency = FRACUNIT; And replace by: vis->translucency = r_drawplayersprites * FRACUNIT; // Ch0wW: Weapon opacity Should do the trick. Can be prob slightly diff on zandronum | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-02-16 09:16 | capodecima | New Issue | |||
2016-02-27 12:55 | Ch0wW | Note Added: 0014506 | |||
2016-02-27 12:58 | Ch0wW | Note Edited: 0014506 | bug_revision_view_page.php?bugnote_id=14506#r8780 | ||
2016-10-10 22:41 | capodecima | Note Added: 0015890 | |||
2016-10-11 05:29 | Dusk | Note Deleted: 0015890 |
Notes | |||||
|
|||||
|
|