|
|
#1 |
|
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' 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. |
|
|
|
|
|
#2 |
![]() 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.
|
|
|
|
|
|
#3 |
|
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.
|
|
|
|
|
|
#4 |
![]() 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.
|
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|