Author Topic: How to create a .CFG on Windows OS  (Read 10158 times)

St. Vrayne

  • Guest
How to create a .CFG on Windows OS
« on: August 05, 2008, 05:01:30 am »
Not much, but since Ozzy's got the party started I'll add my own little piece.

Here is how you create a .cfg for Windows.

Step 1 - First of all, open up Notepad, which should come standard for all Windows users.

Step 2 - Add the commands, which people usually mooch off of others for.

   **Here's how to add those:

           **Example**

           Step A - Type exactly this into your Notepad document:  bind 1 "sell weapons;sell upgrades;buy rifle"

           That bind will allow you to sell all of your upgrades, which are your Light armour and Helmet.  It will also allow you to sell your grenade, and the current
           weapon you are holding.

Step 2.5 - Here is a list of commands of which I use, and you can paste them into your Notepad document for a fast and easy to use ".CFG."

bind 1 "sell weapons;sell upgrades;buy mdriver;buy larmour;buy helmet;buy battpack;echo ^9Mass Driver"
bind 2 "sell weapons;sell upgrades;buy shotgun;buy larmour;buy helmet;echo ^9Shotgun"
bind 4 "sell weapons;sell upgrades;buy chaingun;buy larmour;buy helmet;echo ^9Chaingun"
bind 5 "sell weapons;sell upgrades;buy rifle;buy larmour;buy helmet;echo ^9Rifle"
bind 6 "sell weapons;sell upgrades;buy lcannon;buy larmour;buy helmet;buy battpack;echo ^9Lucifer Cannon"
bind 7 "sell weapons;sell upgrades;buy chaingun;buy bsuit;echo ^9Chainsuit"
bind 8 "sell weapons;sell upgrades;buy lgun;buy larmour;buy helmet;buy battpack;echo ^9Lasgun"
bind 9 "sell weapons;sell upgrades;buy prifle;buy larmour;buy helmet;buy battpack;echo ^9Pulse Rifle"
bind f5 "exec name.cfg"
bind h "say_team Flank!"
bind u "say_team Incoming Main!"
bind i "say_team Incoming Alt.!"
bind o "say_team Move back team."
bind p "say_team I'm falling back!"
bind n "say_team Move up team."
bind m "say_team Enemy Overmind is Down!"
bind . "say_team Grenade!"
bind , "say_team Start building!"
bind g "say_team Roger that."
bind a "+moveleft;boost"
bind s "+back;boost"
bind d "+moveright;boost"
bind w "+forward;boost"
bind 3 "+button2"
bind mouse1 "+attack"
bind z "+zoom"
bind shift "+speed"
bind r "reload"
bind f "+button3"
bind b "buy ammo"
bind v "give all"
bind q "+button7"
bind e "deconstruct"
bind f1 "vote yes"
bind f2 "vote no"
bind f9 "!lock a;!lock h"
bind f10 "!unlock a;!unlock h"
bind f11 "screenshot"
bind mouse2 "+button5"

Step 4 - As soon as you have added those binds into your Notepad document, you should now save it to your Tremulous Base folder, which by default should be found in the folder in which you have your icon to launch the Tremulous program.  The name you save it under MUST BE human.cfg.  With no quotes, nothing.  That is my human.cfg. 

Step 5 - Learn and customize.  At this step, you should have created a Notepad document, have a complete list of binds to create what is called a .CFG, saved it to your base folder inside your Tremulous folder, and saved it as human.cfg.

Now you can learn the binds in which you have installed, and customize them to your needs and benefit.  It is also highly recommended that you bind a key in-game, outside of the .CFGs that will execute them, so that you don't have to type "/exec human.cfg" everytime you play on the human team.  For a suitable key, you can use the "[" key for your human .CFG, and "]" for your alien .CFG, and "\" for your spec.cfg.

