Page 1 of 1

quake weapon flags

Posted: Wed Feb 21, 2007 11:08 pm
by squirell man
i...i...i... think this is the right forum to post this in... right?

nvmnd.

ok well im jsut wanting to know how to change the weapon spawn flags to where you like start with a shotgun and 100 shells, or a rocket launcher with 30 rockets etc...

Posted: Thu Feb 22, 2007 1:47 pm
by ^misantropia^
I don't have the source at hand but, off the top of my head, the function you're after is called ClientSpawn and you'll find it in game/g_client.c.

Posted: Sat Feb 24, 2007 5:52 pm
by squirell man
edit.

where do you find it? like what directory.

Posted: Sat Feb 24, 2007 7:39 pm
by ^misantropia^
Lemme guess, you're not writing a mod, merely trying to set up a server?

Posted: Sat Feb 24, 2007 7:47 pm
by squirell man
yes actually. sorry ill state that next time.

Posted: Sun Feb 25, 2007 12:36 pm
by ^misantropia^
You're in the wrong forum, Q3D would've been the more appropriate place. Anyway, what you are trying to achieve depends on the mod you are playing so you'll want to consult the documentation that came with it. Vanilla Q3 doesn't support all these things.