Author Topic: autoexec.cfg help appriciated  (Read 7808 times)

Offline exma

  • Newbie
  • *
  • Posts: 25
    • View Profile
  • Rated:
autoexec.cfg help appriciated
« on: August 15, 2011, 02:15:43 PM »
Hello, i am really struggling with writing a autoexec.cfg, so i wondered if someone else would be willing to do it for me.
Just so i can learn from the one he writes, and write the future ones myself!
I have already checked the q2kicker one, but i always do something wrong whilst rewriting! :(
I would really appriciate if you guys would help me out, here are the info:

Code: [Select]
w forward
s backwards
a moveleft
d moveright

shift - walk/run

r scoreboard

tab inventory

mouse 5 machinegun;shotgun;hyperblaster;supershotgun;grenadelauncher;chaingun;railgun;Rocketlauncher
mouse 4 zoom
mouse 2 shoot
mouse 1 jump
Mouse 3 throw grenade



q railgun

e rocketlauncher

r Chaingun

1 blaster;hyperblaster;bfg

2 shotgun;supershotgun

3 Grenadelauncher



cl_maxfps 120

fov 106
zoomfov 30

. = kill
, say :P
m say :]

Mouse accel off
Mouse sensitivity 2.0

intensity 2

set gl_picmip "150"
set gl_coloredlightmaps "0"

You are also welcome to throw in some other shit which i should consider whilst playing online etc! :)


  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline QwazyWabbit

  • Carpal Tunnel Member
  • ******
  • Posts: 1372
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #1 on: August 15, 2011, 03:31:07 PM »
Best way to start a new autoexec.cfg:

1) Join a server in the mod you are writing the new configuration for.
2) Use the usual bind commands to bind the keys you like to use for that mod.
3) Don't worry about aliases or complex attack commands unless you like writing them in console. Save aliases for later.
4) Use the quit command in console to disconnect the server and close the game.
    In the process of closing, Quake2 will write your current binds to config.cfg in the root folder for that particular mod.
5) Copy the config.cfg file to another file and name it autoexec.cfg in the same folder.
6) Edit autoexec.cfg for aliases and other binds as needed, using the basic binds you saved as a starting point.
7) You can also create aliases in separate files like "sniper_zoom.cfg" and call it from your autoexec.cfg with exec sniper_zoom.cfg

Quake2 will automatically execute config.cfg in that mod folder at startup if it exists. Then it executes autoexec.cfg if it exists. This way you pick up any binds you set at the last game exit (from config.cfg) even if you don't bind them in autoexec.cfg.

  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline VaeVictis

  • i was -1 because you fucking suck
  • Brobdingnagian Member
  • *
  • Posts: 4498
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #2 on: August 15, 2011, 03:47:50 PM »
removed
« Last Edit: January 31, 2021, 12:29:40 AM by VaeVictis »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline exma

  • Newbie
  • *
  • Posts: 25
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #3 on: August 16, 2011, 04:34:20 AM »
But it saves as a .txt file, i do it like i normally do while coding html etc, and when i write autoexec.cfg it saves as .txt  :?:
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline exma

  • Newbie
  • *
  • Posts: 25
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #4 on: August 16, 2011, 04:39:48 AM »
Ok, i did it so far. but screen resolution is all F'ed up

Code: [Select]
unbindall

set name "Kots"

// ---Player Settings---

set gender "male"
set skin "female/voodoo"
set fov "106"
set hand "2"
set crosshair "1"
set s_volume ".35"

// --- Resolution---
set vid_fulscreen "1"
set r_customheight "900"
set r_customwidth "1440"
set gl_mode "13"

// ---Sensitivity--

set sensitivity "2.0"

// ---Movement---

bind w "+forward"
bind s "+back"
bind a "+moveleft"
bind d "+moveright"
bind c "+movedown"
bind shift "+speed"
bind mouse1 "+moveup"

// ---Fire---

bind mouse2 "+attack"

// ---inventory---

bind f2 "inven"
bind enter "invuse"
bind [ "invprev"
bind ] "invnext"
bind backspace "invdrop"

// ---scoreboard---

bind tab "score"

