Discussion:
Recompiling weapons
raf256
2005-06-16 09:39:26 UTC
Permalink
Hi,
if I would like to play around with weapons, like - to change fire speed
for rail gun, what file should I change, how to rebuild (no debugging is
needed), and what resulting file(s) copyt to game dir?

Thanx
eatdeadmonkeys
2005-06-16 16:36:15 UTC
Permalink
file is p_weapon.c in the game source... then run make on the make
file... and copy over gamei386.so into where you want it
Post by raf256
Hi,
if I would like to play around with weapons, like - to change fire speed
for rail gun, what file should I change, how to rebuild (no debugging is
needed), and what resulting file(s) copyt to game dir?
Thanx
raf256
2005-06-17 01:04:23 UTC
Permalink
Post by eatdeadmonkeys
file is p_weapon.c in the game source... then run make on the make
file... and copy over gamei386.so into where you want it
Thanks, Im playin with that... btw, how can I output some debug info -
like a float ?
eatdeadmonkeys
2005-06-17 16:15:53 UTC
Permalink
use sprintf to change it to a string and then use i think Com_Printf()
to print it to the console
Post by raf256
Post by eatdeadmonkeys
file is p_weapon.c in the game source... then run make on the make
file... and copy over gamei386.so into where you want it
Thanks, Im playin with that... btw, how can I output some debug info -
like a float ?
Loading...