07-16-2011, 12:42
07-16-2011, 14:17
:XXXXXX
07-16-2011, 14:31
You can't see your own text when spectating someone. You will see the text that the player you are spectating has. strange sentence i know ...
07-16-2011, 14:33
iAegle what you said is true. (he ninja edited his post)
You can't print hud elements on spectators because they see the hud elements of the person they're spectating..
if you want to make a spectator overlay you have to do it via menu files, again. (hud.menu)
You can't print hud elements on spectators because they see the hud elements of the person they're spectating..
if you want to make a spectator overlay you have to do it via menu files, again. (hud.menu)
07-16-2011, 14:46
any idea where i could find a similar one to see how its done or anything?
my hud.menu has aids apparently
// CONSOLE HUD - MP
#include "ui/menudef.h"
#include "ui_mp/hud_gametypes.inc"
#define TICKER_WIDTH( segID ) (segID*54) 1 64 6 HORIZONTAL_ALIGN_USER_LEFT VERTICAL_ALIGN_USER_BOTTOM
#define TICKER_WIDTH_WS( segID ) (segID*72) 1 128 6 HORIZONTAL_ALIGN_USER_LEFT VERTICAL_ALIGN_USER_BOTTOM
#define HUD_TICKER( segID ) \
itemDef \
{ \
style WINDOW_STYLE_SHADER \
rect TICKER_WIDTH( segID ) \
origin 0 0 \
background "hud_xpticker480" \
forecolor 1 1 1 HUD_FOREGROUND_ALPHA \
visible when( !dvarInt( "wideScreen" ) ); \
decoration \
} \
why does it have \'s and shit? lol... any chance either of you could help me ?
also would it be possible to on left click or right click to pick a random player and just have his vision instead of actually "spectating" him if you know what i mean.. sort of how nade trainer works?
my hud.menu has aids apparently
// CONSOLE HUD - MP
#include "ui/menudef.h"
#include "ui_mp/hud_gametypes.inc"
#define TICKER_WIDTH( segID ) (segID*54) 1 64 6 HORIZONTAL_ALIGN_USER_LEFT VERTICAL_ALIGN_USER_BOTTOM
#define TICKER_WIDTH_WS( segID ) (segID*72) 1 128 6 HORIZONTAL_ALIGN_USER_LEFT VERTICAL_ALIGN_USER_BOTTOM
#define HUD_TICKER( segID ) \
itemDef \
{ \
style WINDOW_STYLE_SHADER \
rect TICKER_WIDTH( segID ) \
origin 0 0 \
background "hud_xpticker480" \
forecolor 1 1 1 HUD_FOREGROUND_ALPHA \
visible when( !dvarInt( "wideScreen" ) ); \
decoration \
} \
why does it have \'s and shit? lol... any chance either of you could help me ?
also would it be possible to on left click or right click to pick a random player and just have his vision instead of actually "spectating" him if you know what i mean.. sort of how nade trainer works?
07-16-2011, 15:22
those \'s are endline characters for menu 'function' defines
07-16-2011, 15:40
yah, atleast i fixed my dvar correction problem... now i just have to get the overlay working..