Forum

no more backpack tutorial help

Need help with a tutorial found on InsideQC.com? Post here.

Moderator: InsideQC Admins

no more backpack tutorial help

Postby behind_you » Sun Feb 27, 2011 2:14 pm

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.
User avatar
behind_you
 
Posts: 237
Joined: Sat Feb 05, 2011 6:57 am
Location: Tripoli, Libya

Re: no more backpack tutorial help

Postby Ranger366 » Sun Feb 27, 2011 2:53 pm

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
User avatar
Ranger366
 
Posts: 203
Joined: Thu Mar 18, 2010 5:51 pm

Postby behind_you » Sun Feb 27, 2011 3:02 pm

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.
User avatar
behind_you
 
Posts: 237
Joined: Sat Feb 05, 2011 6:57 am
Location: Tripoli, Libya

Postby r00k » Mon Feb 28, 2011 8:10 am

did you replace the netname part with the setmodel (item, "progs/g_***.mdl"); part of the tut?
r00k
 
Posts: 1110
Joined: Sat Nov 13, 2004 10:39 pm

Postby behind_you » Mon Feb 28, 2011 11:39 pm

yea i did. Can someone test this tutorial if its not too much trouble?
User avatar
behind_you
 
Posts: 237
Joined: Sat Feb 05, 2011 6:57 am
Location: Tripoli, Libya

Re: no more backpack tutorial help

Postby Ghost_Fang » Thu Jan 19, 2012 2:00 am

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.
Ghost_Fang
 
Posts: 336
Joined: Thu Nov 12, 2009 4:37 am


Return to Tutorial Help

Who is online

Users browsing this forum: No registered users and 1 guest