// ---menu toggles---

bind ESCAPE "togglemenu"
bind ~ "toggleconsole"


// ---menu binds---

bind F1 "cmd help"
alias rup "ready; bind f3 urup"
alias urup "unready; bind f3 rup"
bind F3 rup
bind F4 "menu_keys"
bind F12 "screenshot"
bind PAUSE "pause"

// ---Demo Recording---

alias startdemo "record ${$date}-${$time}-${$mapname};bind F5 stopdemo"
alias stopdemo "stop;bind F5 startdemo"
bind F5 "startdemo"

// ---use specific item binds---

bind 3 "use bfg10k"
bind 1 "use blaster"
bind 2 "use shotgun"
bind q "use super shotgun"
bind "use machinegun"
bind r "use chaingun"
bind z "use grenade launcher"
bind e "use rocket launcher"
bind x "use hyperblaster"
bind q "use railgun"
bind mouse3 "use grenades"

// ---weapon scrolling binds---

bind mwheeldown "weapnext"
bind mwheelup "weapprev"

// ---Chat binds---

bind space "say :)"

// ---team chat and public chat, respectively---

bind t "messagemode2"
bind y "messagemode"

// ---ZoomTool---

set zoomfov "30"
set zoomsens ".5"
alias +zoom "set storesen $sensitivity;set storefov $fov;set sensitivity $zoomsens;set fov $zoomfov"
alias -zoom "set sensitivity $storesen;set fov $storefov"
bind mouse4 "+zoom"

// ---double jump bind---

alias w8 "wait; wait; wait; wait"
alias +dj "+moveup; w8; -moveup; w8; +moveup"
alias -dj "-moveup"
bind mouse4 "+dj"

// ---Smoothness---

set bob_pitch "0"
set bob_roll "0"
set bob_up "0"
set run_pitch "0"
set run_roll "0"

// ---Network---
set cl_protocol "35"

// ---r1gl config settings---

set vid_ref "r1gl"
set gl_ext_texture_filter_anisotropic "1"
set gl_ext_texture_non_power_of_two "1"
set gl_hudscale "2.5"
set gl_coloredlightmaps ".05"
set gl_polyblend "0"
set gl_modulate "4"

// ---r1q2 config settings---

set cl_async "1"
set cl_maxfps "125"
set r_maxfps "1000"
set m_directinput "1"
set m_fixaccel "1"
set in_dinputkeyboard "1"
set cl_drawfps "1"
set cl_cmdcomplete "2"
set cl_smoothsteps "3"
set cl_defermodels "0"
set cl_autorecord "0"
set cl_railtrail "0"
set cl_beginmapcmd ""
set cl_endmapcmd ""
set net_maxmsglen "0"
set s_ambient "0"
set s_initsound "1"
set s_openal_device "DirectSound3D"
set fs_cache "7"

// --- Downloads ---

set allow_download_maps "1"
set allow_download_models "0"
set allow_download_others "0"
set allow_download_pics "1"
set allow_download_players "0"
set allow_download_sounds "0"
set allow_download_textures "1"

// ===TDM BINDS===

alias shotty "use shotgun;use super shotgun"
alias mgchain "use machinegun;use chaingun"
alias rox "use rocket launcher"
alias nadeL "use grenade launcher"
alias nadeH "use grenades"
alias rail "use railgun"
alias hyperb "use hyperblaster"

alias bshotty "bind q shotty"
alias bmgchain "bind f mgchain"
alias brox "bind e rox"
alias bnadeL "bind z nadeL"
alias bnadeH "bind g nadeH"
alias brail "bind r rail"
alias bhyperb "bind x hyperb"

alias useweps "bshotty;bmgchain;brox;bnadeL;bnadeH;brail;bhyperb"

