[DIABOLIK]MOZILLA
17-10-2010, 18:05
How to get started in scripting
To start using more (or not) etconfig.cfg file located in the profile folder: This file resets itself if the content exceeds 16KB.
We'll create another file called autoexec.cfg which is located in the folder etmain and which, as its name implies, will run automatically whenever you start the game
Create your autoexec.cfg
To create your file, you simply create a text document that you rename it. Cfg.
If you do not see the extension, do not panic! Record directly into your text document. Cfg.
If complications arise, do not break your head and copy / rename your autoexec.cfg etconfig.cfg in that you put in your file etmain.
I advise you to do your config once completed.
Open and edit the file using any text editor: Notepad (Notepad), Wordpad, ...
The game does not like big files, so if you exceed 16KB you may need to run it manually as follows:
In the game, open the console using the tilde key and type the following command:
* / Exec autoexec.cfg
When executing a file extension. Cfg is not compulsory.
Difference. Cfg and console
In the console:
/ Command
In. Cfg file:
command
To set and bind to more than one command you must enclose the quotation marks, as follows:
bind X "Say Hi; vstr haha"
The Binds
To assign your keys ...
Type in your cfg:
Code:
unbindall / / To reset all the keys
/ * Movement * /
bind X "forward" / / Forward
bind X "back" / / Backward
bind X "moveleft" / / Left
bind X "MoveRight" / / Right
bind X "sprint" / / ran
bind X "moveup" / / Jump
bind X "movedown" / / Crouch
bind X "prone" / / Lie
bind X "leanleft" / / Lean Left
bind X "leanright" / / Lean right
bind X "activate" / / Use
/ * Weapons * /
bind X "attack" / / Pull
bind X "reload" / / Reload
bind X "weapalt" / / Weapon alternative
bind X "weapnext" / / Next Weapon
bind X "weapprev" / / Weapon previous
bind X "zoom" / / Binoculars
bind X "weaponbank 1" / / Knife
bind X "weaponbank 2" / / Secondary weapon
bind X "weaponbank 3" / / Primary Weapon
bind X "weaponbank 4" / / Grenades
bind X "weaponbank 5" / / Dynamite, AirStrike, Syringe
bind X "weaponbank 6" / / Ammo, Medic, Pliers, Satchel
bind X "weaponbank 7" / / Mining / Adrenaline
/ * General * /
bind X "kill; forcetapout" / / Final Suicide
bind X "toggleconsole" / / Console
bind X "togglemenu" / / Menu
bind X "openlimbomenu" / / Menu Limbo
bind X "stats" / / Player Stats
bind X "scores" / / Players List
bind X "mapexpand" / / Display the map
bind X "record" / / Start recording
bind X "stoprecord" / / Stop recording
bind X "screenshotJPEG" / / Take a screen as JPEG
/ * Votes *
bind X "vote yes" / / Vote yes
bind X "vote no" / / vote no
bind X "ready" / / Ready
bind X "unready" / / Not ready
/ * Teams *
bind X "vstr axis"
bind X "vstr allies"
Set axis "team r; echo ^ 1 - ^ 7Axis"
Set Allies "team b; echo ^> - ^ 7Allies"
/ * Classes * /
bind X1 "vstr medic"
bind X2 "vstr engi"
X3 bind 'vstr fdop "
bind X4 "vstr Panzer"
bind X5 "vstr sten"
set medic "class m ^ 2 echo. 7medic ^ ^ 2 (^ 7MP40 ^ 2 / ^ ^ 7THOMPSON 2)"
Set Engi "class e 1; echo ^ 3. 7engi ^ ^ 3 (^ 7MP40 ^ 3 / ^ ^ 7THOMPSON 3); bind X2" vstr rifle ""
Set rifle "class e 2; echo ^ 3. 7engi ^ ^ 3 (^ 7K43 ^ 3 / ^ ^ 7GARAND 3); bind X2" vstr engi ""
Set fdop "class f; echo ^ 1. 7fdop ^ ^ 1 (^ ^ 7MP40 1 / ^ ^ 7THOMPSON 1)"
Set Panzer "class s 4; echo ^ 0. 7soldier ^ ^ 0 (^ ^ 7PANZERFAUST 0); bind X4" vstr mg ""
set mg "class s 2; echo ^ 0. 7soldier ^ ^ 0 (^ ^ MG42 7MOBILE 0); bind X4" vstr flame ""
Set flame "class s 3; echo ^ 0. 7soldier ^ ^ 0 (^ ^ 7FLAMETHROWER 0); bind X4" vstr mortar ""
Set mortar "class s 5; echo ^ 0. 7soldier ^ ^ 0 (^ ^ 7MORTAR 0); bind X4" vstr Panzer ""
Set sten "class c 1; echo ^ 6. 7covop ^ ^ 6 (^ ^ 7STEN 6); bind X5" vstr fg ""
set fg "class c 2; echo ^ 6. 7covop ^ ^ 6 (^ ^ 7FG42 6); bind X5" vstr sniper ""
Set snipe "class c 3; echo ^ 6. 7covop ^ ^ 6 (^ 7K43 ^ 6 / ^ ^ 7GARAND 6); bind X5" vstr sten "
/ * * Spawns /
bind X "setspawnpt 0; echo ^ 1 [^ ^ 7Default 1]
bind X "setspawnpt 1; echo ^ 1 [^ 7BS-Adler/BS-Frost]"
bind X "setspawnpt 2; echo ^ 1 [^ 7BS-Grush (Allies) ^ 1 / ^ 7BS-Braun (Axis) ^ 1]"
bind X "setspawnpt 3; echo ^ 1 [^ 7Allied Spawn (Goldrush) ^ 1]"
bind X "setspawnpt 4; echo ^ 1 [^ 7Forward Hut ^ 4 / ^ ^ 7CP-supply 1 / ^ ^ 7CP-Braun 1]
bind X "setspawnpt 5; echo ^ 1 [^ ^ 7CP 4 / ^ 7BS ^ 1 / ^ ^ 7BS-Supply 1 / ^ 7BS-Grush (Axis) ^ 1 / ^ ^ 1 7CP-Radar]"
/ * * Fire Team /
Bind X "mp_fireteamadmin" / / Handle the fireteam
Bind X "selectbuddy 0" / / Select the member number 0.
Bind X "selectbuddy 1" / / Select the member 1.
Bind X "selectbuddy 2" / / Select the member 2.
Bind X "selectbuddy 3" / / Select the member 3.
Bind X "selectbuddy 4" / / Select the member 4.
Bind X "selectbuddy 5" / / Select the member 5.
Bind X "selectbuddy 6" / / Select the member 6.
Bind X "selectbuddy 7" / / Select the member 7.
/ * Chat * /
Bind X "messagemode" / / Send a message to all.
Bind X "messagemode2" / / Send a message to your team.
Bind X "messagemode3" / / Send a message to your fireteam.
Bind X "mp_fireteammsg" / / Send a voice message to your team.
Bind X "mp_quickmessage" / / Send a voice message
Obviously you replace X with the keys you want
Keys "Bindable"
If you give functions to keys, it is important to know how these keys must be specified.
Function Keys
F1 / F1
F2 / f2
F3 / f3
F4 / F4
F5 / F5
F6 / F6
F7 / F7
F8 / f8
F9 / F9
F10 / f10
F11 / F11
F12 / f12
Navigation keys
Ins / ins
Home / home
Page Up / PgUp
Page Down / PgDn
Del / del
End / end
[Edit]
Arrow keys
Up / uparrow
Low / Downarrow
Left / leftarrow
left / rightarrow
[Edit]
Keypad
0 / kp_ins
1 / kp_end
2 / kp_downarrow
3 / kp_pgdn
4 / kp_leftarrow
5 / kp_5
6 / kp_rightarrow
7 / kp_home
8 / kp_uparrow
9 / kp_pgup
Point / kp_del
Between / kp_enter
Plus / kp_plus
Less / kp_minus
Asterisk / *
Slash / kp_slash
Mouse
Left button / mouse1
Right / Mouse2
Middle button / mouse3
Roulette Scroll Up / mwheelup
Scroll Down Roulette / mwheeldown
Alphabetic keys
y / y
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
Numeric keys
0 / 0
1 / 1
2 / 2
3 / 3
4 / 4
5 / 5
6 / 6
7 / 7
8 / 8
9 / 9
Other
Caps Lock / capslock
Pause / Break
Tab / tab
Between / enter
Space / space
Single / quote '
Hyphen / -
Slash / /
Semicolon / semicolon
Egal / =
Left quote / [
Guillement right /]
Backslash /
Point /,
Period /.
Alt / alt
Ctrl / ctrl
Shift / shift
Escape / esc
Attention to the keys "A", "Q", "Z" and "W" if the game settings are set to "English".
there are several resolutions: 1280x1024 for me: 1009:
: 1009: fov went into the console: / cg_fov 90 by default and can go up to 120 I for one am 108: 1009:
: 1009: fps: / com_maxfps 125 and the meter / cl_maxpackets 100: 1009:
: 1009: there are also the spleen: / rate 45000, it will depend on seveur: 1009:
1> Copy paste into notepad config
2> Save the file by adding. Cfg to the name (not important)
3> Place the file in the Etmain (Program Files> Wolfenstein: Enemy Territory> Etmain)
4-To use type in game / exec nomdufichier.cfg in the console (the tilde key)
Écouter
Lire phonétiquement
To start using more (or not) etconfig.cfg file located in the profile folder: This file resets itself if the content exceeds 16KB.
We'll create another file called autoexec.cfg which is located in the folder etmain and which, as its name implies, will run automatically whenever you start the game
Create your autoexec.cfg
To create your file, you simply create a text document that you rename it. Cfg.
If you do not see the extension, do not panic! Record directly into your text document. Cfg.
If complications arise, do not break your head and copy / rename your autoexec.cfg etconfig.cfg in that you put in your file etmain.
I advise you to do your config once completed.
Open and edit the file using any text editor: Notepad (Notepad), Wordpad, ...
The game does not like big files, so if you exceed 16KB you may need to run it manually as follows:
In the game, open the console using the tilde key and type the following command:
* / Exec autoexec.cfg
When executing a file extension. Cfg is not compulsory.
Difference. Cfg and console
In the console:
/ Command
In. Cfg file:
command
To set and bind to more than one command you must enclose the quotation marks, as follows:
bind X "Say Hi; vstr haha"
The Binds
To assign your keys ...
Type in your cfg:
Code:
unbindall / / To reset all the keys
/ * Movement * /
bind X "forward" / / Forward
bind X "back" / / Backward
bind X "moveleft" / / Left
bind X "MoveRight" / / Right
bind X "sprint" / / ran
bind X "moveup" / / Jump
bind X "movedown" / / Crouch
bind X "prone" / / Lie
bind X "leanleft" / / Lean Left
bind X "leanright" / / Lean right
bind X "activate" / / Use
/ * Weapons * /
bind X "attack" / / Pull
bind X "reload" / / Reload
bind X "weapalt" / / Weapon alternative
bind X "weapnext" / / Next Weapon
bind X "weapprev" / / Weapon previous
bind X "zoom" / / Binoculars
bind X "weaponbank 1" / / Knife
bind X "weaponbank 2" / / Secondary weapon
bind X "weaponbank 3" / / Primary Weapon
bind X "weaponbank 4" / / Grenades
bind X "weaponbank 5" / / Dynamite, AirStrike, Syringe
bind X "weaponbank 6" / / Ammo, Medic, Pliers, Satchel
bind X "weaponbank 7" / / Mining / Adrenaline
/ * General * /
bind X "kill; forcetapout" / / Final Suicide
bind X "toggleconsole" / / Console
bind X "togglemenu" / / Menu
bind X "openlimbomenu" / / Menu Limbo
bind X "stats" / / Player Stats
bind X "scores" / / Players List
bind X "mapexpand" / / Display the map
bind X "record" / / Start recording
bind X "stoprecord" / / Stop recording
bind X "screenshotJPEG" / / Take a screen as JPEG
/ * Votes *
bind X "vote yes" / / Vote yes
bind X "vote no" / / vote no
bind X "ready" / / Ready
bind X "unready" / / Not ready
/ * Teams *
bind X "vstr axis"
bind X "vstr allies"
Set axis "team r; echo ^ 1 - ^ 7Axis"
Set Allies "team b; echo ^> - ^ 7Allies"
/ * Classes * /
bind X1 "vstr medic"
bind X2 "vstr engi"
X3 bind 'vstr fdop "
bind X4 "vstr Panzer"
bind X5 "vstr sten"
set medic "class m ^ 2 echo. 7medic ^ ^ 2 (^ 7MP40 ^ 2 / ^ ^ 7THOMPSON 2)"
Set Engi "class e 1; echo ^ 3. 7engi ^ ^ 3 (^ 7MP40 ^ 3 / ^ ^ 7THOMPSON 3); bind X2" vstr rifle ""
Set rifle "class e 2; echo ^ 3. 7engi ^ ^ 3 (^ 7K43 ^ 3 / ^ ^ 7GARAND 3); bind X2" vstr engi ""
Set fdop "class f; echo ^ 1. 7fdop ^ ^ 1 (^ ^ 7MP40 1 / ^ ^ 7THOMPSON 1)"
Set Panzer "class s 4; echo ^ 0. 7soldier ^ ^ 0 (^ ^ 7PANZERFAUST 0); bind X4" vstr mg ""
set mg "class s 2; echo ^ 0. 7soldier ^ ^ 0 (^ ^ MG42 7MOBILE 0); bind X4" vstr flame ""
Set flame "class s 3; echo ^ 0. 7soldier ^ ^ 0 (^ ^ 7FLAMETHROWER 0); bind X4" vstr mortar ""
Set mortar "class s 5; echo ^ 0. 7soldier ^ ^ 0 (^ ^ 7MORTAR 0); bind X4" vstr Panzer ""
Set sten "class c 1; echo ^ 6. 7covop ^ ^ 6 (^ ^ 7STEN 6); bind X5" vstr fg ""
set fg "class c 2; echo ^ 6. 7covop ^ ^ 6 (^ ^ 7FG42 6); bind X5" vstr sniper ""
Set snipe "class c 3; echo ^ 6. 7covop ^ ^ 6 (^ 7K43 ^ 6 / ^ ^ 7GARAND 6); bind X5" vstr sten "
/ * * Spawns /
bind X "setspawnpt 0; echo ^ 1 [^ ^ 7Default 1]
bind X "setspawnpt 1; echo ^ 1 [^ 7BS-Adler/BS-Frost]"
bind X "setspawnpt 2; echo ^ 1 [^ 7BS-Grush (Allies) ^ 1 / ^ 7BS-Braun (Axis) ^ 1]"
bind X "setspawnpt 3; echo ^ 1 [^ 7Allied Spawn (Goldrush) ^ 1]"
bind X "setspawnpt 4; echo ^ 1 [^ 7Forward Hut ^ 4 / ^ ^ 7CP-supply 1 / ^ ^ 7CP-Braun 1]
bind X "setspawnpt 5; echo ^ 1 [^ ^ 7CP 4 / ^ 7BS ^ 1 / ^ ^ 7BS-Supply 1 / ^ 7BS-Grush (Axis) ^ 1 / ^ ^ 1 7CP-Radar]"
/ * * Fire Team /
Bind X "mp_fireteamadmin" / / Handle the fireteam
Bind X "selectbuddy 0" / / Select the member number 0.
Bind X "selectbuddy 1" / / Select the member 1.
Bind X "selectbuddy 2" / / Select the member 2.
Bind X "selectbuddy 3" / / Select the member 3.
Bind X "selectbuddy 4" / / Select the member 4.
Bind X "selectbuddy 5" / / Select the member 5.
Bind X "selectbuddy 6" / / Select the member 6.
Bind X "selectbuddy 7" / / Select the member 7.
/ * Chat * /
Bind X "messagemode" / / Send a message to all.
Bind X "messagemode2" / / Send a message to your team.
Bind X "messagemode3" / / Send a message to your fireteam.
Bind X "mp_fireteammsg" / / Send a voice message to your team.
Bind X "mp_quickmessage" / / Send a voice message
Obviously you replace X with the keys you want
Keys "Bindable"
If you give functions to keys, it is important to know how these keys must be specified.
Function Keys
F1 / F1
F2 / f2
F3 / f3
F4 / F4
F5 / F5
F6 / F6
F7 / F7
F8 / f8
F9 / F9
F10 / f10
F11 / F11
F12 / f12
Navigation keys
Ins / ins
Home / home
Page Up / PgUp
Page Down / PgDn
Del / del
End / end
[Edit]
Arrow keys
Up / uparrow
Low / Downarrow
Left / leftarrow
left / rightarrow
[Edit]
Keypad
0 / kp_ins
1 / kp_end
2 / kp_downarrow
3 / kp_pgdn
4 / kp_leftarrow
5 / kp_5
6 / kp_rightarrow
7 / kp_home
8 / kp_uparrow
9 / kp_pgup
Point / kp_del
Between / kp_enter
Plus / kp_plus
Less / kp_minus
Asterisk / *
Slash / kp_slash
Mouse
Left button / mouse1
Right / Mouse2
Middle button / mouse3
Roulette Scroll Up / mwheelup
Scroll Down Roulette / mwheeldown
Alphabetic keys
y / y
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
Numeric keys
0 / 0
1 / 1
2 / 2
3 / 3
4 / 4
5 / 5
6 / 6
7 / 7
8 / 8
9 / 9
Other
Caps Lock / capslock
Pause / Break
Tab / tab
Between / enter
Space / space
Single / quote '
Hyphen / -
Slash / /
Semicolon / semicolon
Egal / =
Left quote / [
Guillement right /]
Backslash /
Point /,
Period /.
Alt / alt
Ctrl / ctrl
Shift / shift
Escape / esc
Attention to the keys "A", "Q", "Z" and "W" if the game settings are set to "English".
there are several resolutions: 1280x1024 for me: 1009:
: 1009: fov went into the console: / cg_fov 90 by default and can go up to 120 I for one am 108: 1009:
: 1009: fps: / com_maxfps 125 and the meter / cl_maxpackets 100: 1009:
: 1009: there are also the spleen: / rate 45000, it will depend on seveur: 1009:
1> Copy paste into notepad config
2> Save the file by adding. Cfg to the name (not important)
3> Place the file in the Etmain (Program Files> Wolfenstein: Enemy Territory> Etmain)
4-To use type in game / exec nomdufichier.cfg in the console (the tilde key)
Écouter
Lire phonétiquement