
|
Advanched Configuration: Scripting Wondering how to make your own scripts?
Tired of doing things that could be done so much easier? Here is where we’ll
teach you how to script! 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. On the Q3F-scripting
website you'll find lots of Q3F fan and team member
submitted scripts that you may wish to use - these demonstrate class CFGs and communications. 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 Armed with this knowledge
of scripting, you can start to try and create your own scripts. Useful
scripts to have are sentry-build scripts, sentry-rotate scripts, an advanced communications
system and much, much more.. feel free to experiment and try your own thing! For more detailed scripting
tutorials check out the Q3F scripting
website, and if you’d like to know more about
HUD-scripting, have a look at the HUD-scripting tutorial in your Q3F2
directory(q3f2\howtos\huds\tutorial). |
||||
|
|
|
|||