|
Introduction
My configs are not very complex. They are functional and they get
the job done smoothly and without a lot of messing about. The most complex one is the infiltrator config and most of that was
taken from Bandit5k's earlier configs. Bandit5k makes his configs
very complex and they work quite well for advanced scripting. I
personally am not a big fan of advanced scripting, so feel free to check
into his to borrow and add to mine. Or if you are gung-ho, skip mine
and go directly to his.
Basics + WT features
Let's start with the basics (you might want to read this as it has some
other info too)... A config file is a text file with the file
extension renamed to .cfg. These .cfg files contain binding and
settings for the game and are easily edited in notepad, wordpad, etc. In Wolf Tactics, we allow class specific configs
so that you may control how each class gets their keys mapped out.
Another addition with Wolf Tactics is the aliasing system. Aliases
go back to Quake 1 but were dropped in either Quake 2 or 3. An alias
allows you to perform an action whilst a key is pressed down, and perform
another action when the button is released. The most applicable
example would be a quickshoot script...
set shootDown |
"weapon 2; wait 5;
+attack" |
set
shootUp |
"-attack; wait 5; weapon 3" |
bind x +shoot |
|
When x is pressed, it would switch to weapon 2 and attack until you let go
of x, when it would switch to weapon 3. I'm positive you can do more
complex things with aliases, but keep mine on the relatively simple side.
How my configs work
My configs start with the autoexec.cfg which calls settings.cfg then
bindings.cfg. Finally, it loads the class config which at times
overwrites stuff previously set with settings.cfg and bindings.cfg.
For example, i change mouse2's functionality from class to class.
For the ranger i like mouse2 to be +activate to facilitate ranger grabs,
whereas with the soldier i like it to use the binocs, and finally with the
medic i like it to drop med packs whilst being held down. Something
else that might take you off guard is the use of pageup for selectGren2.
Pageup is my big side mouse button on my intellimouse explorer, so
actually, it's quite convenient. ;) Enter is the small button
on my mouse. I use it for the engineer, medic and the demo expert.
For the most part, my configs are very straightforward, but a quick summary is no problem.
Also, be sure to change your name in settings.cfg :)
A quick summary of the keys
I used wasd as my movement.
Space is jump, ctrl is crouch, alt is walk and shift is sprint
mouse1 is attack, mouse2 varies, mouse3 is reload
q is gren1, pgup is gren2, v is binocs, b drops the flag/docs/obj enter
varies
t is all-talk, y is team-talk
1-0 are weaponbanks and menu selectors
F1-F4 are class specific comms with F4 always being a gren2 warning
F5-F12 are Incoming/outgoing flag/docs/obj. status comms
zxc reserved for class specific commands but aren't used for all classes
The numpad is setup to call out disguised infiltrators. 1=ranger,
2=sniper, ..., 9=engineer
The rest of the keyboard is setup for comms
The most complex of my scripts explained
The Infiltrator, as mentioned before, is my most complex config thus i'll
explain it more in depth.
Hiding
When you press delete on the numpad or x you stop all movement, drop the
docs if you have them
and you go into hiding. Hitting that key again,
moving, or shooting will unhide you. So don't do it
unless you really want to ;)
Disguising
When you press the 0 key on the numpad or z, you start the Disguise system
created by Bandit5k.
After pressing either of those keys, the numpad is
your team selector. If you press 1 you will disguise
as Axis, if you
press 2, you will disguise as Allies. After you have picked your
team, the numpad keys
are converted into class selectors.
1=ranger,
2= sniper, 3=soldier, 4=demo expert, 5=medic, 6=venom gunner, 7=pyro,
8=infiltrator, 9=engineer.
After that, they are returned to the
original function of calling out enemy disguised infiltrators.
Disguising Version 2
In infiltratorAlt.cfg there is another version of a disguise script
which uses only the mouse
Press Enter to start the Script
Press Mouse 1 to select Axis, Mouse 2 to select Allies
After that, use the mousewheel to scroll through the classes.
When you aro on the class that want to disguise as, press Mouse 1
Wrap-up
The rest of my binds are very very simple to follow and, along with every
config, are commented in areas that might be tricky at all. Best of
luck with my configs. It wouldn't be right if you didn't hack my
scripts apart and change them, add to them, subtract from them, whatever
you want to them, to better fit your needs, so please do. Enjoy and see you on the
servers :)
commands used in my configs
selectGren1 |
selects the class' primary grenade |
selectGren2 |
selects the class' secondary
grenade |
objinfo |
displays the approximate location of the flag/docs/obj |
+dropweapon |
RTCW command that is used to drop
the flag/docs/obj |
|
if used in a 2 part bind, you must
use -dropweapon also |
claymore |
selects the Claymores for the Demo Expert |
detonator |
selects the Claymore Detonator for
the Demo Expert |
ammo |
selects the Ammo Pack for the Engineer |
armor |
selects the Armor Pack for the
Engineer |
spawnsentinel |
builds a Sentinel Gun for the Engineer |
hide |
hides for the Infiltrator |
|
any movement/firing will disrupt
this |
disguise |
disguises for the Infiltrator |
|
usage: disguise [color] [class] |
|
color = axis, red, allies, allied, blue |
|
class = ranger, sniper, soldier, demo, medic, venom, pyro,
infiltrator, |
|
engineer |
medkit |
selects the Med Pack for the Medic |
syringe |
selects the Syringe for the Medic |
prone |
drops to prone position for Sniper |
|
press prone or jump to rise |
mp_classselect |
opens a quick class select menu |
|
navigate using the weaponbank
keys, similar to voice quickchats |
mp_teamselect |
opens a quick team select menu |
|
navigate using the weaponbank
keys, similar to voice quickchats |
mp_spawnselect |
opens a quick spawn location
select menu |
|
navigate using the weaponbank
keys, similar to voice quickchats |
settings i use in my configs
ui_font |
0 = rtcw mp font |
|
1 = bookham old wt font |
|
2 = sans serif wt font |
|
3 = script classical font |
|
4 = chunky rtcw font |
cg_chatBeep |
0 = no chat beep |
|
1 = team chat only beep |
|
2 = all chat beep |
cg_complaintPopUp |
0 = Teamkill complaint popup appears |
|
1 = Teamkill complaint popup does not appear |
cg_execClassConfigs |
0 = Class configs are not executed |
|
1 = Class config is exectuted on
first spawn with that class |
|
2 = Class config is executed on
every spawn |
|
valid configs = ranger.cfg, sniper.cfg
soldier.cfg, demo.cfg, medic.cfg, |
|
venom.cfg, pyro.cfg,
infiltrator.cfg, engineer.cfg |
cg_drawTeamMarkers |
0 = Friendly team markers do not show up |
|
1 = Friendly team markers do show up |
|
This setting can be over-ridden by the server |
cg_teamChatLocations |
0 = Does not display the location of
the player in Comms |
|
1 = Displays the location of the
player in Comms |
cg_crossHairPulse |
0 = Turns off the crosshair pulse (OSP-Like) |
|
1 = Enables crosshair pulse (RtCW-like) |
cg_respawnTimer |
0 = Does not display the respawn timer |
|
1 = Displays the respawn timer |
|
cg_respawnTimerX can be set to
reposition the horizontal location |
|
cg_respawnTimerY can be set to
reposition the vertical location |
|
values set are relative to a 640x480
screen |
communication variables
$h |
current health |
$a |
current armor |
$l |
present location |
$c |
current class |
$n |
your name |
$g |
current disguise |
$t |
current team (Axis,
Allied, Spectator) |
$d |
last
place you died |
$r |
last place you
reported (last $l you sent) |
$v |
location under your crosshair |
$s |
location where you
last spotted someone as a sniper or infiltrator |
usage |
bind
x "say_team i'm a $c at $l with $hH and $aA" |
|
i'm a ranger at allied forward
spawn with 100H and 30A |
say_voice |
allows a soundfile to be played with
other text after |
say_team_voice |
allows a soundfile to be played to
your team with other text after |
usage |
bind
x "say_team_voice NeedEngineer ^6I need Armor" |
|

pants
|