Page 1 of 1

no more backpack tutorial help

Posted: Sun Feb 27, 2011 2:14 pm
by behind_you
www.inside3d.com/qctut/qctut-60.shtml

I cant get this tutorial to work. Anyone? Im trying to get it so that when an enemy dies, he drops the last weapon he was equipping instead of a pack.

Re: no more backpack tutorial help

Posted: Sun Feb 27, 2011 2:53 pm
by Ranger366
Hey, we've got another Billy :D

First it would be nice if you tell us WHY it doesnt work, any error messages?

btw grab the missing g_shot.mdl model here if needed:
http://www.speedyshare.com/files/27110443/g_shot.zip

Posted: Sun Feb 27, 2011 3:02 pm
by behind_you
oh sry. I doesnt work as in, when enemy dies, he drops nothing, but when u walk to where the backpack is supposed to be, u pick up ammo. I also want it to b so that when the player dies, he drops his weapon.

Posted: Mon Feb 28, 2011 8:10 am
by r00k
did you replace the netname part with the setmodel (item, "progs/g_***.mdl"); part of the tut?

Posted: Mon Feb 28, 2011 11:39 pm
by behind_you
yea i did. Can someone test this tutorial if its not too much trouble?

Re: no more backpack tutorial help

Posted: Thu Jan 19, 2012 2:00 am
by Ghost_Fang
I never had problems with it, even in my early stages of coding.

First of all do you have any custom IT_WEAPONs? Make sure you edit the code to fit ones for your mod.

No? Have any custom models you use for quake's weapons? like v_shotgun.mdl instead of v_shot, or any of the sort? Make sure you rename the filenames to match.

I don't see where else it could go wrong really. This may sound dumb, but make sure you're compiling or that it is actually compiling. I don't know how many times ive gotten frustrated at code only to find out that I didn't compile or noticed that it wasn't compiling due to errors.