Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding

Reply
 
Thread Tools Display Modes
Old 09-18-2012, 08:43 PM   #1
Lompang
 
 
 
Join Date: Mar 2011
Reputation: 0
Posts: 8
Over the Shoulder Camera Problem

Following the Over the Shoulder tutorial on the wiki, and I keep getting this error when compiling.

Code:
clientmode_shared.cpp(533): error C2039: 'SetRenderColorA' : is not a member of 'C_BasePlayer'
2>          c:\fomorph\src\game\client\c_baseplayer.h(70) : see declaration of 'C_BasePlayer'
2>clientmode_shared.cpp(537): error C2039: 'SetRenderColorA' : is not a member of 'C_BaseCombatWeapon'
2>          C:\FoMorph\src\game\shared\basecombatweapon_shared.h(134) : see declaration of 'C_BaseCombatWeapon'
2>clientmode_shared.cpp(544): error C2039: 'SetRenderColorA' : is not a member of 'C_BasePlayer'
2>          c:\fomorph\src\game\client\c_baseplayer.h(70) : see declaration of 'C_BasePlayer'
2>clientmode_shared.cpp(548): error C2039: 'SetRenderColorA' : is not a member of 'C_BaseCombatWeapon'
2>          C:\FoMorph\src\game\shared\basecombatweapon_shared.h(134) : see declaration of 'C_BaseCombatWeapon'
https://developer.valvesoftware.com/..._Shoulder_View

I have no idea what to do to fix it.

Accidentally double-posted in wrong section, this should be the right thread to help me.
Lompang is offline  
Reply With Quote
Old 09-19-2012, 05:07 PM   #2
J*Rod
 
 
 
Join Date: Dec 2008
Reputation: 129
Posts: 202
Don't know what it could be, that alpha function is from C_BaseEntity, which they should be derived from. Be sure everything's pointing to it.
J*Rod is offline   Reply With Quote
Old 09-19-2012, 05:50 PM   #3
Lompang
 
 
 
Join Date: Mar 2011
Reputation: 0
Posts: 8
Yea I have checked, see no defined from it in the place, and the tutorial doesn't even tell you to define it yourself, so I'm at a loss ATM.
Lompang is offline   Reply With Quote
Old 09-20-2012, 11:10 AM   #4
Biohazard_90
 
 
 
Join Date: Jun 2008
Reputation: 351
Posts: 1,804
You are presumingly using the alien swarm SDK, you need to point that out. Just look at the declaration of setrendermode or do a proper text search and you'll see how to do it right.
Biohazard_90 is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 07:49 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.