Post: Code: Nightvision
01-02-2011, 01:44 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); This works for all players for the whole game once you trigger it. This is how it works in my patch, it may be different for you.

Try it online in SnD Smile

As an added bonus, if you just set the actionslot without the doNight, it disables noobtubes Smile

If anyone knows a better "night" VisionsetNaked, let me know as this one is completely black. ( ive tried default night, its not dark enough.)

Init()
    
self.PickedNight=0


onPlayerSpawned()
    if(self.PickedNight==0){self _SetActionSlot(3,"");}else if(self.PickedNight==1){self _SetActionSlot(3,"nightvision");}




Call this function foreach player in level ...
    
doNightVision() {
self endon("disconnect");
self.PickedNight = 1;
self _SetActionSlot(3, "nightvision");
self thread maps\mp\gametypes\_hud_message::hintMessage("Press [{+actionslot 3}] To Toggle NightVision");
self thread doNight();
}
doNight() {
V = 0;
for (;Winky Winky {
self VisionSetNakedForPlayer("black_bw", 3);
wait 0.01;
V++;
}
}



[ame=https://www.youtube.com/watch?v=j5sui0j91y8]YouTube - x_DaftVader_x MW2 Nightvision[/ame]



Thanks to the unkn0wn for the vision loop... And Thanks to JuddyLovesPizza for the help..
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to x_DaftVader_x for this useful post:

angel_of_deth, Arvindian, Dreamcather, Skyl1n3
01-02-2011, 04:37 PM #11
Originally posted by DEREKTROTTER View Post
ye yours works fine when u call foreach (p in level.players)

its just a shame the FX dont show like fire, would look cool in dark


The other way didn't work whem someone respawned, the vivsion went back to default..

What fire FX do you mean ?
01-02-2011, 04:39 PM #12
DEREKTROTTER
You're Goddamn Right
Originally posted by Homer
The other way didn't work whem someone respawned, the vivsion went back to default..

What fire FX do you mean ?


like the one here - You must login or register to view this content.
01-02-2011, 04:40 PM #13
Originally posted by DEREKTROTTER View Post
like the one here - You must login or register to view this content.


Oh, ok, I hadn't noticed, I was too busy laughing at peoples reactions online when it went dark Smile
01-02-2011, 05:11 PM #14
Dreamcather
Call me Eddie Winky Winky
Originally posted by Homer
This works for all players for the whole game once you trigger it. This is how it works in my patch, it may be different for you.

Try it online in SnD Smile

As an added bonus, if you just set the actionslot without the doNight, it disables noobtubes Smile

If anyone knows a better "night" VisionsetNaked, let me know as this one is completely black. ( ive tried default night, its not dark enough.)

Init()
    
self.PickedNight=0


onPlayerSpawned()
    if(self.PickedNight==0){self _SetActionSlot(3,"");}else if(self.PickedNight==1){self _SetActionSlot(3,"nightvision");}




Call this function foreach player in level ...
    
doNightVision() {
self endon("disconnect");
self.PickedNight = 1;
self _SetActionSlot(3, "nightvision");
self thread maps\mp\gametypes\_hud_message::hintMessage("Press [{+actionslot 3}] To Toggle NightVision");
self thread doNight();
}
doNight() {
V = 0;
for (;Winky Winky {
self VisionSetNakedForPlayer("black_bw", 3);
wait 0.01;
V++;
}
}



You must login or register to view this content.



Thanks to the unkn0wn for the vision loop...


Thank You for the codesSmile
01-02-2011, 05:20 PM #15
juddylovespizza
I'VE GOT JUNGLE FEVER
you don't like giving credit :(
01-02-2011, 05:50 PM #16
Originally posted by juddylovespizza View Post
you don't like giving credit :(


I always give credit. Sorry if I forgot, Thank you for the Link :bro:

( It took a bit of work to get it working properly though Smile )

The following user thanked x_DaftVader_x for this useful post:

juddylovespizza
01-02-2011, 07:36 PM #17
juddylovespizza
I'VE GOT JUNGLE FEVER
Originally posted by Homer
I always give credit. Sorry if I forgot, Thank you for the Link :bro:

( It took a bit of work to get it working properly though Smile )


thanks thats all I wanted :y:
01-02-2011, 08:28 PM #18
angel_of_deth
Climbing up the ladder
Originally posted by Homer
This works for all players for the whole game once you trigger it. This is how it works in my patch, it may be different for you.

Try it online in SnD Smile

As an added bonus, if you just set the actionslot without the doNight, it disables noobtubes Smile

If anyone knows a better "night" VisionsetNaked, let me know as this one is completely black. ( ive tried default night, its not dark enough.)

Init()
    
self.PickedNight=0


onPlayerSpawned()
    if(self.PickedNight==0){self _SetActionSlot(3,"");}else if(self.PickedNight==1){self _SetActionSlot(3,"nightvision");}




Call this function foreach player in level ...
    
doNightVision() {
self endon("disconnect");
self.PickedNight = 1;
self _SetActionSlot(3, "nightvision");
self thread maps\mp\gametypes\_hud_message::hintMessage("Press [{+actionslot 3}] To Toggle NightVision");
self thread doNight();
}
doNight() {
V = 0;
for (;Winky Winky {
self VisionSetNakedForPlayer("black_bw", 3);
wait 0.01;
V++;
}
}



You must login or register to view this content.



Thanks to the unkn0wn for the vision loop... And Thanks to JuddyLovesPizza for the help..

yea when you post things on here most of the time they are cool things to add in the game idk why they didnt put night vision in mw2 stupid fail on their part
01-02-2011, 08:56 PM #19
Originally posted by deth View Post
yea when you post things on here most of the time they are cool things to add in the game idk why they didnt put night vision in mw2 stupid fail on their part


Thats nothing, there's a whole gsc for a killstreak where you get a TANK..

It was left out though..

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo