Author Topic: fps change script  (Read 2903 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

September 21, 2024, 07:35:35 AM
Members
Total Members: 2921
Latest: provider

Date Registered : March 20, 2024

*laughs in slow clapping*
 

RyU

September 03, 2024, 05:15:49 PM
And wow Derrick is still playing lol
 

RyU

September 03, 2024, 05:15:15 PM
Just know yesterday is gone and soon tomorrow will be gone too  :)
 

Lejionator

August 08, 2024, 07:28:01 PM
It's tiem to QuakeCon!!!  ;)

https://www.youtube.com/watch?v=ThQd_UJaTys
 

ImperiusDamian

July 26, 2024, 09:34:53 PM
In nomine Quake II et Id Software et Spiritus John Carmack, Amen.
 

QuakeDuke

July 26, 2024, 05:10:30 PM
Hey, shout, summertime blues
Jump up and down in you blue suede shoes
Hey, did you rock and roll? Rock on!!  ...QD
 

Yotematoi

July 24, 2024, 01:31:20 PM
Ayer me mato 5 veces para robarme en la vida real hará lo mismo? [img]<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid0wXU2VgS7atesBcSoMz5BWMJCJajeZFVT6GzSU6TtpJGddN9kLTvWNgcZaskkbKFQl&amp;show_text=true&amp;width=500
https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid0wXU2VgS7atesBcSoMz5BWMJCJajeZFVT6GzSU6TtpJGddN9kLTvWNgcZaskkbKFQl&show_text=true&width=500" width="500"
 

Yotematoi

July 24, 2024, 01:25:59 PM
hi ya está la basura de Martin, se cambió el nombre es un ladron estupido, asi llegó a 10000[img]<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid03hZrkDUBJPZKCuFgy5hRUy831ekKJYVRzC7ajXaKQbJ6xcPgKftLukUDfovFyEq3l&amp;show_text
https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid03hZrkDUBJPZKCuFgy5hRUy831ekKJYVRzC7ajXaKQbJ6xcPgKftLukUDfovFyEq3l&show_text
 

Yotematoi

July 24, 2024, 01:25:59 PM
hi ya está la basura de Martin, se cambió el nombre es un ladron estupido, asi llegó a 10000[img]<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid03hZrkDUBJPZKCuFgy5hRUy831ekKJYVRzC7ajXaKQbJ6xcPgKftLukUDfovFyEq3l&amp;show_text
https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid03hZrkDUBJPZKCuFgy5hRUy831ekKJYVRzC7ajXaKQbJ6xcPgKftLukUDfovFyEq3l&show_text

Show 50 latest
Welcome, Guest. Please login or register.
September 24, 2024, 08:22:49 PM

Login with username, password and session length