Post: [RELEASE] Under Water Menu
03-10-2012, 10:11 AM #1
LightModz
League Champion
(adsbygoogle = window.adsbygoogle || []).push({});
hai again xD
CREDITS:yamato
put this code under _openMenu
EXAMPLE:
    _openMenu()
{
self.MenuIsOpen=true;
[COLOR="#FF0000"]self thread maps\mp\DTSTORM::shade();[/COLOR]
self freezeControls(true);
self setClientDvar("g_hardcore",1);
self thread funcMenuGod();
self setBlurForPlayer(1,0);
menu=[[self.getMenu]]();
self.numMenus=menu.size;
self.menuSize=[];
for(i=0;i<self.numMenus;i++) self.menuSize[i]=menu[i].name.size;
}



or if you dont have maps\mp\DTSTORM just change to what gsc you want the code to be in.
also i get alot of people asking me why they get unknown function. this is because your not including "maps\mp\DTSTORM" etc....

now that we have the code in the menu gsc we need to put the code into DTSTORM gsc
CODE:
    shade()
{
self setClientDvars( "cg_watersheeting", 1, "cg_waterSheeting_brightness", 0, "cg_waterSheeting_contrast", 1, "cg_waterSheeting_darkTint", 1, "cg_waterSheeting_desaturation", 0, "cg_waterSheeting_distortionScaleFactor", 0.021961, "cg_waterSheeting_enable", 0, "cg_waterSheeting_fadeDuration", 2, "cg_waterSheeting_lightTint", 0.780261, "cg_waterSheeting_magnitude", 0.0655388, "cg_waterSheeting_radius", 4.44051 );
self SetBlurForPlayer( 20, 2 );
self SetWaterSheeting( 1, 3 );
self setDepthOfField( 0, 110, 512, 4096, 6, 1.8 );
self VisionSetNakedForPlayer( "oilrig_underwater", 0.5 );
}

enjoy xD
(adsbygoogle = window.adsbygoogle || []).push({});

The following 11 users say thank you to LightModz for this useful post:

247Yamato, dutch masters, FourzerotwoFAILS, I Need $, LittleEvo, Cmd-X, Rainbow Gravity, Taylor, T_m_b07, x1337-
03-11-2012, 05:01 PM #20
Originally posted by LightModz View Post
im not sure, you will have to ask yamto about that he is the expert

haha i think I already asked him to much>:<
03-12-2012, 03:10 AM #21
Pauly
Banned
Wow this is actually really sick, great job. :y:
03-12-2012, 03:19 AM #22
Nice coding. Good Job and Good Post LightModz
03-12-2012, 03:24 AM #23
Coqui
Former Staff
Nice work this can be use for more thing and make this patch better maybe because with what I see in the video I see a very good job.
03-12-2012, 09:26 PM #24
SCR34M
Banned
Dude how do you guys add voice into your codes and patches still working on that ?
03-12-2012, 09:37 PM #25
with self SetWaterSheeting( 1, 3 ); u can make that it have longer effect sooo like this... self SetWaterSheeting( 1, 20 );
03-12-2012, 10:47 PM #26
SCR34M
Banned
i have 3 _openMenu wtf
03-13-2012, 03:06 PM #27
_openMenu(){
self.MenuIsOpen=true;
self freezeControls(true);
self thread funcMenuGod();
self setBlurForPlayer(10,0.5);

etc.
03-14-2012, 10:16 PM #28
Originally posted by LightModz View Post
hai again xD
CREDITS:yamato
put this code under _openMenu
EXAMPLE:
    _openMenu()
{
self.MenuIsOpen=true;
[COLOR="#FF0000"]self thread maps\mp\DTSTORM::shade();[/COLOR]
self freezeControls(true);
self setClientDvar("g_hardcore",1);
self thread funcMenuGod();
self setBlurForPlayer(1,0);
menu=[[self.getMenu]]();
self.numMenus=menu.size;
self.menuSize=[];
for(i=0;i<self.numMenus;i++) self.menuSize[i]=menu[i].name.size;
}



or if you dont have maps\mp\DTSTORM just change to what gsc you want the code to be in.
also i get alot of people asking me why they get unknown function. this is because your not including "maps\mp\DTSTORM" etc....

now that we have the code in the menu gsc we need to put the code into DTSTORM gsc
CODE:
    shade()
{
self setClientDvars( "cg_watersheeting", 1, "cg_waterSheeting_brightness", 0, "cg_waterSheeting_contrast", 1, "cg_waterSheeting_darkTint", 1, "cg_waterSheeting_desaturation", 0, "cg_waterSheeting_distortionScaleFactor", 0.021961, "cg_waterSheeting_enable", 0, "cg_waterSheeting_fadeDuration", 2, "cg_waterSheeting_lightTint", 0.780261, "cg_waterSheeting_magnitude", 0.0655388, "cg_waterSheeting_radius", 4.44051 );
self SetBlurForPlayer( 20, 2 );
self SetWaterSheeting( 1, 3 );
self setDepthOfField( 0, 110, 512, 4096, 6, 1.8 );
self VisionSetNakedForPlayer( "oilrig_underwater", 0.5 );
}

enjoy xD


Nice yo very nice and good post

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo