Pages: [1]
  Print  
Author Topic: fire rate  (Read 5683 times)
redcloud
Nub


Cakes 0
Posts: 4



WWW
« on: May 20, 2007, 11:21:00 am »

I would change the fire rate of the railgun (eheheheh lol). How to do?
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #1 on: May 20, 2007, 11:56:03 am »

That is what the excessive mod is for Smiley
Logged

redcloud
Nub


Cakes 0
Posts: 4



WWW
« Reply #2 on: May 20, 2007, 12:07:25 pm »

Hum it's only a didactic experiment Cheesy I promise will kill nobody Smiley
Logged
Kojiro_S
Lesser Nub


Cakes 2
Posts: 143


Har har har...


WWW
« Reply #3 on: May 20, 2007, 08:21:12 pm »

What dmn_clown meant is that there is a mod called Excessive Plus 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.
Logged


*ROOOAAAR*
redcloud
Nub


Cakes 0
Posts: 4



WWW
« Reply #4 on: May 21, 2007, 04:13:32 am »

Ok, thank you but i'm interested to modify the game by myself.
Logged
hyp3rfocus
Guest
« Reply #5 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
Logged
hyp3rfocus
Guest
« Reply #6 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
Logged
redcloud
Nub


Cakes 0
Posts: 4



WWW
« Reply #7 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.
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #8 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.
Logged

Pages: [1]
  Print  
 
Jump to: