Author Topic: fps change script  (Read 2955 times)

Offline Asmodai

  • Newbie
  • *
  • Posts: 25
    • View Profile
  • Rated:
fps change script
« on: December 23, 2007, 10:12:08 AM »
a few people have asked me for this now so here it is

// FPS CHANGE
alias fps-25 "set cl_maxfps 25;set clfps 25;echo cl_maxfps 25;alias fps-next fps-31;alias fps-prev fps-180"
alias fps-31 "set cl_maxfps 31;set clfps 31;echo cl_maxfps 31;alias fps-next fps-60;alias fps-prev fps-25"
alias fps-60 "set cl_maxfps 60;set clfps 60;echo cl_maxfps 60;alias fps-next fps-66;alias fps-prev fps-31"
alias fps-66 "set cl_maxfps 66;set clfps 66;echo cl_maxfps 66;alias fps-next fps-70;alias fps-prev fps-60"
alias fps-70 "set cl_maxfps 70;set clfps 70;echo cl_maxfps 70;alias fps-next fps-75;alias fps-prev fps-66"
alias fps-75 "set cl_maxfps 75;set clfps 75;echo cl_maxfps 75;alias fps-next fps-80;alias fps-prev fps-70"
alias fps-80 "set cl_maxfps 80;set clfps 80;echo cl_maxfps 80;alias fps-next fps-100;alias fps-prev fps-75"
alias fps-100 "set cl_maxfps 100;set clfps 100;echo cl_maxfps 100;alias fps-next fps-110;alias fps-prev fps-80"
alias fps-110 "set cl_maxfps 110;set clfps 110;echo cl_maxfps 110;alias fps-next fps-120;alias fps-prev fps-100"
alias fps-120 "set cl_maxfps 120;set clfps 120;echo cl_maxfps 120;alias fps-next fps-180;alias fps-prev fps-110"
alias fps-180 "set cl_maxfps 180;set clfps 180;echo cl_maxfps 180;alias fps-next fps-25;alias fps-prev fps-120"
alias fps-next fps-25
alias fps-prev fps-180 

bind , fps-prev
bind . fps-next


copy and paste that in your config.

, and . can be any buttons you want :)
  • 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 Lohmatiy

  • Full Member
  • ***
  • Posts: 150
  • DI HALT / CLI HLT
    • View Profile
  • Rated:
Re: fps change script
« Reply #1 on: December 23, 2007, 11:26:36 AM »
You may also like a version of fps changing script that uses the r1q2 toggle command (needs an up-to-date build of r1q2 though):

set cl_maxfps 66
bind UPARROW "toggle cl_maxfps 20 27 31 33 37 50 60 66 70 85 90 120 142; echo $cl_maxfps"
bind DOWNARROW "toggle cl_maxfps 142 120 90 85 70 66 60 50 37 33 31 27 20; echo $cl_maxfps"

, where UPARROW and DOWNARROW can be replaced with any keys you want.

Added later: and yeaah I forgot to add a fast way to change between two fps's if your mouse has a wheel:

alias 20 "cl_maxfps 20; echo 20"
alias 31 "cl_maxfps 31; echo 31"
alias 66 "cl_maxfps 66; echo 66"
alias 90 "cl_maxfps 90; echo 90"
alias 120 "cl_maxfps 120; echo 120"
alias 142 "cl_maxfps 120; echo 142"
alias 2066 "bind MWHEELUP 20; bind MWHEELDOWN 66"
alias 3166 "bind MWHEELUP 31; bind MWHEELDOWN 66"
alias 6690 "bind MWHEELUP 66; bind MWHEELDOWN 90"
alias 66120 "bind MWHEELUP 66; bind MWHEELDOWN 120"
alias 66142 "bind MWHEELUP 66; bind MWHEELDOWN 142"
alias 20120 "bind MWHEELUP 20; bind MWHEELDOWN 120"

After you include this in your config, exec it and just type in console a name of an alias you want to use, for example, type 2066 in console. It will bind your MWHEELUP to 20 fps, and MWHEELDOWN to 66 fps. Enjoy. :P
« Last Edit: December 23, 2007, 11:42:15 AM by Lohmatiy »
  • 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
Dinanzi a me non fuor cose create se non etterne, e io etterno duro.

Offline X'tyfe

  • Phenomenally Prodigious Member
  • **
  • Posts: 3587
  • Yep
    • View Profile
  • Rated:
Re: fps change script
« Reply #2 on: December 23, 2007, 11:48:12 AM »
wanted one of these scripts for awhile now :) thanks

You may also like a version of fps changing script that uses the r1q2 toggle command (needs an up-to-date build of r1q2 though):

set cl_maxfps 66
bind UPARROW "toggle cl_maxfps 20 27 31 33 37 50 60 66 70 85 90 120 142; echo $cl_maxfps"
bind DOWNARROW "toggle cl_maxfps 142 120 90 85 70 66 60 50 37 33 31 27 20; echo $cl_maxfps"
interesting, never heard of this toggle command
any documentation on it? would make my aliases much more simplified :D
  • 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 Lohmatiy

  • Full Member
  • ***
  • Posts: 150
  • DI HALT / CLI HLT
    • View Profile
  • Rated:
Re: fps change script
« Reply #3 on: December 23, 2007, 01:02:54 PM »
Quote from: X'tyfe on December 23, 2007, 11:48:12 AM
Quote from: X'tyfe on December 23, 2007, 11:48:12 AM
interesting, never heard of this toggle command
any documentation on it? would make my aliases much more simplified :D
Just a couple of words at http://www.r1ch.net/forum/index.php?topic=105.0

Misc things
Toggle command can be used to toggle a cvar between 0/1 or a user specified list of options. Eg bind u toggle cl_gun, bind u toggle cl_maxfps 30 60 90.
  • 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
Dinanzi a me non fuor cose create se non etterne, e io etterno duro.

Offline [BTF]Jehar

  • Swanky Member
  • *****
  • Posts: 777
  • Gee Gee or Whatnot.
    • View Profile
    • Tastyspleen.tv
  • Rated:
Re: fps change script
« Reply #4 on: December 23, 2007, 10:34:35 PM »
Ah yes, client innovations are taking away our 1.5mb config files, woe is us. :P
  • 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
Tastyspleen ==Tastyspleen.tv==! All Quake, All the Time

Offline Kingsize

  • Full Member
  • ***
  • Posts: 227
    • View Profile
  • Rated:
Re: fps change script
« Reply #5 on: December 28, 2007, 03:46:56 PM »
There's so many keys on your keyboard and buttons on your mouse,why would you even bother using that script ?
So the first jump requires 31 fps and the next 120 fps,you're not going to get a good time by the time you scroll to the fps you need.

 :please:  :dohdohdoh:
  • 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 26, 2024, 08:05:27 AM

Login with username, password and session length