SkreamerVirii
Administrator
Full Member
Posts: 133
|
|
« on: September 03, 2008, 11:04:39 PM » |
|
In this tutorial i will show you how to modify a weapons rate of fire I will be using the Panzerfaust for demonstration Purposes so set your project to game and open up bg_misc.c and scroll to line 72 till you find this code
ammotable_t ammoTable[] = { underneath that you will see a list of weapons to wide to post it in this narrow box but look for this line of code in that table
{ 5, 1, 1, 1000, 750 , 2000, 0, 0, MOD_PANZERFAUST }, 5 is YOur Max AMMO 1 is is how many rockets you shoot at once 1 is How many you can have in your clip at one time 1000 is your Reload time This is how LONG BEFORE YOU CAN RELOAD 750 is your Fire Delay Time THIS IS HOW LONG AFTER YOU RELOADing are you allowed to fire again 2000 is your Next shot this is the DELAY to the NEXT shot you can fire Less is Faster
So lower 2000 to 750 100 to 750 and leave 750 where its at
|