What's new

Discussion Chrome and Cartoon Mode Toggle

C

cj022

i iz so 1338
Messages
1,416
Reaction score
203
A simple toggle for chrome and cartoon mode. If you feel this is worthless, useless or stupid then report it. I have seen a few people looking for this:

Code:
toggleCC()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );
for ( ;; ) {
self waittill( "dpad_left" ); {
self setClientDvar("r_fullbright", 1);
self iPrintlnBold( "Cartoon Mode ^1On" );
}
self waittill( "dpad_left" ); {
self setClientDvar("r_fullbright", 0);
self setClientDvar( "r_specularmap", 2); 
self iPrintlnBold( "Cartoon Mode ^1Off^7; Chrome Mod ^1On" );
}
self waittill( "dpad_left" ); {
self setClientDvar("r_specularmap", "Unchanged");
self iPrintlnBold( "All Display Mods ^1Off" );
}
}
}
 
R

Roid Modders

Enthusiast
Messages
149
Reaction score
84
completey wrong.
should be;
Code:
doChromeCartoonNiguh()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
for ( ;; )
{
self waittill( "dpad_up" );
self waittill( "dpad_up" );
self setClientDvar( "r_specularmap", "2" ); 
self thread maps\mp\gametypes\_hud_message::hintMessage("^1On/Off:^2Chrome Mod ^1Activated");
self waittill( "dpad_up" );
self waittill( "dpad_up" );
self setClientDvar( "r_specularmap", "0" ); 
self thread maps\mp\gametypes\_hud_message::hintMessage("^1On/Off:^2Chrome Mod ^1OFF");
self waittill( "dpad_up" );
self waittill( "dpad_up" );
self setClientDvar( "r_fullbright", "1"); 
self thread maps\mp\gametypes\_hud_message::hintMessage("^1On/Off:^2Cartoon Mod ^1Activated");
self waittill( "dpad_up" );
self waittill( "dpad_up" );
self setClientDvar( "r_fullbright", "0"); 
self thread maps\mp\gametypes\_hud_message::hintMessage("^1On/Off:^2Cartoon Mod ^1OFF");
}
}
 
F

Flurp

Newbie
Messages
26
Reaction score
2
I like the first better, shorter and more effecient... but just a little clean up, I hate when you have quotes around 1 number and not the other, or vice versa...

Code:
toggleCC()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );
for ( ;; ) {
self waittill( "dpad_left" ); {
self setClientDvar("r_fullbright", 1);
self iPrintlnBold( "Cartoon Mode ^1On" );
}
self waittill( "dpad_left" ); {
self setClientDvar("r_fullbright", 0);
self setClientDvar( "r_specularmap", 2); 
self iPrintlnBold( "Cartoon Mode ^1Off^7; Chrome Mod ^1On" );
}
self waittill( "dpad_left" ); {
self setClientDvar("r_specularmap", 1);
self iPrintlnBold( "All Display Mods ^1Off" );
}
}
}
 
R

Roid Modders

Enthusiast
Messages
149
Reaction score
84
Watever floats your boat mahn
 
H

HellRaZor

Enthusiast
Messages
283
Reaction score
16
what will happen when you activate chrome mod and cartoon mod?
cause in my patch chrome mod is always on as infection.
and i have cartoon mod on dpad left I think.
Will something bad happen when somebody uses cartoon mod?

anyways cartoon mod makes headache after a while and already sucks
 
C

cj022

i iz so 1338
Messages
1,416
Reaction score
203
what will happen when you activate chrome mod and cartoon mod?
cause in my patch chrome mod is always on as infection.
and i have cartoon mod on dpad left I think.
Will something bad happen when somebody uses cartoon mod?

anyways cartoon mod makes headache after a while and already sucks

No nothing bad but I think Cartoon Mode will override chrome, as it cancels all lighting. Some people don't want cartoon, some people don't want chrome, so I let them choose on or off.
 
R

Roid Modders

Enthusiast
Messages
149
Reaction score
84
they are both Set ClientDvars.
wont work out so nice..
 
M

ModderXNick

Newbie
Messages
25
Reaction score
1
Wow You Coppied Me Look At My Threads I Started I Released It Before You Did!
 
M

MisterLinOx

Enthusiast
Messages
186
Reaction score
13
OP's is cleaner as he used braces to seperate the waittill's, IMHO.

@ModderXNick:
I wouldn't really call it a Release. You may have posted it. Either way, there were like eight threads yesterday asking about it.
 
Z

Zach The Noob

Enthusiast
Messages
716
Reaction score
142
A simple toggle for chrome and cartoon mode. If you feel this is worthless, useless or stupid then report it. I have seen a few people looking for this:

Code:
toggleCC()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );
for ( ;; ) {
self waittill( "dpad_left" ); {
self setClientDvar("r_fullbright", 1);
self iPrintlnBold( "Cartoon Mode ^1On" );
}
self waittill( "dpad_left" ); {
self setClientDvar("r_fullbright", 0);
self setClientDvar( "r_specularmap", 2); 
self iPrintlnBold( "Cartoon Mode ^1Off^7; Chrome Mod ^1On" );
}
self waittill( "dpad_left" ); {
self setClientDvar("r_specularmap", 1);
self iPrintlnBold( "All Display Mods ^1Off" );
}
}
}
Way to copy and paste my thread? I released this before anyone. Why don't you use the search bar before you post.
 
V

Vindicates

Seasoned Member
Messages
5,744
Reaction score
1,342
Way to copy and paste my thread? I released this before anyone. Why don't you use the search bar before you post.
Really theres been 3 topics just alike his and yours is just copy and paste. ^^ he was the first to come out with this.
 
C

cj022

i iz so 1338
Messages
1,416
Reaction score
203
I did not copy and paste anyones code. It's not like this is unique or anything. I made the cartoon mode toggle a while back, just changed it up.

I am sorry if it was already posted, I looked thru the first two pages and didn't see any other toggles.
 
X

xI cHOcOLaTe

Getting There
Messages
1,496
Reaction score
1,612
You're all wrong:

Code:
toggleCC()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );
for ( ;; ) {
self waittill( "dpad_left" ); {
self setClientDvar("r_fullbright", 1);
self iPrintlnBold( "Cartoon Mode ^1On" );
}
self waittill( "dpad_left" ); {
self setClientDvar("r_fullbright", 0);
self setClientDvar( "r_specularmap", 2); 
self iPrintlnBold( "Cartoon Mode ^1Off^7 and Chrome Mod ^1On" );
}
self waittill( "dpad_left" ); {
self setClientDvar("r_specularmap", "Unchanged"); //1 is black filter not regular.
self iPrintlnBold( "All Display Mods ^1Off" );
}
}
 
D

Dreww

Enthusiast
Messages
872
Reaction score
194
You're all wrong:

Code:
toggleCC()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );
for ( ;; ) {
self waittill( "dpad_left" ); {
self setClientDvar("r_fullbright", 1);
self iPrintlnBold( "Cartoon Mode ^1On" );
}
self waittill( "dpad_left" ); {
self setClientDvar("r_fullbright", 0);
self setClientDvar( "r_specularmap", 2); 
self iPrintlnBold( "Cartoon Mode ^1Off^7 and Chrome Mod ^1On" );
}
self waittill( "dpad_left" ); {
self setClientDvar("r_specularmap", "Unchanged"); //1 is black filter not regular.
self iPrintlnBold( "All Display Mods ^1Off" );
}
}
Owned.
 
Top Bottom