What's new

Discussion Chrome and Cartoon Mode Toggle

cj022

cj022

i iz so 1338
Messages
1,416
Reaction score
203
Points
190
Sin$
0
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" );
}
}
}
 
Roid Modders

Roid Modders

Enthusiast
Messages
149
Reaction score
84
Points
85
Sin$
7
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
Points
45
Sin$
0
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" );
}
}
}
 
H

HellRaZor

Enthusiast
Messages
283
Reaction score
16
Points
70
Sin$
7
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
 
cj022

cj022

i iz so 1338
Messages
1,416
Reaction score
203
Points
190
Sin$
0
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.
 
M

ModderXNick

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

MisterLinOx

Enthusiast
Messages
186
Reaction score
13
Points
70
Sin$
0
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
Points
125
Sin$
0
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.
 
Vindicates

Vindicates

Seasoned Member
Messages
5,744
Reaction score
1,342
Points
545
Sin$
0
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.
 
cj022

cj022

i iz so 1338
Messages
1,416
Reaction score
203
Points
190
Sin$
0
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.
 
xI cHOcOLaTe

xI cHOcOLaTe

Getting There
Seasoned Veteran Grizzled Veteran
Messages
1,491
Reaction score
1,612
Points
255
Sin$
0
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" );
}
}
 
Dreww

Dreww

Enthusiast
Messages
872
Reaction score
194
Points
165
Sin$
0
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
Login
Register