alias dshotty "drop shotgun;drop super shotgun;drop shells;say_team  DROPPED SSG/SG  < ${$loc_here} >"
alias dmgchain "drop machinegun;drop chaingun;drop bullets;say_team DROPPED CG/MG < ${$loc_here} >"
alias drox "drop rocket launcher;drop rockets;say_team DROPPED RL < ${$loc_here} >"
alias dnadeL "drop grenade launcher;drop grenades;say_team DROPED GL < ${$loc_here} >"
alias dnadeH "drop grenades;say_team DROPED NADES < ${$loc_here} >"
alias drail "drop railgun;drop slugs;say_team DROPPED RAIL < ${$loc_here} >"
alias dhyperb "drop hyperblaster;drop cells;say_team DROPPED HB < ${$loc_here} >"

alias bdshotty "bind q dshotty"
alias bdmgchain "bind f dmgchain"
alias bdrox "bind e drox"
alias bdnadeL "bind z dnadeL"
alias bdnadeH "bind g dnadeH"
alias bdrail "bind r drail"
alias bdhyperb "bind x dhyperb"

alias dropweps "bdshotty;bdmgchain;bdrox;bdnadeL;bdnadeH;bdrail;bdhyperb"

alias normalspace "bind space say :)"
alias statusspace "bind space say_team IM AT < ${$loc_here} > WITH %h/%a"

alias +tdmbinds "dropweps;statusspace"
alias -tdmbinds "useweps;normalspace"

bind 2 "say_team ENEMY SPOTTED AT < ${$loc_there} >"
bind 3 "say_team ITEM AVAILABLE < ${$loc_there} >"
bind c "say_team AREA CLEAR < ${$loc_here} >"
bind mouse5 +tdmbinds
useweps

// == Restart Video ==

vid_restart

//The End
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline Barton

  • Carpal Tunnel Member
  • ******
  • Posts: 1716
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #5 on: August 16, 2011, 08:57:33 AM »
Try changing gl_mode to the value of -1 while keeping your custom screen res cvars.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline jägermonsta

  • Brobdingnagian Member
  • ***
  • Posts: 4441
  • Bigger Than Jesus
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #6 on: August 16, 2011, 09:07:49 AM »
ugly cfg!
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline exma

  • Newbie
  • *
  • Posts: 25
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #7 on: August 16, 2011, 09:31:42 AM »
Ok, i fucked up. Can anyone please write it for me? :)
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline kotsen

  • Newbie
  • *
  • Posts: 20
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #8 on: August 16, 2011, 11:43:18 AM »
I FIXED IT!
Now i would like to make it so i can  have lefty hands
and the game fit on my screen(a 15,6")
and open up in fullscreen!
EDIT: i also need it to go straight to menu so i wont have to press ESC for the menu! :)

Code: [Select]
unbindall

set name "Kots"

// ---Player Settings---

set gender "male"
set skin "female/voodoo"
set fov "106"
set hand "2"
set crosshair "1"
set s_volume ".35"

// --- Resolution---
set vid_fulscreen "1"
set gl_mode "-1"

// ---Sensitivity--

set sensitivity "2.0"

// ---Movement---

bind w "+forward"
bind s "+back"
bind a "+moveleft"
bind d "+moveright"
bind c "+movedown"
bind shift "+speed"
bind mouse1 "+moveup"

// ---Fire---

bind mouse2 "+attack"

// ---inventory---

bind f2 "inven"
bind enter "invuse"
bind [ "invprev"
bind ] "invnext"
bind backspace "invdrop"

// ---scoreboard---

bind tab "score"

// ---menu toggles---

bind ESCAPE "togglemenu"
bind ~ "toggleconsole"


// ---menu binds---

bind F1 "cmd help"
alias rup "ready; bind f3 urup"
alias urup "unready; bind f3 rup"
bind F3 rup
bind F4 "menu_keys"
bind F12 "screenshot"
bind PAUSE "pause"

// ---Demo Recording---

alias startdemo "record ${$date}-${$time}-${$mapname};bind F5 stopdemo"
alias stopdemo "stop;bind F5 startdemo"
bind F5 "startdemo"

// ---use specific item binds---

bind 1 "use blaster;hyperblaster;bfg10k"
bind 2 "use shotgun;super shotgun"
bind r "use machinegun;chaingun"
bind 3 "use grenade launcher"
bind e "use rocket launcher"
bind q "use railgun"
bind mouse3 "use grenades"

// ---weapon scrolling binds---

