Different players use different keys to do the same thing. Many players choose weapon with a key, then fire with mouse button 1 (mouse1). Others have a different key to fire different weapons. Some fire with SPACE, others with mouse buttons. It's a matter of taste.
As everyone, I have my own way of firing weapons in QuakeWorld.
IMO, my way of firing is the ultimate friendly way of firing (cof cof - /modesty). I use the 5 mouse buttons to fire all weapons.
Mouse1 fires RL,
Mouse2 fires LG,
Mouse3 SNG/SSG,
Mouse4 fires GL,
Mouse5 is +jump;+fire for rocketjumps,
and the mouse wheels fire either SSG or SG (for long distance shots).
It's perfect. On my right hand fingers i have all the possibilities of firing. Every situation requires evaluation "which weapon is the best for this?". You have to question yourself that every second. With my cfg, execution is simple. You just have to decide which finger you are going to move.
Here's my simple script://Shoot with mouse buttons (5 buttons + mouse wheel)
bind MOUSE1 "+rl"
bind MOUSE2 "+lg"
bind MOUSE3 "+sng"
bind MOUSE4 "+gl"
bind MOUSE5 "+rjump"
bind MWHEELUP "+sg"
bind MWHEELDOWN "+ssg"
echo ^all-mouse-fire script loaded."
Note: Those alias (+rl, +lg, ...) are already in nQuake.
That does the trick. Simple, effective firing script for all situations.
What if I want to improve that? Luckly, Quake offers rather complex scripting capabilities. If you ask any Quake player about what they love in Quake, many will answer advanced scripting straight away. Because it enables you to do virtually anything in the game. Today's teamplay scripts are an example of that. This is one of the things that Quake has that no other game offers. In the next lines I will show some of these scripting features.
Ok. What if I want a different sensitivity for LG only?There's a bunch of ways of doing that.
Open your config and look to the current +lg alias. It should look something like this:
alias +lg "weapon 8 5 3 2 4 1;+attack"
alias -lg "-attack"
Add the sensitivity you want there:
alias +lg "weapon 8 5 3 2 4 1;+attack; sensitivity 1.6"
alias -lg "-attack; sensitivity 2"
Hmmm. This is no good. That way, everytime I want to change sensitivity i have change my config manually. Shit.
What if we do some math with the sensitivity value, apply new sensitivity while i'm shooting LG and then restore the "old" sensitivity back? Perfect:
alias +lg "weapon 8 5 3 2 4 1;+attack;set_calc sensitivity $sensitivity * 0.8"
alias -lg "-attack; set_calc sensitivity $sensitivity / 0.8"
Ahh. Now it's automatic. I can change sensitivity in game all the time and it will reduce its value. With that example, while i'm shooting the LG my sensitivity lowers to 80% of the normal sensitivity. So its a 20% reduction. Sounds good - we don't want to reduce alot.
But the alias looks complex. We can do better. Lets separate that bit we added into a new alias:
alias +lg "weapon 8 5 3 2 4 1;+attack; lowsens"
alias -lg "-attack; normalsens"
alias lowsens "set_calc sensitivity $sensitivity * 0.8"
alias normalsens "set_calc sensitivity $sensitivity / 0.8"
Now the sensitivity logic is separated and can be used in other situations as well, such as the +zoom alias for instance. But that 1.4 is still a fixed value. We can convert it to a variable, and then we can change it on the console. That means, no need to edit the config:
alias +lg "weapon 8 5 3 2 4 1;+attack; lowsens"
alias -lg "-attack; normalsens"
set sensfactor "0.80"
alias lowsens "set_calc sensitivity $sensitivity * $sensfactor"
alias normalsens "set_calc sensitivity $sensitivity / $sensfactor"
Ah, done. Fully automatic sensitivity for the weapons I want. If i change my sensitivity, it will automatically reduce whatever value sensitivity has.
If you want to change the sensitivity factor just write in the console:set sensfactor "0.75"
Value 0.75 will reduce your sensitivity to 3/4 when firing lg.
Value 0.5 will reduce your sensitivity to half when firing lg.
etc.. It's simple math. And it will fully work.
So about the sensitivity we are done.
>>>> >>END OF OBSOLETE TEXT
What about other settings? What if I'de like to change the fov everytime I shoot LG? Or change v_viewheight?
We can do the same we did with the sensitivity, the same system. Or, we can take a different approach.
Maybe in another blog entry. Are you interested in knowing the different ways you can change the fov for one weapon only?
Back to T&T index