Author Topic: Share autoexec.cfg code Thread  (Read 536 times)

Offline Costigan

  • Newbie
  • *
  • Posts: 46
    • View Profile
  • Rated:
Share autoexec.cfg code Thread
« on: January 05, 2020, 05:46:47 PM »
Here's a good one:


//disable hear-view chat bind
alias chatoff "cf1; cf2"
alias cf1 "bind LEFTARROW chaton; set cl_chat_sound 0; set con_notifytime 0"
alias cf2 "clear;echo chat off"
alias chaton "cn1; cn2"
alias cn1 "bind LEFTARROW chatoff; set cl_chat_sound 1; set con_notifytime 3"
alias cn2 "echo chat on"
bind LEFTARROW "chatoff"


Alternate 'alias cf2' line:

alias cf2 "echo chat off" - The 'clear' command is removed so that the console is NOT cleared of messages.


Or do it this way:

set cl_chat_sound 0
set con_notifytime 0


cl_chat_sound - This is a Q2PRO command, i don't know what else it works with.

Specifies sound effect to play each time chat message is received. Default value is 1.

0 — don’t play chat sound
1 — play normal sound (‘misc/talk.wav’)
2 — play alternative sound (‘misc/talk1.wav’)


con_notifytime - This is a regular Q2 command.

The delay before console messages disappear from the screen. Default value is 3.

0 — don't show console messages
« Last Edit: January 12, 2020, 12:34:23 PM by Costigan »
  • 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 Costigan

  • Newbie
  • *
  • Posts: 46
    • View Profile
  • Rated:
Re: Share autoexec.cfg code Thread
« Reply #1 on: January 05, 2020, 07:07:33 PM »
Here's a good one:


"Re: Replacing the rocket/grenade splash damage animation/graphic"

http://forum.tastyspleen.net/quake/index.php?topic=22956.msg225123#msg225123

This is a link to a thread where i posted some Q2PRO code for altering the rocket/grenade animation/graphic.
« Last Edit: January 12, 2020, 12:34:37 PM by Costigan »
  • 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 |iR|Focalor

  • Irrepressibly Profuse Member
  • *
  • Posts: 13823
  • OFFO
    • View Profile
    • Focalor's Lair @ Tastyspleen.net
  • Rated:
