It is currently Fri May 31, 2024 6:18 am












ConVarRef scissor( "r_flashlightscissor" );
scissor.SetValue( "0" );ConVar r_flashlightscissor( "r_flashlightscissor", "0", FCVAR_CHEAT );

TiiM wrote:Hello, i tried follow the steps on the wiki, but when i not change the env_projectedtexture to light only target and some target (props), then game crashes.
Anyone can help me with this ?
Another thing what dont work for me from wiki is Fixing Cuts in projected texture
- Code: Select all
ConVarRef scissor( "r_flashlightscissor" );
scissor.SetValue( "0" );
When i try to compile the code i got error with scissor.
I replacetd this with this line
- Code: Select all
ConVar r_flashlightscissor( "r_flashlightscissor", "0", FCVAR_CHEAT );
but i dont know if it is the right way.
If someone could help i would be thankfull.

1>c_basehlplayer.cpp
1>.\hl2\c_basehlplayer.cpp(30) : error C2143: syntax error : missing ';' before '.'
1>.\hl2\c_basehlplayer.cpp(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\hl2\c_basehlplayer.cpp(30) : error C2371: 'scissor' : redefinition; different basic types
1> .\hl2\c_basehlplayer.cpp(29) : see declaration of 'scissor'

TiiM wrote:
- Code: Select all
1>c_basehlplayer.cpp
1>.\hl2\c_basehlplayer.cpp(30) : error C2143: syntax error : missing ';' before '.'
1>.\hl2\c_basehlplayer.cpp(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\hl2\c_basehlplayer.cpp(30) : error C2371: 'scissor' : redefinition; different basic types
1> .\hl2\c_basehlplayer.cpp(29) : see declaration of 'scissor'
#include "convar.h"


TiiM wrote:Still the same error



Users browsing this forum: No registered users