Join us on our TWC Discord channel

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic 01 - Simple binds
#1
Basic 02 - Advanced binds 1

Since this is you're first tutorial on making a CFG you should know how to save it:

First you open a textfile with notepad or notepad++
Then you make you're cfg (explained how to in the following tutorials) and save it as name.cfg in your etmain of your wolfenstein installation.
name can be any name you want to.
Wolfenstein automaticly executes the following file: autoexec.cfg so saving it as autoexec.cfg in your etmain is a good thing to do: You don't have to execute your cfg on startup.

Now to create a very simple cfg with 2 binds you need to write the following in the .cfg file

bind key say "Text"
bind means its a bind (duh)
key you need to bind a key to use it, most of the cfg users use their F-keys to bind stuff to
say "Text" this says Text, say will just shout out everything between the 2 "s

to say Hi! when you press F3 you should have this in your cfg:

autoexec.cfg
Code:
bind F3 say "Hi!"

Thanks for reading the first part on how to make a cfg!

All keys:
Code:
Alphabet: A-Z Numbers: 0-9 Function keys: F1-F12 Punctuation: -[]/'.,;~= SPACE, TAB, SHIFT, CTRL, ALT, ENTER, BACKSPACE, PAUSE Arrow keys: UPARROW, DOWNARROW, LEFTARROW, RIGHTARROW INS, HOME, PGUP, DEL, END, PGDN Numeric keypad: KP_HOME, KP_SLASH, *, KP_MINUS, KP_UPARROW, KP_DOWNARROW, KP_LEFTARROW, KP_RIGHTARROW, KP_PGUP, KP_5, KP_PLUS, KP_ENTER, KP_END, KP_PGDN, KP_INS, KP_DEL Mouse buttons: Left mouse button: MOUSE1 Right mouse button: MOUSE2 Middle mouse button: MOUSE3 More mouse buttons: MOUSE4/MOUSE5 (some mice have extra buttons) Mousewheel scroll up: MWHEELUP Mousewheel scroll down: MWHEELDOWN


Attached Files
.cfg   tutorial1.cfg (Size: 96 bytes / Downloads: 26)
"If you tell the truth, you don't have to remember anything."
#2
is numpad also compatible with keybinds
[Image: signature.jpg]
You can ask me for a Personal Signature image i will create u one for free Smile
#3
John Wrote:
Code:
Numeric keypad: KP_HOME, KP_SLASH, *, KP_MINUS, KP_UPARROW, KP_DOWNARROW, KP_LEFTARROW, KP_RIGHTARROW, KP_PGUP, KP_5, KP_PLUS, KP_ENTER, KP_END, KP_PGDN, KP_INS, KP_DEL
"If you tell the truth, you don't have to remember anything."
#4
Thanks Smile
[Image: signature.jpg]
You can ask me for a Personal Signature image i will create u one for free Smile


Possibly Related Threads…
Thread Author Replies Views Last Post
  Basic 07 - Comment lines John 0 4,092 21-02-2012, 06:12 PM
Last Post: John
  Basic 06 - Mod cfg John 0 4,554 21-02-2012, 06:11 PM
Last Post: John
  Basic 05 - Multiple cfg's John 0 4,150 21-02-2012, 06:11 PM
Last Post: John
  Basic 04 - Settings John 0 4,656 21-02-2012, 06:10 PM
Last Post: John
  Basic 03 - Advanced binds 2 John 0 4,427 21-02-2012, 06:09 PM
Last Post: John

Forum Jump:


Users browsing this thread: