Skip to content

Commit

Permalink
Adjusted configs to format expected by launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
rzaba0 committed Oct 4, 2020
1 parent 8376ae7 commit 73d9333
Show file tree
Hide file tree
Showing 8 changed files with 108 additions and 92 deletions.
36 changes: 36 additions & 0 deletions client/configs/bindings.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
"bind" "ALT+0" "say ""Stick around!"""
"bind" "ALT+1" "smoke"
"bind" "ALT+2" "tabac"
"bind" "ALT+3" "takeoff"
"bind" "ALT+4" "victory"
"bind" "ALT+5" "say ""What the hell are you?"""
"bind" "ALT+6" "say ""If it bleeds, we can kill it"""
"bind" "ALT+7" "say ""I'm gonna have me some fun!"""
"bind" "ALT+8" "say ""Bleed, bastard."""
"bind" "ALT+9" "say ""Medic!"""
"bind" "ALT+A" "say ""Die!"""
"bind" "ALT+B" "say ""Son of a bitch!"""
"bind" "ALT+C" "say ""It's over Johnny"""
"bind" "ALT+D" "say ""Anytime..."""
"bind" "ALT+E" "say ""No!"""
"bind" "ALT+F" "say ""Yes, Sir!"""
"bind" "ALT+G" "say ""I'll be back!"""
"bind" "ALT+H" "say ""Get the flag!"""
"bind" "ALT+I" "say ""OK"""
"bind" "ALT+J" "say ""Help!"""
"bind" "ALT+K" "say ""Sniper!"""
"bind" "ALT+L" "say ""Heavy Machine Gun ahead!"""
"bind" "ALT+M" "say ""Take Cover!"""
"bind" "ALT+N" "say ""I need backup!"""
"bind" "ALT+O" "say ""Follow me!"""
"bind" "ALT+P" "say ""Kiss the ground soldier!"""
"bind" "ALT+Q" "say ""On your feet soldier!"""
"bind" "ALT+R" "say ""Come on!"""
"bind" "ALT+S" "say ""Yeah"""
"bind" "ALT+T" "say ""Return the flag!"""
"bind" "ALT+U" "say ""Hurraaaa!!!"""
"bind" "ALT+V" "say ""I am the law!"""
"bind" "ALT+W" "say ""Engage at will!!!"""
"bind" "ALT+X" "say ""I ain't got time to bleed!"""
"bind" "ALT+Y" "say ""You're one ugly mother fu**er!"""
"bind" "ALT+Z" "say ""Got it!"""
62 changes: 6 additions & 56 deletions client/configs/client.cfg
Original file line number Diff line number Diff line change
@@ -1,58 +1,8 @@
// First unbind every key
unbindall
// Set default binds
bind "A" "+left"
bind "D" "+right"
bind "W" "+jump"
bind "S" "+crouch"
bind "X" "+prone"
bind "MOUSE1" "+fire"
bind "MOUSE3" "+jet"
bind "Q" "+changeweapon"
bind "R" "+reload"
bind "F" "+dropweapon"
bind "E" "+throwgrenade"
bind "T" "+chat"
bind "Y" "+teamchat"
bind "V" "+radio"
bind "TAB" "+weapons"
bind "F1" "+fragslist"
bind "F2" "+statsmenu"
bind "F3" "+minimap"
bind "F4" "screenshot"
bind "/" "+cmd"
bind "ALT+F3" "+gamestats"
// Taunt test bind
// Available modifiers: ALT, CTRL, SHIFT (can be used together like CTRL+ALT+KEY)
// List of key names: https://wiki.libsdl.org/SDL_Keycode
bind "ALT+B" "say ""Test"""
// Toggle test
bind "F5" "toggle r_renderui 1 0"
// Alias test
alias "ctf1" "echo ""Connecting to ZAB CTF #1"";connect 138.201.55.232 25140"
bind "F6" "ctf1"

// Set in-game nick and gostek settings
cl_player_name "Major"
cl_player_skin "$008f8f8f"
cl_player_shirt "$008f8f8f"
cl_player_pants "$008f8f8f"
cl_player_jet "$008f8f8f"
cl_player_hairstyle "1"
cl_player_headstyle "1"
cl_player_chainstyle "1"
cl_player_secwep "1"

// Set window mode (0 = window, 1 = fullscreen, 2 = fullscreen window)
r_fullscreen 0
// Set window width & height - Change it to own dimensions (only r_screen* cvars)
r_renderwidth "0"
r_renderheight "0"
r_screenwidth "0"
r_screenheight "0"

// sound volume %
snd_volume 50
// Load config with taunts
exec taunts.cfg

exec graphics.cfg
exec sound.cfg
exec player.cfg
exec controls.cfg
exec bindings.cfg
exec game.cfg
32 changes: 32 additions & 0 deletions client/configs/controls.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
"cl_sensitivity" "0.8"
"bind" "A" "+left"
"bind" "D" "+right"
"bind" "W" "+jump"
"bind" "S" "+crouch"
"bind" "X" "+prone"
"bind" "MOUSE3" "+jet"
"bind" "MOUSE1" "+fire"
"bind" "Q" "+changeweapon"
"bind" "R" "+reload"
"bind" "F" "+dropweapon"
"bind" "E" "+throwgrenade"
"bind" "T" "+chat"
"bind" "Y" "+teamchat"
"bind" "/" "+cmd"
"bind" "V" "+radio"
"bind" "Tab" "+weapons"
"bind" "F1" "+fragslist"
"bind" "F2" "+statsmenu"
"bind" "F3" "+minimap"
"bind" "ALT+F3" "+gamestats"
"bind" "Space" "+flagthrow"
"bind" "F4" "screenshot"
"bind" "F5" "+recorddemo"
"bind" "CTRL+Q" "switchcamflag 1"
"bind" "CTRL+W" "switchcamflag 2"
"bind" "CTRL+E" "switchcamflag 3"
"bind" "CTRL+1" "switchcam 1"
"bind" "CTRL+2" "switchcam 2"
"bind" "CTRL+3" "switchcam 3"
"bind" "CTRL+4" "switchcam 4"
"bind" "CTRL+5" "switchcam 5"
3 changes: 3 additions & 0 deletions client/configs/game.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"cl_endscreenshot" "0"
"cl_screenshake" "1"
"cl_servermods" "1"
18 changes: 18 additions & 0 deletions client/configs/graphics.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"r_fullscreen" "0"
"r_renderwidth" "0"
"r_renderheight" "0"
"r_screenwidth" "0"
"r_screenheight" "0"
"r_fpslimit" "1"
"r_maxfps" "60"
"r_renderbackground" "1"
"r_forcebg" "0"
"r_forcebg_color1" "$00FF0000"
"r_forcebg_color2" "$00FF0000"
"r_weathereffects" "1"
"r_smoothedges" "0"
"r_scaleinterface" "1"
"ui_playerindicator" "1"
"ui_killconsole" "1"
"r_swapeffect" "0"
"r_dithering" "0"
10 changes: 10 additions & 0 deletions client/configs/player.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"cl_player_name" "Major"
"cl_player_hair" "$00000000"
"cl_player_skin" "$008f8f8f"
"cl_player_shirt" "$008f8f8f"
"cl_player_pants" "$008f8f8f"
"cl_player_jet" "$008f8f8f"
"cl_player_hairstyle" "1"
"cl_player_headstyle" "34"
"cl_player_chainstyle" "2"
"cl_player_secwep" "0"
3 changes: 3 additions & 0 deletions client/configs/sound.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"snd_volume" "50"
"snd_effects_battle" "0"
"snd_effects_explosions" "0"
36 changes: 0 additions & 36 deletions client/configs/taunts.cfg

This file was deleted.

0 comments on commit 73d9333

Please sign in to comment.