Dynamic Scope isn't showing up

Grab your favourite IDE and tinker with the innards of game engines

Dynamic Scope isn't showing up

Postby brokene on Sat Jul 07, 2012 9:36 pm

Hey, I followed the tutorial on valves site https://developer.valvesoftware.com/wik ... amic_Scope and after I completed the dynamic scope isn't working, actually nothings different from what is was before I tried to add the dynamic scope. Is there something that I need to add the the weapon files?

Also I've been getting the error:
c_pixel_visibility.cpp (413) : Assertion Failed: m_frameIssued != gpGlobals->framecount, whenever I give myself the crossbow (I'm using the model provided in the tutorial)

Can anybody help me out with a solution? I would be very grateful.
brokene
Just Joined
Just Joined
 
Joined: Sat Jul 07, 2012 4:39 pm

Re: Dynamic Scope isn't showing up

Postby Botolf on Tue May 14, 2013 6:19 am

I had this problem with the tutorial for a while even with a clean compile. What initially escaped me is that the tutorial's example crossbow model is extracted to the wrong folder by default (root/models) , but the weapons script (root/scripts/weapon_crossbow.txt) calls for it in (root/models/weapons). It loads the standard crossbow because it can't see the custom one at the standard path. Simply moving it into a weapons subfolder gets the job done.

Edit: Woops, didn't realize how old the OP was :smt064
User avatar
Botolf
Regular
Regular
 
Joined: Sat Jan 16, 2010 7:38 am

Re: Dynamic Scope isn't showing up

Postby ErikKiller on Tue May 14, 2013 8:13 am

Doesn't matter, it fixes the issue and could prove useful for future reference. Thanks.
Image
Image
First rodeo? Use the Source SDK Documentation for reference!
User avatar
ErikKiller
May Contain Skills
May Contain Skills
 
Joined: Sun Sep 09, 2007 4:05 pm
Location: Estonia

Re: Dynamic Scope isn't showing up

Postby Armageddon on Tue May 14, 2013 8:50 am

Didn't work for me either, thanks.

I wish someone would add iron sights to that tutorial.
User avatar
Armageddon
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Sun Dec 14, 2008 5:53 am

Re: Dynamic Scope isn't showing up

Postby Botolf on Wed May 15, 2013 5:01 am

KK, added a note to the wiki page for posterity. Simplest things sometimes, eh? :P
User avatar
Botolf
Regular
Regular
 
Joined: Sat Jan 16, 2010 7:38 am

Return to Programming

Who is online

Users browsing this forum: No registered users