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-15-2012, 12:02 AM #29
SCR34M
Banned
Dutch ur so awesome but like u no wen u open or press left or right on ur dpad to change the menu right were do u add sound to that
03-15-2012, 02:53 PM #30
Originally posted by visbeast123 View Post
Dutch ur so awesome but like u no wen u open or press left or right on ur dpad to change the menu right were do u add sound to that


self playLocalSound("...");
I got just the normal 1: self playLocalSound("mouse_over");
03-15-2012, 07:24 PM #31
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
thats sexy looking actually something cool added to this section great idea
03-15-2012, 09:29 PM #32
SCR34M
Banned
Originally posted by dutch
self playLocalSound("...");
I got just the normal 1: self playLocalSound("mouse_over");


were do u get all the codes for that thoe?
03-16-2012, 01:04 PM #33
Originally posted by visbeast123 View Post
were do u get all the codes for that thoe?

haha I just google everything and sometimes I ask something or take it from forums.
03-16-2012, 07:05 PM #34
SCR34M
Banned
alright ill google so do i just google Mw2 Voice Codes
03-16-2012, 07:47 PM #35
mp_level_up
spawn_music
defeat_music
victory_music
winning_music
losing_music
mp_defeat
mp_time_running_out_winning
mp_time_running_out_losing
mp_time_running_out_winning
mp_time_running_out_losing
mp_suspense_01
mp_suspense_02
mp_suspense_03
mp_suspense_04
mp_suspense_05
mp_suspense_06
mission_succes
mission_fail
draw
encourage_win
encourage_lost
timesup
winning
losing
winning_fight
losing_fight
lead_lost
tied
lead_taken
lastalive
boost
hardcore
highspeed
tactical
challengecomplete
promotion
acheive_bomb
bomb_taken
bomb_defused
bomb_planted
securedobj
lostobj
obj_defend
obj_destroy
capture_obj
capture_objs
hq_located
hq_captured
hq_destroyed
hq_offline
hq_online
new_positions
pushforward
attack
defend
offense
defense
halftime
overtime
switching
ourflag
ourflag_drop
ourflag_return
ourflag_capt
getback_ourflag
enemyflag_tobase
enemyflag
enemyflag_drop
enemyflag_return
enemyflag_capt
capturing_a
capturing_b
capturing_c
capture_a
capture_b
capture_c
securing_a
securing_b
securing_c
secure_a
secure_b
secure_c
losing_a
losing_b
losing_c
lost_a
lost_b
lost_c
enemy_take_a
enemy_take_b
enemy_take_c
enemy_has_a
enemy_has_b
enemy_has_c
take_positions
positions_lock
dest_sentrygun
nuke_music
sentry_gone
ti_cancelled
ti_blocked
cobra_helicopter_hit
cobra_helicopter_secondary_exp
cobra_helicopter_damaged
cobra_helicopter_dying_loop
cobra_helicopter_dying_layer
cobra_helicopter_crash
weap_cobra_missile_fire
spinloop
spinstart
weap_cobra_20mm_fire_npc
mp_war_objective_lost
mp_war_objective_taken
mp_bomb_plant
mp_bomb_defuse
ui_mp_suitcasebomb_timer
veh_mig29_dist_loop
weap_c4detpack_trigger_plr
veh_ac130_sonic_boom
littlebird_move
ammo_crate_use
03-20-2012, 11:36 PM #36
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


self SetWaterSheeting( 1, 3 ); change to self SetWaterSheeting( 1, 999 );
and put in menuexit or closemenu self SetWaterSheeting( 1, 2 ); so that it fades away when you close

The following user thanked LittleEvo for this useful post:

dutch masters
03-21-2012, 10:58 AM #37
Originally posted by LittleEvo View Post
self SetWaterSheeting( 1, 3 ); change to self SetWaterSheeting( 1, 999 );
and put in menuexit or closemenu self SetWaterSheeting( 1, 2 ); so that it fades away when you close

Thanks worksHappy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo