title.jpg (14569 bytes)

frags.gif (1518 bytes) Lowering Weapon Switch Time frags.gif (1518 bytes)

Up ] SplatFest News ] SplatFest Project ] Downloads ] Contacts ] Mapping Tutorials ] Texture Tutorials ] Other Site Links ] Free Web based E-Mail ] Send Us Feedback ] Home Page ]

Home
Adding A Timer
Adding trails to bullets
Air Blaster
Alternate Fire
Backpacks
Bindable +/- Aliases
Bouncing Plasma
Cluster Grenades
Creating Classes
Forcing Teams
Grapping Hook
How to Use the +/- Button Method
Looking Around After Death
Lowering Weapon Switch Time
Player Speeds Vs. Weapons
Railgun Colors
Remote Detonation Pipe Bombs
Renable the Save/Load Menu
Rocket Bounce
Sniper Zoom
Team Stats
Teleporting Plasma Gun
Vampire Mod
Vunlerable Missles

e_l.jpg (1811 bytes) e_r.jpg (1821 bytes)

Back ] Next ]

frags.gif (1518 bytes) Lowering Weapon Switch Time frags.gif (1518 bytes)

This tutorial covers the code changes needed to lower the time it takes to swap weapons.
Thanks to Dale for the idea for this tutorial.

Files we will change.
game/bg_pmove.c

KEY:
Indicates changed lines

Step 1: This is really simple change so lets get started. Open up bg_pmove.c and goto line 1371 (or there abouts), it should look like this.

pm->ps->weaponTime += 200;

Step 2: Change the value of 200 to 0, save an compile it. Thats all there is to it :)

Enjoy, I hope this helps you all out.

-GrafxMan
http://www.liquidquake.com/

e_l.jpg (1811 bytes) e_r.jpg (1821 bytes)

 

Quake III Arena is a trade mark of ID Software

Get ZZN