bind mwheeldown "weapnext"
bind mwheelup "weapprev"

// ---Chat binds---

bind , "say :]"
bind m "say :P"

// ---team chat and public chat, respectively---

bind y "messagemode2"
wbind t "messagemode"

// ---ZoomTool---

set zoomfov "30"
set zoomsens ".5"
alias +zoom "set storesen $sensitivity;set storefov $fov;set sensitivity $zoomsens;set fov $zoomfov"
alias -zoom "set sensitivity $storesen;set fov $storefov"
bind mouse4 "+zoom"

// ---double jump bind---

alias w8 "wait; wait; wait; wait"
alias +dj "+moveup; w8; -moveup; w8; +moveup"
alias -dj "-moveup"
bind space "+dj"

// ---Smoothness---

set bob_pitch "0"
set bob_roll "0"
set bob_up "0"
set run_pitch "0"
set run_roll "0"

// ---Network---
set cl_protocol "35"

// ---r1gl config settings---

set vid_ref "r1gl"
set gl_ext_texture_filter_anisotropic "1"
set gl_ext_texture_non_power_of_two "1"
set gl_hudscale "2.5"
set gl_coloredlightmaps ".05"
set gl_polyblend "0"
set gl_modulate "4"

// ---r1q2 config settings---

set cl_async "1"
set cl_maxfps "125"
set r_maxfps "1000"
set m_directinput "1"
set m_fixaccel "1"
set in_dinputkeyboard "1"
set cl_drawfps "1"
set cl_cmdcomplete "2"
set cl_smoothsteps "3"
set cl_defermodels "0"
set cl_autorecord "0"
set cl_railtrail "0"
set cl_beginmapcmd ""
set cl_endmapcmd ""
set net_maxmsglen "0"
set s_ambient "0"
set s_initsound "1"
set s_openal_device "DirectSound3D"
set fs_cache "7"

// --- Downloads ---

set allow_download_maps "1"
set allow_download_models "0"
set allow_download_others "0"
set allow_download_pics "1"
set allow_download_players "0"
set allow_download_sounds "0"
set allow_download_textures "1"

// ===TDM BINDS===

alias shotty "use shotgun;use super shotgun"
alias mgchain "use machinegun;use chaingun"
alias rox "use rocket launcher"
alias nadeL "use grenade launcher"
alias nadeH "use grenades"
alias rail "use railgun"
alias hyperb "use hyperblaster"

alias bshotty "bind q shotty"
alias bmgchain "bind f mgchain"
alias brox "bind e rox"
alias bnadeL "bind z nadeL"
alias bnadeH "bind g nadeH"
alias brail "bind r rail"
alias bhyperb "bind x hyperb"

alias useweps "bshotty;bmgchain;brox;bnadeL;bnadeH;brail;bhyperb"

alias dshotty "drop shotgun;drop super shotgun;drop shells;say_team  DROPPED SSG/SG  < ${$loc_here} >"
alias dmgchain "drop machinegun;drop chaingun;drop bullets;say_team DROPPED CG/MG < ${$loc_here} >"
alias drox "drop rocket launcher;drop rockets;say_team DROPPED RL < ${$loc_here} >"
alias dnadeL "drop grenade launcher;drop grenades;say_team DROPED GL < ${$loc_here} >"
alias dnadeH "drop grenades;say_team DROPED NADES < ${$loc_here} >"
alias drail "drop railgun;drop slugs;say_team DROPPED RAIL < ${$loc_here} >"
alias dhyperb "drop hyperblaster;drop cells;say_team DROPPED HB < ${$loc_here} >"

alias bdshotty "bind q dshotty"
alias bdmgchain "bind f dmgchain"
alias bdrox "bind e drox"
alias bdnadeL "bind z dnadeL"
alias bdnadeH "bind g dnadeH"
alias bdrail "bind r drail"
alias bdhyperb "bind x dhyperb"

alias dropweps "bdshotty;bdmgchain;bdrox;bdnadeL;bdnadeH;bdrail;bdhyperb"

alias normalspace "bind space say :)"
alias statusspace "bind space say_team IM AT < ${$loc_here} > WITH %h/%a"

