BrokenHeartsShootingclub
~ Welcome to <BHS/3 Clan Forum ~

~ Enjoy your stay and be Happy Smile ~

~ BHS-ET.tk ~

(no ads for registered users)



 
HomeHome[b]Servers[b/]Recruiting forumUnbanFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Brightness Toggle Script

View previous topic View next topic Go down 
AuthorMessage
I<3Pie



Posts : 302
Join date : 2012-04-27
Age : 29
Location : Inside The Interweb

PostSubject: Brightness Toggle Script   Tue Jul 10, 2012 10:03 pm

Brightness script: changing the ingame brightness using a single key (in this case [ p ] ). Pressing it once sets 1.0, twice sets to 1.5 and so on… after pressing it 5 times it sets brightness back to default which is 1.0.

The brightness script only uses the r_gamma cvar. It also shows a small note text on the screen with green color and with red it shows the highest value reached (3.0).

seta gamma000 “echo ^2GAMMA 1.0 MIN!; set r_gamma 1.0; set nextrgamma vstr gamma001″
seta gamma001 “echo ^2GAMMA 1.5!; set r_gamma 1.5; set nextrgamma vstr gamma002″
seta gamma002 “echo ^2GAMMA 2.0!; set r_gamma 2.0; set nextrgamma vstr gamma003″
seta gamma003 “echo ^2GAMMA 2.5!; set r_gamma 2.5; set nextrgamma vstr gamma004″
seta gamma004 “echo ^1GAMMA 3.0 MAX!; set r_gamma 3.0; set nextrgamma vstr gamma000″
seta nextrgamma “vstr gamma000″
bind p “vstr nextrgamma”


<BHS/3 Clan ***
pie
Back to top Go down
View user profile
 
Brightness Toggle Script
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Chess Script
» Autohotkey script for melee barbarian
» Awesome (FREE) gun script!
» Gun Movement Script? Tutorial #2
» Walking Animation Script(Help)

Permissions in this forum:You cannot reply to topics in this forum
BrokenHeartsShootingclub :: General :: Config Corner :: CFG guide-
Jump to: