Talk:Adding a new weapon to your mod: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 19: Line 19:


I have noticed how outdated the VDC has become as the 2013 Source branch was released, more needs to be usable in the 2013 engine as well as the Orange Box Engine should have different sections in their page, or a whole new page. Do you agree?
I have noticed how outdated the VDC has become as the 2013 Source branch was released, more needs to be usable in the 2013 engine as well as the Orange Box Engine should have different sections in their page, or a whole new page. Do you agree?
I agree, there should be an update for the Source 2013 Engine as well as a section for the SP variant and also saying which files to edit AND where they are located in the file structure
I agree, there should be an update for the Source 2013 Engine as well as a section for the SP variant and also saying which files to edit AND where they are located in the file structure


== Error Help ==
== Error Help ==

Revision as of 11:40, 10 September 2015

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)

Should this be updated?

I have noticed how outdated the VDC has become as the 2013 Source branch was released, more needs to be usable in the 2013 engine as well as the Orange Box Engine should have different sections in their page, or a whole new page. Do you agree?

Error Help

I get errors when adding the weapon_ak47.cpp file into visual studio in games.sln, do I have to use everything.sln or is it impossible to do this I have tried with 2007 and 2013 and both give me the same errors