alias +tdmbinds "dropweps;statusspace"
alias -tdmbinds "useweps;normalspace"

bind 2 "say_team ENEMY SPOTTED AT < ${$loc_there} >"
bind 3 "say_team ITEM AVAILABLE < ${$loc_there} >"
bind c "say_team AREA CLEAR < ${$loc_here} >"
bind mouse5 +tdmbinds
useweps

// == Restart Video ==

vid_restart

//The End
« Last Edit: August 16, 2011, 11:50:21 AM by kots »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline VaeVictis

  • i was -1 because you fucking suck
  • Brobdingnagian Member
  • *
  • Posts: 4498
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #9 on: August 16, 2011, 11:58:23 AM »
I FIXED IT!
Now i would like to make it so i can  have lefty hands
and the game fit on my screen(a 15,6")
and open up in fullscreen!
EDIT: i also need it to go straight to menu so i wont have to press ESC for the menu! :)


vid_fullscreen 1

find out what gl_mode youd like by changing it with the menu if that works :) select a resolution with the gui menu, then after it is applied type gl_mode to check the value, and then use that value in your autoexec

left hand would be hand 1

.cfg is just what you save the file as from notepad :P you might just save it as a .txt and edit the extension to .cfg

and going straight to menu im not entirely sure on :) i think thats just r1q2...
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline kotsen

  • Newbie
  • *
  • Posts: 20
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #10 on: August 17, 2011, 09:15:31 AM »
...i still cant get the screen resolution thing to work what should i put it?
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline kotsen

  • Newbie
  • *
  • Posts: 20
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #11 on: August 20, 2011, 11:32:43 AM »
I cant do it :/ my resolution is still weird

Code: [Select]
// ---Player Settings---

set gender "male"
set skin "female/voodoo"
set fov "106"
set hand "0"
set crosshair "1"
set s_volume ".35"

// --- Resolution---
set gl_mode "4"
set vid_fullscreen "1"
set vid_forcewidth "768"
set vid_forceheight "1366"



// ---Sensitivity--

set sensitivity "2.0"

// ---Movement---

bind w "+forward"
bind s "+back"
bind a "+moveleft"
bind d "+moveright"
bind c "+movedown"
bind shift "+speed"
bind mouse1 "+moveup"
cl_run "1"


// ---Fire---

bind mouse2 "+attack"


// ---JumpMod---
bind . kill
bind z store
bind x recall
// ---inventory---

bind f2 "inven"
bind enter "invuse"
bind [ "invprev"
bind ] "invnext"
bind backspace "invdrop"

// ---scoreboard---

bind tab "score"

// ---menu toggles---

bind ESCAPE "togglemenu"
bind ~ "toggleconsole"


// ---menu binds---

bind F1 "cmd help"
alias rup "ready; bind f3 urup"
alias urup "unready; bind f3 rup"
bind F3 rup
bind F4 "menu_keys"
bind F12 "screenshot"
bind PAUSE "pause"

// ---Demo Recording---

alias startdemo "record ${$date}-${$time}-${$mapname};bind F5 stopdemo"
alias stopdemo "stop;bind F5 startdemo"
bind F5 "startdemo"

// ---use specific item binds---

bind 1 "use blaster;hyperblaster;bfg10k"
bind 2 "use shotgun;super shotgun"
bind r "use machinegun;chaingun"
bind 3 "use grenade launcher"
bind e "use rocket launcher"
bind q "use railgun"
bind mouse3 "use grenades"

// ---weapon scrolling binds---

bind mwheeldown "weapnext"
bind mwheelup "weapprev"

// ---Chat binds---

bind , "say :]"
bind m "say :P"

// ---team chat and public chat, respectively---

bind y "messagemode2"
bind t "messagemode"

// ---ZoomTool---

set zoomfov "30"
set zoomsens ".5"
alias +zoom "set storesen $sensitivity;set storefov $fov;set sensitivity $zoomsens;set fov $zoomfov"
alias -zoom "set sensitivity $storesen;set fov $storefov"
bind mouse4 "+zoom"

// ---double jump bind---

