Talk:Adding a Dynamic Scope

From Valve Developer Community
Revision as of 22:31, 24 July 2008 by Shadow-killer (talk | contribs)
Jump to navigation Jump to search

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 2 errors while compiling

1>tne_RenderTargets.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall CBaseClientRenderTargets::InitClientRenderTargets(class IMaterialSystem *,class IMaterialSystemHardwareConfig *)" (?InitClientRenderTargets@CBaseClientRenderTargets@@UAEXPAVIMaterialSystem@@PAVIMaterialSystemHardwareConfig@@@Z) referenced in function "public: virtual void __thiscall CTNERenderTargets::InitClientRenderTargets(class IMaterialSystem *,class IMaterialSystemHardwareConfig *)" (?InitClientRenderTargets@CTNERenderTargets@@UAEXPAVIMaterialSystem@@PAVIMaterialSystemHardwareConfig@@@Z) 1>tne_RenderTargets.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall CBaseClientRenderTargets::ShutdownClientRenderTargets(void)" (?ShutdownClientRenderTargets@CBaseClientRenderTargets@@UAEXXZ) referenced in function "public: virtual void __thiscall CTNERenderTargets::ShutdownClientRenderTargets(void)" (?ShutdownClientRenderTargets@CTNERenderTargets@@UAEXXZ)

how may i fix these errors? User:Shadow-killer