Talk:Adding a new weapon to your mod
Jump to navigation
Jump to search
Stance Errors
Ok i have followed this tutorial exactly for my source 2007 HL2DM mod and i am getting an error like this
error C2248: 'E_DUCK' : cannot access private enumerator declared in class 'C_BaseHL2MPCombatWeapon'
This is repeated a couple more times but the E_DUCK is replace by either E_MOVE E_STAND E_RUN E_JUMP E_INJURED E_DYING
Can someone help me resolve this problem
--Disabled logic 06:58, 21 February 2012 (PST)
EDIT: I fixed it, i just had to change a private to a public in weapon_hl2mpbasehlmpcombatweapon.h where it told me to insert the E_*** data
--Disabled logic 06:58, 21 February 2012 (PST)