alias w8 "wait; wait; wait; wait"
alias +dj "+moveup; w8; -moveup; w8; +moveup"
alias -dj "-moveup"
bind space "+dj"

// ---Smoothness---

set bob_pitch "0"
set bob_roll "0"
set bob_up "0"
set run_pitch "0"
set run_roll "0"

// ---Network---
set cl_protocol "35"

// ---r1gl config settings---

set vid_ref "r1gl"
set gl_ext_texture_filter_anisotropic "1"
set gl_ext_texture_non_power_of_two "1"
set gl_hudscale "2.5"
set gl_coloredlightmaps ".05"
set gl_polyblend "0"
set gl_modulate "4"

// ---r1q2 config settings---

set cl_async "1"
set cl_maxfps "125"
set r_maxfps "1000"
set m_directinput "1"
set m_fixaccel "1"
set in_dinputkeyboard "1"
set cl_drawfps "1"
set cl_cmdcomplete "2"
set cl_smoothsteps "3"
set cl_defermodels "0"
set cl_autorecord "0"
set cl_railtrail "0"
set cl_beginmapcmd ""
set cl_endmapcmd ""
set net_maxmsglen "0"
set s_ambient "0"
set s_initsound "1"
set s_openal_device "DirectSound3D"
set fs_cache "7"

// --- Downloads ---

set allow_download_maps "1"
set allow_download_models "0"
set allow_download_others "0"
set allow_download_pics "1"
set allow_download_players "0"
set allow_download_sounds "0"
set allow_download_textures "1"

// ===TDM BINDS===

alias shotty "use shotgun;use super shotgun"
alias mgchain "use machinegun;use chaingun"
alias rox "use rocket launcher"
alias nadeL "use grenade launcher"
alias nadeH "use grenades"
alias rail "use railgun"
alias hyperb "use hyperblaster"

alias bshotty "bind  shotty"
alias bmgchain "bind  mgchain"
alias brox "bind  rox"
alias bnadeL "bind  nadeL"
alias bnadeH "bind  nadeH"
alias brail "bind  rail"
alias bhyperb "bind  hyperb"

alias useweps "bshotty;bmgchain;brox;bnadeL;bnadeH;brail;bhyperb"

alias dshotty "drop shotgun;drop super shotgun;drop shells;say_team  DROPPED SSG/SG  < ${$loc_here} >"
alias dmgchain "drop machinegun;drop chaingun;drop bullets;say_team DROPPED CG/MG < ${$loc_here} >"
alias drox "drop rocket launcher;drop rockets;say_team DROPPED RL < ${$loc_here} >"
alias dnadeL "drop grenade launcher;drop grenades;say_team DROPED GL < ${$loc_here} >"
alias dnadeH "drop grenades;say_team DROPED NADES < ${$loc_here} >"
alias drail "drop railgun;drop slugs;say_team DROPPED RAIL < ${$loc_here} >"
alias dhyperb "drop hyperblaster;drop cells;say_team DROPPED HB < ${$loc_here} >"

alias bdshotty "bind  dshotty"
alias bdmgchain "bind  dmgchain"
alias bdrox "bind  drox"
alias bdnadeL "bind  dnadeL"
alias bdnadeH "bind  dnadeH"
alias bdrail "bind  drail"
alias bdhyperb "bind  dhyperb"

alias dropweps "bdshotty;bdmgchain;bdrox;bdnadeL;bdnadeH;bdrail;bdhyperb"

alias normalspace "bind space say :)"
alias statusspace "bind space say_team IM AT < ${$loc_here} > WITH %h/%a"

alias +tdmbinds "dropweps;statusspace"
alias -tdmbinds "useweps;normalspace"

bind  "say_team ENEMY SPOTTED AT < ${$loc_there} >"
bind  "say_team ITEM AVAILABLE < ${$loc_there} >"
bind  "say_team AREA CLEAR < ${$loc_here} >"
bind  +tdmbinds
useweps

// == Restart Video ==

vid_restart

//The End
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline kotsen

  • Newbie
  • *
  • Posts: 20
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #12 on: August 20, 2011, 12:15:45 PM »
I cant do it :/ my resolution is still weird