In order to do the above, you must type into the console /bind [ "exec human.cfg"

Here are the alien.cfg and spec.cfgs:

Alien:

bind 1 "class level1;echo ^3Basilisk"
bind 2 "class level1upg;echo ^3Advanced Basilisk"
bind 4 "class level2;echo ^3Marauder"
bind 5 "class level2upg;echo ^3Advanced Marauder"
bind 6 "class level3;echo ^3Dragoon"
bind 7 "class level3upg;echo ^3Advanced Dragoon"
bind 8 "class level4;echo ^3Tyrant"
bind h "say_team Go flank them!"
bind u "say_team Incoming Main."
bind i "say_team Incoming Alt."
bind o "say_team Move back team."
bind p "say_team I'm falling back."
bind n "say_team Move up team."
bind m "say_team Enemy Reactor Down!"
bind . "say_team Grenade! Haul ass outta there!"
bind , "say_team Their base is weak, finish 'em off!"
bind a "+moveleft"
bind s "+back"
bind d "+moveright"
bind w "+forward"
bind f5 "exec name.cfg"
unbind 0
unbind -
bind f "+button3"
bind g "say_team Roger that."
bind mouse1 "+attack"
bind mouse2 "+button5"
bind v "give all"
bind 3 "+button2"
bind e "deconstruct"
bind f1 "vote yes"
bind f2 "vote no"
bind f9 "!lock a;!lock h"
bind f10 "!unlock a;!unlock h"
bind f11 "screenshot"
bind q "+button7"
bind shift "+speed"

Save as alien.cfg

For the in-game bind, please type into the console, as directed before: /bind ] "exec alien.cfg"

Spectator:

unbindall
bind \ "team spectate;exec spec.cfg"
bind a "+moveleft"
bind s "+back"
bind d "+moveright"
bind w "+forward"
bind t "messagemode"
bind y "messagemode2"
bind f5 "exec name.cfg"
bind space "+moveup"
bind c "+movedown"
bind 3 "+button2"
bind MWHEELUP "weapprev"
bind MWHEELDOWN "weapnext"
bind tab "+scores"
bind [ "team humans;exec human.cfg"
bind ] "team aliens;exec alien.cfg"
bind f1 "vote yes"
bind f2 "vote no"
bind f9 "!lock a;!lock h"
bind f10 "!unlock a;!unlock h"
bind f11 "screenshot"

Save as spec.cfg

For the in-game bind, please type in to the console, as directed before: /bind \ "exec spec.cfg"

If you have any questions or comments, just contact me here, or you can reach me in-game under this name.  Please add constructive criticism.

Thanks go to the community for helping me gain knowledge of these binds and helping me to prevail in creating this guide.

Lava Croft

  • Guest
Re: How to create a .CFG on Windows OS
« Reply #1 on: August 05, 2008, 07:54:55 am »
You forgot something like this, King.

Oh, and this.
« Last Edit: August 05, 2008, 07:56:48 am by Lava Croft »

St. Vrayne

  • Guest
Re: How to create a .CFG on Windows OS
« Reply #2 on: August 06, 2008, 03:19:03 am »
Ok, thanks for the tips.  I just wanted the main point to be how to create a .CFG, not exactly go into detail like that.  But I'll go ahead and try to incorporate something like that, if it's alright with you if I use your .CFG as an example, as well as Ryan's.

Trigfunction

  • Posts: 37
  • Turrets: +5/-3
Re: How to create a .CFG on Windows OS
« Reply #3 on: August 06, 2008, 09:34:32 pm »
Good guide, was wondering though.

ive been using notepad and i go to file-save as- then i type in human and i think you mean i need to change file type to .cfg but i only have .txt and "allfiles" the closest i ahve gotten is typing in human.cfg creating human.cfg.txt

solved it by making copys of autoexec and pasting in there.

still dont know how to create on though, persay

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: How to create a .CFG on Windows OS
« Reply #4 on: August 06, 2008, 10:51:31 pm »
Good guide, was wondering though.

ive been using notepad and i go to file-save as- then i type in human and i think you mean i need to change file type to .cfg but i only have .txt and "allfiles" the closest i ahve gotten is typing in human.cfg creating human.cfg.txt

solved it by making copys of autoexec and pasting in there.

still dont know how to create on though, persay

Choose "allfiles" and put those
Code: [Select]
" around it: "filename.cfg"

St. Vrayne

  • Guest
Re: How to create a .CFG on Windows OS
« Reply #5 on: August 07, 2008, 03:04:41 am »
Thanks Bissig!