Scripting
Customising Q3F with your own scripts can be one of the most complicated, yet in the long-term, timesaving aspects of team-based online gaming.
With Q3F's ability to automate many of the things you may find cumbersome in the heat of battle, you'll only find your enjoyment heightened when you don't for example, have to worry about pressing several keys just to build an Autosentry.
Giving examples of more than a small fraction of the possibilities of scripting in this manual is impossible. As such we've chosen to cover three specific Q3F features - grenades/firing, team communications, and the user menu. In the contrib directory you'll find 3 Q3F fan and team member submitted scripts that you may wish to use - these demonstrate class CFGs and commonunications.
Automating Grenades and Firing
Because Quake 3 didn't have the ability to use a '+alias' command, we've implemented one ourselves.
It's a little bit more complicated to set-up than in Quakeworld, but yields exactly the same results. For example:
\set charge5down charge 5\set charge5up charge cancel\bind X +alias cha5
Will set-up a +alias so that when you press X, the charge5down command is vstr'd, and when you let go the charge5up command is executed. To get +gren1 and +gren2 commands to work just do this:
\set gren1down primeone\set gren1up throwgren\bind [ +alias gren1\set gren2down primetwo\set gren2up throwgren\bind ] +alias gren2
Where "[" and "]" are the keys you'd like to bind to +gren1 and +gren2. You can also use the +alias command to provide functionality for autoswitch/fire - for example to make a an alias that selects the Rocket Launcher and fires using mouse2:
\set f7down "weapon 7; +attack"\set f7up "-attack"\bind mouse2 +alias f7