Code: [Select]
set vid_forcewidth "768"
set vid_forceheight "1366"

You have these settings mixed-up. It should read:

set vid_forcewidth "1366"
set vid_forceheight "768"

Thanks god!
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline [BTF]Sigma

  • Phenomenally Prodigious Member
  • **
  • Posts: 3059
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #13 on: August 20, 2011, 02:20:52 PM »
Today I learned that Elysium is god!

WHERE IS YOUR TUBBY NOW!!!!?????
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline kotsen

  • Newbie
  • *
  • Posts: 20
    • View Profile
  • Rated:
Re: autoexec.cfg help appriciated
« Reply #14 on: August 23, 2011, 01:04:30 PM »
Now it's quite good. except that the grenades wont autoshoot when i click mouse3, and when i press  the weapon keys it says Shotgun; supershotgun in chat etc

Code: [Select]
unbindall

set name "KOTS"

// ---Player Settings---

set gender "male"
set skin "female/voodoo"
set fov "106"
set hand "0"
set crosshair "1"
set s_volume ".35"

// --- Resolution---
set gl_mode "4"
set vid_fullscreen "1"
set vid_forcewidth "1366"
set vid_forceheight "768"



// ---Sensitivity--

set sensitivity "2.0"

// ---Movement---

bind w "+forward"
bind s "+back"
bind a "+moveleft"
bind d "+moveright"
bind c "+movedown"
bind shift "+speed"
bind mouse1 "+moveup"
cl_run "1"


// ---Fire---

bind mouse2 "+attack"


// ---JumpMod---
bind . kill
bind z store
bind x recall
// ---inventory---

bind f2 "inven"
bind enter "invuse"
bind [ "invprev"
bind ] "invnext"
bind backspace "invdrop"

// ---scoreboard---

bind tab "score"

// ---menu toggles---

bind ESCAPE "togglemenu"
bind ~ "toggleconsole"


// ---menu binds---

bind F1 "cmd help"
alias rup "ready; bind f3 urup"
alias urup "unready; bind f3 rup"
bind F3 rup
bind F4 "menu_keys"
bind F12 "screenshot"
bind PAUSE "pause"

// ---Demo Recording---

alias startdemo "record ${$date}-${$time}-${$mapname};bind F5 stopdemo"
alias stopdemo "stop;bind F5 startdemo"
bind F5 "startdemo"

// ---use specific item binds---

bind 1 "use blaster;hyperblaster;bfg10k"
bind 2 "use shotgun;super shotgun"
bind q "use machinegun;chaingun"
bind 3 "use grenade launcher"
bind e "use rocket launcher"
bind r "use railgun"
bind mouse3 "use grenades"

// ---weapon scrolling binds---

bind mwheeldown "weapnext"
bind mwheelup "weapprev"

// ---Chat binds---

bind , "say :]"
bind m "say :P"

// ---team chat and public chat, respectively---

bind y "messagemode2"
bind t "messagemode"

// ---ZoomTool---

set zoomfov "30"
set zoomsens ".5"
alias +zoom "set storesen $sensitivity;set storefov $fov;set sensitivity $zoomsens;set fov $zoomfov"
alias -zoom "set sensitivity $storesen;set fov $storefov"
bind mouse4 "+zoom"

// ---double jump bind---

alias w8 "wait; wait; wait; wait"
alias +dj "+moveup; w8; -moveup; w8; +moveup"
alias -dj "-moveup"
bind space "+dj"

// ---Smoothness---

set bob_pitch "0"
set bob_roll "0"
set bob_up "0"
set run_pitch "0"
set run_roll "0"

// ---Network---
set cl_protocol "35"

// ---r1gl config settings---

set vid_ref "r1gl"
set gl_ext_texture_filter_anisotropic "1"
set gl_ext_texture_non_power_of_two "1"
set gl_hudscale "2.5"
set gl_coloredlightmaps ".05"
set gl_polyblend "0"
set gl_modulate "4"

// ---r1q2 config settings---

set cl_async "1"
set cl_maxfps "125"
set r_maxfps "1000"
set m_directinput "1"
set m_fixaccel "1"
set in_dinputkeyboard "1"
set cl_drawfps "1"
set cl_cmdcomplete "2"
set cl_smoothsteps "3"
set cl_defermodels "0"
set cl_autorecord "0"
set cl_railtrail "0"
set cl_beginmapcmd ""
set cl_endmapcmd ""
set net_maxmsglen "0"
set s_ambient "0"
set s_initsound "1"
set s_openal_device "DirectSound3D"
set fs_cache "7"

// --- Downloads ---

set allow_download_maps "1"
set allow_download_models "0"
set allow_download_others "0"
set allow_download_pics "1"
set allow_download_players "0"
set allow_download_sounds "0"
set allow_download_textures "1"

// ===TDM BINDS===

alias shotty "use shotgun;use super shotgun"
alias mgchain "use machinegun;use chaingun"
alias rox "use rocket launcher"
alias nadeL "use grenade launcher"
alias nadeH "use grenades"
alias rail "use railgun"
alias hyperb "use hyperblaster"

alias bshotty "bind  shotty"
alias bmgchain "bind  mgchain"
alias brox "bind  rox"
alias bnadeL "bind  nadeL"
alias bnadeH "bind  nadeH"
alias brail "bind  rail"
alias bhyperb "bind  hyperb"

alias useweps "bshotty;bmgchain;brox;bnadeL;bnadeH;brail;bhyperb"

alias dshotty "drop shotgun;drop super shotgun;drop shells;say_team  DROPPED SSG/SG  < ${$loc_here} >"
alias dmgchain "drop machinegun;drop chaingun;drop bullets;say_team DROPPED CG/MG < ${$loc_here} >"
alias drox "drop rocket launcher;drop rockets;say_team DROPPED RL < ${$loc_here} >"
alias dnadeL "drop grenade launcher;drop grenades;say_team DROPED GL < ${$loc_here} >"
alias dnadeH "drop grenades;say_team DROPED NADES < ${$loc_here} >"
alias drail "drop railgun;drop slugs;say_team DROPPED RAIL < ${$loc_here} >"
alias dhyperb "drop hyperblaster;drop cells;say_team DROPPED HB < ${$loc_here} >"

alias bdshotty "bind  dshotty"
alias bdmgchain "bind  dmgchain"
alias bdrox "bind  drox"
alias bdnadeL "bind  dnadeL"
alias bdnadeH "bind  dnadeH"
alias bdrail "bind  drail"
alias bdhyperb "bind  dhyperb"

alias dropweps "bdshotty;bdmgchain;bdrox;bdnadeL;bdnadeH;bdrail;bdhyperb"

alias normalspace "bind space say :)"
alias statusspace "bind space say_team IM AT < ${$loc_here} > WITH %h/%a"

alias +tdmbinds "dropweps;statusspace"
alias -tdmbinds "useweps;normalspace"

bind  "say_team ENEMY SPOTTED AT < ${$loc_there} >"
bind  "say_team ITEM AVAILABLE < ${$loc_there} >"
bind  "say_team AREA CLEAR < ${$loc_here} >"
bind  +tdmbinds
useweps

// == Restart Video ==

vid_restart

//The End
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

 

El Box de Shoutamente

Last 10 Shouts:

Costigan_Q2

November 11, 2024, 06:41:06 AM
"Stay cozy folks.

Everything is gonna be fine."

There'll be no excuses for having TDS after January 20th, there'll be no excuses AT ALL!!!
 

|iR|Focalor

November 06, 2024, 03:28:50 AM
 

RailWolf

November 05, 2024, 03:13:44 PM
Nice :)

Tom Servo

November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.

Costigan_Q2

November 04, 2024, 03:37:55 PM
Stay cozy folks.

Everything is gonna be fine.
 

|iR|Focalor

October 31, 2024, 08:56:37 PM

Costigan_Q2

October 17, 2024, 06:31:53 PM
Not activated your account yet?

Activate it now! join in the fun!

Tom Servo

October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
 

|iR|Focalor

October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
 

rikwad

October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.

Show 50 latest
Welcome, Guest. Please login or register.
November 22, 2024, 06:47:36 AM

Login with username, password and session length