Re: Share autoexec.cfg code Thread
« Reply #2 on: January 05, 2020, 11:53:00 PM »
You'd have to add a new sound to a pak somewhere though, right? Seems like a lot of trouble to go through when you're already gonna be sticking a sound file somewhere, so you might as well just make an additional pak with a matching name/directory talk sound to override the stock one. Or am I missing something? (Not sure what the "notifytime" command is for, maybe that has something else to do with 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 Costigan

  • Newbie
  • *
  • Posts: 46
    • View Profile
  • Rated:
Re: Share autoexec.cfg code Thread
« Reply #3 on: January 06, 2020, 07:17:46 PM »
You'd have to add a new sound to a pak somewhere though, right? Seems like a lot of trouble to go through when you're already gonna be sticking a sound file somewhere, so you might as well just make an additional pak with a matching name/directory talk sound to override the stock one. Or am I missing something? (Not sure what the "notifytime" command is for, maybe that has something else to do with it?)

In reference to 'Reply #3' concerning 'Reply #1':

The talk1.wav file already exists, it is located just below the talk.wav file in the standard Quake 2 pak0.pak in \sound\misc.

The description for the function of the 'con_notifytime' command is at the bottom of 'Reply #1', it doesn't interact with the 'cl_chat_sound' command in any way, if you set 'con_notifytime' to '0' then it won't show console messages, if you open the console then you can see console messages.

Offline Costigan

  • Newbie
  • *
  • Posts: 46
    • View Profile
  • Rated:
Re: Share autoexec.cfg code Thread
« Reply #4 on: January 06, 2020, 09:50:11 PM »
Here's a good one:


//rocket jump bind
alias +rj "m1;rj"
alias -rj "m2"
alias m1 "cl_pitchspeed 999999;+lookdown"
alias rj "+moveup;+attack;wait;wait;wait;wait"
alias m2 "-lookdown;cl_pitchspeed 200;-attack;-moveup;wait;wait;centerview"
bind n "+rj"
« Last Edit: January 12, 2020, 12:35:34 PM by Costigan »
  • 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 rikwad

  • Newbie
  • *
  • Posts: 40
    • View Profile
  • Rated:
Re: Share autoexec.cfg code Thread
« Reply #5 on: January 08, 2020, 08:36:35 AM »
Here's a good one:

//rocket jump bind
alias +rj "m1;rj"
alias -rj "m2"
alias m1 "cl_pitchspeed 999999;+lookdown"
alias rj "+moveup;+attack;wait;wait;wait;wait"
alias m2 "-lookdown;cl_pitchspeed 200;-attack;-moveup;wait;wait;centerview"
bind n "+rj"



Heh, I think I tried this one but Q2pro would not allow it to execute. Could be wrong....
  • 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: 4470
    • View Profile
  • Rated:
Re: Share autoexec.cfg code Thread
« Reply #6 on: January 09, 2020, 04:47:09 AM »
Shared tdm binds way the fuck back here:
http://forum.tastyspleen.net/quake/index.php?topic=17785.msg178943#msg178943

There is an updated version with ammo though in my current stuff

Quote
// ===TDM BINDS===

// aliases for using 1 or 2 weapons per key

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 bfg "use bfg10k"

// aliases for binding a weapon or weapon group to a key

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 bbfg "bind 4 bfg"
alias smileyspace "bind space say :)"

// alias for all weapon binds

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

// aliases for drops and chat

alias dshotty "drop shotgun;drop super shotgun;drop shells;say_team DROPPED SUPER-SHOTGUN/SHOTGUN AT [ ${$loc_here} ]"
alias dshells "drop shells;say_team DROPPED SHELLS [ ${$loc_here} ]"
alias dmgchain "drop machinegun;drop chaingun;drop bullets;say_team DROPPED CHAIN/MACHINE-GUN AT [ ${$loc_here} ]"
alias dbullets "drop bullets;say_team DROPPED BULLETS AT [ ${$loc_here} ]"
alias drox "drop rocket launcher;drop rockets;say_team DROPPED ROCKET LAUNCHER AT [ ${$loc_here} ]"
alias drockets "drop rockets;say_team DROPPED ROCKETS AT [ ${$loc_here} ]"
alias dnadeL "drop grenade launcher;drop grenades;say_team DROPPED GRENADE LAUNCHER AT [ ${$loc_here} ]"
alias dnadeH "drop grenades;say_team DROPPED GRENADES AT [ ${$loc_here} ]"
alias drail "drop railgun;drop slugs;say_team DROPPED RAIL AT [ ${$loc_here} ]"
alias dslugs "drop slugs;say_team DROPPED SLUGS AT [ ${loc_here} ]"
alias dhyperb "drop hyperblaster;drop cells;say_team DROPPED HYPER BLASTER AT [ ${$loc_here} ]"
alias dcells "drop cells;say_team DROPPED CELLS AT [ ${$loc_here} ]"
alias dbfg "drop bfg10k;drop cells;say_team DROPPED BFG AT [ ${$loc_here} ]"

// alias binds for weapon drop

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 bdbfg "bind 4 dbfg"
alias statusspace "bind space say_team I AM AT [ ${$loc_here} ] H:${$cl_health}/A:${$cl_armor}"

// alias binds for ammo drop

alias bdshells "bind q dshells"
alias bdbullets "bind f dbullets"
alias bdrockets "bind e drockets"
alias bdslugs "bind r dslugs"
alias bdcells "bind x dcells"

// alias used for the toggle of dropping weapons/ammo

alias dropweps "bdshotty;bdmgchain;bdrox;bdnadeL;bdnadeH;bdrail;bdhyperb;bdbfg;statusspace"
alias dropammo "bdshells;bdbullets;bdrockets;bdslugs;bdcells"

// status bind on space
//bind space "say_team I AM AT [ ${$loc_here} ] H:${$cl_health}/A:${$cl_armor}"
//bind space "say :)"

// actual toggle for dropping weapons

alias +tdmbinds "dropweps"
alias -tdmbinds "useweps"


// actual toggle for dropping ammo

alias +freeammo "dropammo"
alias -freeammo "useweps"

// specific always on team binds

bind 2 "say_team ENEMY AT [ ${$loc_there} ]"
bind 3 "say_team ITEM AT [ ${$loc_there} ]"
bind c "say_team AREA SAFE [ ${$loc_here} ]"

// binding all that work to keys

bind alt +freeammo
bind mouse5 +tdmbinds
useweps

If you want just more general random little junk, here are a few:

Double jump, which is just nice for being lazy and you should probably learn to jump without it as well:
Quote
alias w8 "wait; wait; wait; wait"
alias +dj "+moveup; w8; -moveup; w8; +moveup"
alias -dj "-moveup"
bind mouse4 "+dj"

my take on a zoom bind:
Quote
set zoomfov "45"
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 mouse3 "+zoom"

Something to help with recording demos:
Quote
alias startdemo "record ${$com_date}-${$com_time}-${$cl_mapname};bind F5 stopdemo"
alias stopdemo "stop;bind F5 startdemo"
bind F5 "startdemo"

And a quick ready up toggle for otdm servers:
Quote
alias rup "ready; bind f3 urup"
alias urup "unready; bind f3 rup"
bind F3 rup

Those tdm binds might also be really weird running on an absolute potato of a PC because of how many commands it executes on key press and depress, but it never caused me problems.

The locs only work with proper loc files, which there is a big zip somewhere on the tastyspleen files.

Worth noting all the above works in q2pro, slightly different versions have worked with r1q2.

The scripting system in q2 is kinda basic but you can do some cool stuff with it. I think the biggest limitation is line size when it ends up handling multiple layers of aliases, but I've not dug into the engine to know too much about that like some people here have.
  • 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 rikwad

  • Newbie
  • *
  • Posts: 40
    • View Profile
  • Rated:
Re: Share autoexec.cfg code Thread
« Reply #7 on: January 10, 2020, 08:20:18 AM »
gl_texturemode GL_NEAREST
gl_dynamic 1

gl_ext_texture_filter_anisotropic 1
gl_ext_max_anisotropy 16
gl_modulate 1

gl_texture_lighting_mode 1
gl_saturation 2
gl_contrast 1

intensity 2
gl_coloredlightmaps 0.8
vid_gamma 0.9

Above commands make R1Q2 look very softwarey but with coloured lights. Fooling around with contrast has some neat results too. Got this from here:

https://www.gog.com/forum/quake_series/quake_2_in_software_mode

-Works in Yamagi even though most of the commands do not exist (anymore?). Adding gl1_particle_square or gl3_particle_square also will make all the particles look like the square software ones in the Yamagi client.

« Last Edit: January 10, 2020, 09:36:12 AM by rikwad »
  • 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 Costigan

  • Newbie
  • *
  • Posts: 46
    • View Profile
  • Rated:
Re: Share autoexec.cfg code Thread
« Reply #8 on: January 12, 2020, 12:31:12 PM »
For 'deftone' who asked about crosshairs today:


You can use this bind in your autoexec.cfg file to switch between crosshairs, ch0 is a blank crosshair.

Select your own bind key to replace 'DOWNARROW', set your default crosshair to "1" or "2" or "3".

//crosshairs bind
alias ch0 "bind DOWNARROW ch1;set crosshair 0;echo ch0"
alias ch1 "bind DOWNARROW ch2;set crosshair 1;echo ch1"
alias ch2 "bind DOWNARROW ch3;set crosshair 2;echo ch2"
alias ch3 "bind DOWNARROW ch0;set crosshair 3;echo ch3"
bind DOWNARROW "ch0"

set crosshair "1"


Your pak0.pak in baseq2 has 3 crosshairs that you can change by adding alternative crosshairs to a new pak (eg pak9.pak) placed in baseq2.

There are plenty of alternative crosshairs that can be found on Q2 sites and in personalised Q2 paks, i'm sure some people here can provide some links.

You can make your own alternative crosshairs by using a Q2 graphics editing program like Wally.

 

El Box de Shoutamente

Last 10 Shouts:

 

Admin

July 01, 2020, 10:18:02 AM
Indeed, thanks. Added a few more bans.

otg

July 01, 2020, 04:49:07 AM
ADMIN: the bot is back using player names. cheers.
 

|iR|Focalor

June 22, 2020, 03:58:10 AM
Nah. I used "img width=220" in the first tag. That's about max size for the box on my monitor, which is 1280x1024 old school non-widescreen square format.
 

haunted

June 21, 2020, 07:07:01 PM
Damn it. I saw focalor's small one and figured it auto resized it here. Haha
 

haunted

June 21, 2020, 07:06:04 PM
 

|iR|Focalor

June 21, 2020, 10:54:46 AM
 

ImperiusDamian

June 10, 2020, 12:24:04 PM
Meow.
 

beaver{KEA}

June 07, 2020, 06:07:20 PM
Rocket Arena 2 Discord Chat Making Momentum https://discord.gg/Dv8k4sf
 

Admin

June 06, 2020, 10:03:05 AM
It seems the "vpn spoofer troll" is back to his shenanigans.

otg

June 06, 2020, 05:25:43 AM
ADMIN please come fix your server. Someone loaded bots with legit user names. They are flooding left and right. Thank You!

Show 50 latest
Welcome, Guest. Please login or register.
July 08, 2020, 04:23:22 AM

Login with username, password and session length