Sounds like the DLLs aren't being copied. - ScarT
On 4 July 2010 09:22, sigma <sigmase...@gmail.com> wrote: > Hey there everyone. I've been trying to author a weapon based off the > weapon_crowbar entity using the source 2007 engine, and I'm having some > issues. It seems I've followed all the advice from most of the resources I > can pool together, and here's what that's entailed so far: > > I basically copied weapon_crowbar.cpp and weapon_crowbar.h from the server > episodic portion of the visual studio project to create weapon_wrench.cpp > and weapon_wrench.h. I changed all references when copying over from > crowbar > to wrench as necessary. Then in the client project I updated > c_weapon_stubs_hl2.cpp to include a new stub: > > STUB_WEAPON_CLASS( weapon_wrench, WeaponWrench, C_BaseHLBludgeonWeapon ); > > This was inserted below the crowbar entry. Now this all compiles nicely > except when I load into the mod and into a map, turn sv_cheats on, and > attempt to give weapon_wrench, it complains about weapon_wrench being an > unknown entity. Any ideas? > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders