Talk:Adding a Dynamic Scope: Difference between revisions
(→APPCRASH: new section) |
|||
Line 78: | Line 78: | ||
I just noticed that this can cause the tonemapping to flicker --[[User:AUserofSourceSDK|Pfannkuchen]] 20:58, 8 July 2010 (UTC) | I just noticed that this can cause the tonemapping to flicker --[[User:AUserofSourceSDK|Pfannkuchen]] 20:58, 8 July 2010 (UTC) | ||
Revision as of 10:15, 5 June 2011
Oh you're a fucking god whoever added this.
- Seriously.--Gear 06:00, 25 May 2008 (PDT)
This doesn't work. I get a black texture. I'm using EP2.--User:JLea 20:29, 26 May 2008 (PDT)
EDITNevermind, I got it to work. It's fine now :D
How do I change the zoom level? FOV?
Millz: Glad you like it.
scopeView.fov = localPlayer->GetActiveWeapon()->GetZoomFOV();
This line controls FOV level
i get two errors while compiling
1>.\view.cpp(1146) : error C2039: 'scopeView' : is not a member of 'C_BaseCombatWeapon' 1> d:\Steam\steamapps\SourceMods\src\game_shared\basecombatweapon_shared.h(115) : see declaration of 'C_BaseCombatWeapon' 1>.\view.cpp(1146) : error C2228: left of '.fov' must have class/struct/union
im using ep1 engine
okok i get this error while compiling:
1>.\viewrender.cpp(2928) : error C2664: 'CViewRender::DrawScope' : cannot convert parameter 1 from 'IViewRender *' to 'const CViewSetup &' 1> Reason: cannot convert from 'IViewRender *' to 'const CViewSetup' 1> No constructor could take the source type, or constructor overload resolution was ambiguous
im using OB engine, what am i doing wrong??? or is it just something in the OB engine i was thinking to feed the function ivrender instead of cviewsetup but i dont think it works, in the def's their completly different things goddam it ._.
If you get the 'IViewRender *' to 'const CViewSetup &' error you placed the code in the wrong section,
Found the solution a minute ago and it's working.
find:
#ifdef USE_MONITORS if ( cl_drawmonitors.GetBool() && ( g_pMaterialSystemHardwareConfig->GetDXSupportLevel() >= 70 ) && ( ( whatToDraw & RENDERVIEW_SUPPRESSMONITORRENDERING ) == 0 ) ) { DrawMonitors( view ); } #endif
Add this line below:
if(g_pMaterialSystemHardwareConfig->GetDXSupportLevel() >= 70 ) { DrawScope( view ); }
and you good to go --Djtyron 19:35, 16 May 2010 (UTC)
work in css
does this work in a css mod?
@Samsimpleasthat You fail man...
hdr
I just noticed that this can cause the tonemapping to flicker --Pfannkuchen 20:58, 8 July 2010 (UTC)