Fortress Forever

Fortress Forever (https://forums.fortress-forever.com/index.php)
-   Tips and Tutorials (https://forums.fortress-forever.com/forumdisplay.php?f=37)
-   -   Fortress Forever basic binds/commands (https://forums.fortress-forever.com/showthread.php?t=10618)

groovyf 09-13-2007 08:56 PM

Fortress Forever basic binds/commands
 
Here's some help and info for those new to the game or simply needing some help:

Code:

CLASS          Slot1      Slot 2          Slot 3        Slot 4            Slot 5            Slot 6
Demoman        Crowbar    Single Shotgun  N/A            Grenade Launcher  Pipe Launcher      Detpack
Engineer        Spanner    Railgun        Super Shotgun  Dispenser        Sentry Gun
Hunted          Umbrella    N/A            N/A            Tommy Gun        N/A
Hwguy          Crowbar    Single Shotgun  Super Shotgun  N/A              Assault Cannon
Medic          Medkit      Single Shotgun  Super Shotgun  Super Nailgun    N/A
Pyro            Crowbar    Single Shotgun  N/A            Flamethrower      Incendiary Cannon
Scout          Crowbar    Single Shotgun  N/A            Nailgun          N/A
Sniper          Crowbar    Sniper Rifle    Auto Rifle    Nailgun          N/A
Soldier        Crowbar    Single Shotgun  Super Shotgun  N/A              RPG
Spy            Knife      Tranq          Super Shotgun  Nailgun          N/A

tf_weapon_names - no longer exist. Use slotX instead.
fov - no longer exists. Use default_fov instead.

If you can't get to the console, go into Options - Keyboard - Advanced, and tick the "Enable Developer Console" option. Use the ` key to bring down the console.

General commands

cl_ragdoll_deathview 0/1 - When you die, your view follows your body. For instance, if your head gets blown across the map, your view is too.
hud_fastswitch 0/1/2 - Quick weapon changing [can also be set via "Options - Keyboard - Advanced - Fast weapon switch] (1 = keyboard & mouse, 2 = keyboard only)
dropitems - Throws the flag/item being carried
discard - Drops unneeded ammo packs

saveme - Call for Medic (to heal your health)
engyme - Call for Engineer (to repair your armor)
+medengymenu - Medic/Engy radial menu

primeone - Primes one of your primary grenades.
primetwo - Prime one of your secondary grenades.
throwgren - Throw a primed grenade.
toggleone - Primes and throws primary grenade on subsequent touches
toggletwo - Primes and throws secondary grenade on subsequent touches
+gren1 - Primes primary grenade
-gren1 - Throws primary grenade
+gren2 - Primes secondary grenade
-gren2 - Throws secondary grenade

cl_spawnslot slot number - Weapon slot to spawn with
cl_classautokill - Die as soon as you change classes
cl_grenadetimer - Timer file to use [can also be set via "Crosshairs / Timers - Timers"]
cl_autoreload 0 or 1 - Automatic weapon reload

changeteam - Brings up the screen to select teams
changeclass - Brings up the class change screen
class X - Change class : Takes effect upon next death
team X - Change team : Takes effect upon next death



%a - Shows your Armour
%h - Shows your Health
%l - Shows your Location
%c - Shows your Class

hud_centerid 0 or 1 - Sets player info in centre of screen
net_graphpos X - Change position of net_graph info (1 is bottom right, 2 is bottom centre, 3 is bottom left)

cl_hints 0 or 1 - Toggles Hints

Class specific commands

********
Demoman
********

The Detpack weapon is in "slot6"
"detpipe" is now gone. You must use "+attack2" to det pipes.
detpack time - Sets detpack timer for specified amount of time.


*******
Engineer
*******

Dispenser is now "slot4"
Sentry Gun is now "slot5"
dispenser - To build Dispenser
sentrygun - To build Sentry Gun

dismantlesentry - To dismantle Sentry Gun
aimsentry - Aims Sentry Gun in direction crosshairs are pointing.
detdismantlesentry - Dismantles or detonate Sentry Gun depending on distance
detsentry - To detonate Sentry Gun
dismantledispenser - To dismantle Dispenser
detdispenser - Detonates the Dispenser

The above commands can all be accessed via the Engineer's "Radial Menu": +attack2


*****
Scout
*****

"radar" or "+attack2" - Scout radar: Provides a snapshot of the position of enemy and friendly players.


*****
Medic
*****

Medkit is in "slot1", and "+attack2" can also be used


*****
Sniper
*****

"+attack2" - Zoom the sniper rifle


***
Spy
***

disguise team class - Spy disguise : [team can be color, enemy or friendly]
eg: bind "x" "disguise enemy soldier"
cloak - Cloak - (replaces feign)
scloak - Silent Cloak - (replaces sfeign)
[You cannot run and jump/bunnyhop whilst cloaked]
sentrysabotage - Places sabotage unit on Sentry Gun
dispensersabotage - Places sabotage unit on Dispenser

The above commands can be accessed via the Spy's Radial Menu using "+attack2"


***
Available Binds
***


note - props to Aftershock for this.
Original page (better formatted): http://www.csnation.net/view.php/csi...indlisting.csn

Code:

bind listing
--------------------------------------------------------------------------------

Ingame Key Name (Binding)  -  Out of Game Key Name Notes

SPACE -  Space Bar 
CAPSLOCK -  Caps Lock 
ESCAPE -  Escape 
F1 -  F1 
F2 -  F2 
F3 -  F3 
F4 -  F4 
F5 -  F5 
F6 -  F6 
F7 -  F7 
F8 -  F8 
F9 -  F9 
F10 -  F10 
F11 -  F11 
F12 -  F12 
PAUSE -  Pause / System Break Key 
` -  Left Quote Also known as tilde (~)
- -  Hyphen (-) 
= -  Equals Sign 
BACKSPACE -  Backspace 
TAB -  Tab Key 
] -  Right Bracket 
\ -  Forward Slash 
SEMICOLON -  Semicolon (;) 
' -  Right Quote 
/ -  Back Slash 
SHIFT  - Shift Key 
ENTER -  Enter or Carriage Return Not Keypad
, Comma (,) 
CTRL -  Control Left and Right Control are considered the same keys ingame.
ALT -  Alt Left and Right ALT are consided the same keys ingame.
1 -  One 
2 -  Two 
3 -  Three 
4 -  Four 
5 -  Five 
6 -  Six 
7 -  Seven 
8 -  Eight 
9 -  Nine 
0 -  Zero 
A -  A 
B -  B 
C -  C 
D -  D 
E -  E 
F -  F 
G -  G 
H -  H 
I -  I 
J -  J 
K -  K 
L -  L 
M -  M 
N -  N 
O -  O 
P -  P 
Q -  Q 
R -  R 
S -  S 
T -  T 
U -  U 
V -  V 
W -  W 
X -  X 
Y -  Y 
Z -  Z 
UPARROW -  Up Arrow Not Keypad
DOWNARROW -  Down Arrow Not Keypad
RIGHTARROW -  Right Arrow Not Keypad
LEFTARROW -  Left Arrow Not Keypad
INS -  Insert Not Keypad
HOME -  Home Not Keypad
PGUP -  Page Up Not Keypad
PGDN -  Page Down Not Keypad
DEL -  Delete Not Keypad
END -  End Not Keypad
KP_HOME -  Keypad Home, 7 Keypad
KP_UPARROW -  Keypad Up Arrow, 8 Keypad
KP_PGUP -  Keypad Page Up, 9 Keypad
KP_LEFTARROW -  Keypad Left Arrow, 4 Keypad
KP_5 -  Keypad 5 Keypad
KP_RIGHTARROW -  Keypad Right Arrow, 6 Keypad
KP_END -  Keypad End, 1 Keypad
KP_DOWNARROW -  Keypad Down Arrow, 2 Keypad
KP_PGDN -  Keypad Page Down, 3 Keypad
KP_ENTER -  Keypad Enter Keypad
KP_INS -  Keypad Insert, 0 Keypad
KP_DEL -  Keypad Del, '.' Keypad
KP_SLASH -  Keypad Back Keypad
KP_MINUS -  Keypad Hyphen, - Keypad
KP_PLUS -  Keypad Plus, + Keypad
* -  Keypad Star, * Keypad
MOUSE1 -  Mouse Button 1 
MOUSE2 -  Mouse Button 2 
MOUSE3 -  Mouse Button 3 Middle button, if you have a 3 button mouse and it isnt working, try installing the latest drivers for your mouse and if your mouse software allows it, assign middle button to 'default' or 'middle button'.
MOUSE4 -  Mouse Button 4 You may need to either install or uninstall mouse drivers for this button to work.
MOUSE5 -  Mouse Button 5 You may need to either install or uninstall mouse drivers for this button to work.
MWHEELUP -  Mouse Wheel Up 
MWHEELDOWN - Mouse Wheel Down


StatisticZ 09-13-2007 08:59 PM

Nice! being able to have the SG aim towards where your crosshair is awesome!

Apathy 09-13-2007 09:05 PM

Thanks, nice to have some commands for FF without having to use the horrible source GUI.

mullen1200 09-14-2007 12:01 AM

How do I get a bind to work with commands that have spaces in them? I was trying to do bind [ disguise enemy soldier

but it gave me binding instructions, because it had spaces in it.. Thanks for help

Coma 09-14-2007 12:07 AM

bind [ "disguise enemy soldier"
or disguise "enemy soldier" (not sure, can't check)

4est 09-14-2007 01:20 AM

Nice work Goovyf. That is 1000% more readable than the stuff I threw together in the beta forums. You just saved a lot of people some work and confusion.

Doughnut-4|4- 09-14-2007 01:54 AM

Class Bind Tutorial
 
I know how to set binds in console but how do you set player specific binds? Edit the scripts, right? I'd love a tutorial.

I also noticed the console is hard bound to tilde. Can this be moved?

4est 09-14-2007 02:12 AM

Quote:

Originally Posted by Doughnut-4|4-
I know how to set binds in console but how do you set player specific binds? Edit the scripts, right? I'd love a tutorial.

I also noticed the console is hard bound to tilde. Can this be moved?

If you want specific commands/binds for each class, simply create the following:

demoman.cfg
engineer.cfg
hunted.cfg
hwguy.cfg
medic.cfg
pyro.cfg
scout.cfg
sniper.cfg
soldier.cfg
spy.cfg

Some ppl just throw all binds and aliases into autoexec.cfg. That works fine for most players.


If you want to make your life more difficult, Flamewave had a rather funky system of configs and learned to do this from his website. You have to create 3 new files, binds.cfg, settings.cfg and classdefault.cfg

binds.cfg - contains all non-specific binds
settings.cfg - contains all settings
classdefault.cfg - contains all aliases (almost all)

Nothing is in autoexec.cfg.

Each class config only contains class specific binds aliases and nothing else. They start with:

Code:

unbindall
exec binds.cfg
exec classdefault.cfg

unbindall - wipes out all keys ** DO NOT USE IF YOU DON'T KNOW WHAT YOU ARE DOING**
binds.cfg - has all general use binds
classdefault.cfg - contains all non-specific aliases

The last line in binds.cfg executes the settings.cfg file.
Code:

exec settings.cfg
Naturally, settings.cfg it only contains settings.
Here are the ones I'm using for some aliasing examples: http://www.4estgimp.com/HL2/FF/cfg.rar

*spy.cfg is NOT finished yet* and could cause issues.

Doughnut-4|4- 09-14-2007 03:55 AM

Where do these cfg files go? Can I just copy my tfc cfg files and alter a few binds?

arsenal 09-14-2007 04:05 AM

Steam\steamapps\SourceMods\FortressForever\cfg

element13 09-14-2007 04:32 AM

how bout some fps commands!? ;)

Marshmallow Noob 09-14-2007 04:43 AM

How do u make it where u don't die when u switch classes?

Ihmhi 09-14-2007 05:47 AM

Quote:

Originally Posted by Marshmallow Noob
How do u make it where u don't die when u switch classes?

An issue was lodged in another thread where it was said that an option for this does not exist in the GUI. There might be a cvar for it, but you would have to ask a dev about that.

tu! 09-14-2007 06:25 AM

does cl_autoreload 1 delay weapons like it does for autoreload scripts in tfc?

Red_Rabbit 09-14-2007 06:30 AM

Quote:

Originally Posted by Marshmallow Noob
How do u make it where u don't die when u switch classes?

cl_classautokill "1" that line is in the config, change it to 0

4est 09-14-2007 06:47 AM

Quote:

Originally Posted by tu!
does cl_autoreload 1 delay weapons like it does for autoreload scripts in tfc?

No. It's simply coded into the game.

Tarron 09-14-2007 08:46 AM

hay, wonder if anyone could help with my script

in my old tfc script i used this
Bind "1" "scout"
Bind "2" "sniper"
Bind "3" "soldier"
Bind "4" "demoman"
Bind "5" "medic"
Bind "6" "hwguy"
Bind "7" "pyro"
Bind "8" "spy"
Bind "9" "engineer"
Bind "0" "changeteam"
to change between players so the next time you died you'd swap to that class.
so what are the new commands to select a class?

to fix ive tried
bind x "changeclass;wait;slot3"
but that doesnt work as when you are on the change class menu it doesnt recognize slot1-0 as a selection, only the physical press of 1-0

groovyf 09-14-2007 08:56 AM

try simply bind "1" "class scout"

In console it should say you'll respawn as scout after next death (or similar)

Doughnut-4|4- 09-14-2007 09:02 AM

Spy Disguise Bind
 
For spy can someone tell me how to bind disguise enemy soldier to "x" please?

latimerinho 09-14-2007 09:06 AM

Looks like I'll be spending most of tonight creating cfg's for my classes then.

Thanks for the heads-up. This should be a useful reference - but most of the commands are the same as they were in TFC, so it should jog my memory a little..

Tarron 09-14-2007 09:20 AM

Quote:

Originally Posted by groovyf
try simply bind "1" "class scout"

In console it should say you'll respawn as scout after next death (or similar)


many thanks lol, feel dumb now ;D

groovyf 09-14-2007 09:35 AM

Quote:

Originally Posted by Doughnut-4|4-
For spy can someone tell me how to bind disguise enemy soldier to "x" please?

bind "x" "disguise enemy soldier" - would you believe it's as simple as that :)

latimerinho 09-14-2007 10:29 AM

I have a question, actually. I'm at work so I cannot check this at the moment but:

Is there a console command to display your Health & Armour like in TFC? It was %h and %a - can I assume it's the same?

Also, is there a 'location' bind as well?

For instance, "I have the flag with %h|%a at <map location>" - I noticed in the bottom left it displays the map locations, e.g. flag room etc, so I would assume there is a command for this?

Annnnd, if you want to bind F11 say, to load a cfg is it "bind "f11" exec "configname.cfg" ?

groovyf 09-14-2007 10:45 AM

Quote:

Originally Posted by latimerinho
Is there a console command to display your Health & Armour like in TFC? It was %h and %a - can I assume it's the same?

Also, is there a 'location' bind as well?

For instance, "I have the flag with %h|%a at <map location>" - I noticed in the bottom left it displays the map locations, e.g. flag room etc, so I would assume there is a command for this?

Annnnd, if you want to bind F11 say, to load a cfg is it "bind "f11" exec "configname.cfg" ?

Indeed there is: %l
%c also shows your class

Binding keys to exec cfgs is correct as your post.

[Edit: 1st post updated]

4est 09-14-2007 11:17 AM

"cl_ragdoll_deathview" "1"

// For a violent death view


The best command evar!

latimerinho 09-14-2007 11:33 AM

Just as I thought. Thanks.

Another question (the last one, I promise!) -

If I were to seperate commands, do you still use the semi-colon ';' character?

For instance:

Bind "Z" "saveme"; say_team "I need A Medic!" - just accompanies text with the sound.

groovyf 09-14-2007 11:58 AM

No need for the extra quote marks :)

bind "x" "engyme; say_team in need of Engy for armour! Armour: %a"

AfterShock 09-14-2007 12:05 PM

bah im dumb see post above

Thansal 09-14-2007 01:55 PM

heh, lets try this out:

Code:

alias spy1 "disguise enemy soldier; alias spyrotate spy2"
alias spy2 "disguise enemy Demoman; alias spyrotate spy3"
alias spy3 "disguise enemy Hwguy; alias spyrotate spy4"
alias spy4 "disguise enemy Medic; alias spyrotate spy5"
alias spy5 "disguise enemy Pyro; alias spyrotate spy6"
alias spy6 "disguise enemy Scout; alias spyrotate spy7"
alias spy7 "disguise enemy Sniper; alias spyrotate spy8"
alias spy8 "disguise enemy Spy; alias spyrotate spy1"

alias spyrotate spy1

Bind X spyrotate

Never disguise as the same class twice!

Obviously, taking out sniper is often a good idea. And you can mix it up as you see fit.

now here is my question. Is there a way to implement randomness into something?
an example in psudocode:
Code:

alias spy1 "disguise enemy soldier; alias spyrotate spyRandInt[1-8]"
thus making it all really random?

(if this is not doable I will probably just make a nice random generation for my self and make the list longer)

b0nes 09-14-2007 01:57 PM

can any1 tell me how to do a 1 key alias for build/det dispencer and build/dismantle/det sg pls

groovyf 09-14-2007 02:00 PM

Code:

alias buildsent "sentrygun; wait; bind x detsent"
alias detsent "detdismantlesentry; wait; bind x buildsent"
bind "x" "buildsent"

alias builddisp "dispenser; wait; bind  detdisp"
alias detdisp "detdispenser; wait; bind y builddisp"
bind "y" "builddisp"


Whit 09-14-2007 02:22 PM

A few questions about configs :p

Whats the command to set model detail to low? As when I change it in options next time I load FF it defaults to High.
Also what gives better fps trilinear or blininear? And whats the command for that? As that also defaults to Antisomeat 2X

On a side note does anyone have or plan to make a high fps config for those of us with shit PCs?

Does the wait; command still work the same as it did in tfc? (So I can remove/edit/add old tfc binds)

Is dropitems still the command to throw the flag?

Is messagemode record and stop record still the commands for demo recording?

And finally not a config question but which ATI drivers would anyone recommended for a Radeon 9700Pro to get the best performance for FF???

Thanks! :)

kongor 09-14-2007 05:56 PM

Quote:

Originally Posted by Whit
On a side note does anyone have or plan to make a high fps config for those of us with shit PCs?

I'd love to see something like this since i'm sure many of us would love to enjoy a steady framerate...

Something like this =D

PorkChopVII 09-14-2007 08:16 PM

Just now saw that it released, hate when i miss the exact momment when something releases.

Right now at work so havent been able to try it, but i do have time to convert some of my person cfgs that ive made from tfc, lot are transposed but then some i know i need to just update the commands.

Quick question
Is there going to be maps that will support up to 3+ teams, "other than hunted".
Reason why i ask is i got a huge file for my spy cfgs for quick access to any team disguise and was wondering how that will be handled in the script

will it be something like this:
"disguise green demoman"

or will be be something different. Sorry if this has been answered else where, trying to get caught up on all the features etc :D.

Thansal 09-14-2007 08:24 PM

yus.

one of the devs said that it works as such:
Disguise enemy/friendly/colour Class

enemy apparently borks on maps with more then red/blue, so you have to use the colour.

PorkChopVII 09-14-2007 08:27 PM

Thank you for confirming that for me ^_^

Digital_Ghost 09-14-2007 09:59 PM

Is there any vox cmds, using the "speak"command from TFC that can be used?

Just curious, the spy disguise cycler i use for TFC "speaks" a word related to that class when i select it, so i know which one i have qued up, then i have another button i press that wil actully switch to that disguise speaking a differnt word letting me know its set.

for example; when i cycle through, when it selects, scout, it speaks lieutenant, guard for sniper, soldier for soldier, atomic for demo. when i actuly set the guise the other button will speak the word "armed".

I'm in the process of converting my current config over and that basicly the last piece of info i'm trying to find out for the vox.

Dospac 09-14-2007 10:05 PM

Yes, just put the correct path to the vox in your config. There are 3 different vox sets, so you have to add the right directory in the speak config lines. There's a post from mervaka on how exactly it should look somewhere.. If you just look in the game directory where the vox is, you should be able to figure it out. Otherwise search by posts he's made. =D

*edit bah did it myself :P*

http://www.fortress-forever.com/foru...90&postcount=3

Digital_Ghost 09-14-2007 10:10 PM

sweet! thats for the fast replay. i'll look into as asap.


PS- LOVE THE GAME! i woulda posted th love for it and the question yesterday but i was to busy playing! Excellent piece of work you guys pulled off! cheers!



Edit- Love the fact that there is class specific "speak" words. works so much better.

beef_jerky 09-14-2007 10:50 PM

Quote:

Originally Posted by groovyf
The above commands can all be accessed via the Engineer's "Radial Menu": +medengymenu - Engineer and Medic radial menu

I think that you mean +attack2, havn't checked to be sure but i think +medengymenu is the thing to ask for armor/health.


All times are GMT. The time now is 03:07 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.