OpenArena Message Boards

OpenArena Contributions => Development => Topic started by: redcloud on May 20, 2007, 11:21:00 am



Title: fire rate
Post by: redcloud on May 20, 2007, 11:21:00 am
I would change the fire rate of the railgun (eheheheh lol). How to do?


Title: Re: fire rate
Post by: dmn_clown on May 20, 2007, 11:56:03 am
That is what the excessive mod is for :)


Title: Re: fire rate
Post by: redcloud on May 20, 2007, 12:07:25 pm
Hum it's only a didactic experiment :D I promise will kill nobody :)


Title: Re: fire rate
Post by: Kojiro_S on May 20, 2007, 08:21:12 pm
What dmn_clown meant is that there is a mod called Excessive Plus (http://planetquake.gamespy.com/View.php?view=Quake3.Detail&id=2025) that makes EVERY weapon a pocket nuke. For instance, the shotgun fires an array of blasters, and the railgun has the fire rate of a machine gun.

Hope that helps you.


Title: Re: fire rate
Post by: redcloud on May 21, 2007, 04:13:32 am
Ok, thank you but i'm interested to modify the game by myself.


Title: Re: fire rate
Post by: hyp3rfocus on May 21, 2007, 01:17:02 pm
hi redcloud,

you need to alter the source code and recompile the qvms (quake virtual machines). a good place look for advice is code3arena.

http://code3arena.planetquake.gamespy.com/tutorials/tutorial1.shtml


Title: Re: fire rate
Post by: hyp3rfocus on May 21, 2007, 01:21:17 pm
and the ioquake3 code (the engine that openarena runs on) is available here...

http://openarena.ws/svn/source/ioq3sources.tar.bz2


Title: Re: fire rate
Post by: redcloud on May 22, 2007, 03:31:23 am
I found the piece of code in bg_pmove.c file

Code:
case WP_RAILGUN:
addTime = 1500;
break;

then i put 10 in the addTime var. I downloaded the openarena souce for linux. When i run the makefile, nothing goes wrong but how can i try the modified code? The built code is in openarena/source/ioq3-svn982/build/release-linux-i386 and i have hardlinked the baseoa dir from myhome/.openarena but i can see no modifications.


Title: Re: fire rate
Post by: dmn_clown on May 22, 2007, 11:06:01 am
I would suggest that you download the latest rev from the ioq3 repo and patch it with the oa patch as there is still a nasty buffer overflow in our engine.