In case anyone had already implemented this in their code... I had to fix a
crash that was occurring due to the KeyValues in the Init() function. The
crash occurs on level change because the KeyValues system uses some crazy
shared memory stuff and the heap was being corrupted. Anyway, it's fixed
Hello,
I'm Nick/Jangalomph and I'm new to C++ coding for the Source Engine, i have 6
months visual basic experience from school. But down to the nitty gritty.
I have this code taken from grenade_ar2.cpp.
What I've made bold are the changes I've made with the help of a noob coder as
myself.
Hey,
Welcome to HL Coders, and Cpp
If you want all your explosion's to have the same particular effects i would
recommend that you hunt down void CBasePlayer::OnDamagedByExplosion( const
CTakeDamageInfo info ) in player.cpp - this would be better then flooding your
memory space with the same
3 matches
Mail list logo