Post: Source Engine Menu Base v1.2 [BO2]
06-25-2015, 04:07 AM #1
EternalHabit
Former Staff
(adsbygoogle = window.adsbygoogle || []).push({});
You must login or register to view this content.


I've been wanting to make this for awhile and I'm glad i finally did. Because it is easily the best menu base that I've ever used. I has everything in a menu base that you could ever want. It is a heavily modded version of Sharks Menu base with many new features. Such as:





    [*=center]Clean GUI
    [*=center]Scroller Remembrance Within Each Sub-Menu
    [*=center]Leave menu anywhere and come back to the same position
    [*=center]Menu Can Be Used While Dead
    [*=center]Updated Verification System
    [*=center]Client names don't disappear with too many players
    [*=center]Overflow Fix
    [*=center]Extremely Stable
    [*=center]Uses \n Fix
    [*=center]In Depth Menu Customization System
    [*=center]New Style Menu DoHeart and Text Effects








You must login or register to view this content.


Note: Make sure to change "if(level.result >= 50)" to "if(level.result >= 230)" inside the overflow fix if using _rank.gsc

Changelog:
v1.1
Fixed title doHeart from glitching when text overflow clears
v1.2
made it so the option text effects happen once when you open the menu for the first time
made the setdvar("cg_drawcrosshair", "0"); host only inside openmenu() and closemenu()



Credits:
Source Code - if it werent for this guy this menu base would have never been made
Shark
YouViolateMe
Sygnus
(adsbygoogle = window.adsbygoogle || []).push({});

The following 44 users say thank you to EternalHabit for this useful post:

-Numb, /SneakerStreet/, Apex_Modz-, AutoModder, Bigmoneyhustlin, BossamBemass, BullyWiiPlaza, codybenti, Connorrox2, DEv_ShOoTz, Devilemi, DF_AUS, DoraTheKiller97, EndlessNoChill, Freezy :D, HeyToTo, HiddenHour, HighModzz, ilikedoge, Im_YouViolateMe, iRnZ, ishangiri2014, ItsAnanasModz, itsSorrow, iTz-GoDModZ, Krypton, LAGAWAY47, LevelUP, MiiMod, ModyHacker, n3m3sis2288, John, skjhadjklashdlkjherlfkjhs, Skonafid, StonedYoda, SyGnUs, TehMerkMods, TheSaltCracka, Turk_Warrior, whatsgucciwhorecx, xDebugKiller, XDrifteer7, xIce KiLLaH, xK ELITE GaminG

The following user groaned EternalHabit for this awful post:

oCmKs_4_LiFe
07-02-2015, 02:41 PM #74
migjack
Can’t trickshot me!
Originally posted by xTurntUpLobbies View Post
it fixes the title doheart from glitching. and the base doesnt overflow. it must be something in your menu

I think a people have overflow with Crystal v5 it's because injecting project shared...
Injecting maps folder is better because have the _rank.gsc
07-02-2015, 05:49 PM #75
EternalHabit
Former Staff
Originally posted by migjack View Post
I think a people have overflow with Crystal v5 it's because injecting project shared...
Injecting maps folder is better because have the _rank.gsc


you have overflow because you might be using setText somewhere in your functions. _rank.gsc only frees up strings but will still overflow eventually if your using setText without making the function work together with the overflow fix.

but yeah if you usin project shared, make sure to set the overflow number to "50"
07-02-2015, 05:54 PM #76
migjack
Can’t trickshot me!
Originally posted by xTurntUpLobbies View Post
you have overflow because you might be using setText somewhere in your functions. _rank.gsc only frees up strings but will still overflow eventually if your using setText without making the function work together with the overflow fix.

but yeah if you usin project shared, make sure to set the overflow number to "50"

Yes the welcome message for exemple using SetText.... and 3 or 4 other function too, but this function need setText for working :/
And yes the project shared have level.result >= 50
But the .GSC with _rank.gsc have level.result >= 230 so yes, is better with .GSC
07-03-2015, 02:45 PM #77
Bigmoneyhustlin
Can’t trickshot me!
such a great menu base!
it converted to zombies very easy also.. anyone know any shaders that will
work in zombies? like the name of the rank shaders?
07-03-2015, 06:37 PM #78
EternalHabit
Former Staff
updated

v1.2
made it so the option text effects happen once when you open the menu for the first time
made the setdvar("cg_drawcrosshair", "0"); host only inside openmenu() and closemenu()

    openMenu()
{
self freezeControls(true);
self enableInvulnerability();
self setClientUiVisibilityFlag("hud_visible", 0);
self thread feed();

self SetBlur( 4, 0 );
if(self isHost())
setdvar("cg_drawcrosshair", "0");

self thread doSourceHeart();
self StoreText(self.CurMenu, self.CurTitle);

if(self.Firstopen)
{
self.Private["options"] setCOD7DecodeFX(20, 500000, 500000);
}

self.menu.background.alpha = 0.8;
self.menu.backroundoutline.alpha = 1;
self.menu.background3.alpha = 0.87;

self.menu.Shader1.alpha = 1;
self.menu.Shader3.alpha = 1;
self.menu.Shader4.alpha = 1;
self.menu.Shader5.alpha = 1;

self.menu.scroller.alpha = 1;
self.menu.bar.alpha = 1;

self.menu.header.alpha = 1;
self.Private["header"].alpha = 1;

self updateScrollbar();
self.menu.open = true;
}

closeMenu()
{
self notify("menu_exit");
self.Firstopen = false;
self freezecontrols(false);
self setClientUiVisibilityFlag("hud_visible", 1);
self playsoundtoplayer("cac_grid_equip_item",self);

self SetBlur( 0, 0 );
if(self isHost())
setdvar("cg_drawcrosshair", "1");

if(self.unicorn == true)
self disableInvulnerability();

self.Private["options"].alpha = 0;
self.Private["title"].alpha = 0;
self.Private["title2"].alpha = 0;
self.menu.cmd.alpha = 0;

self.menu.background.alpha = 0;
self.menu.backroundoutline.alpha = 0;
self.menu.background3.alpha = 0;

self.menu.header.alpha = 0;
self.Private["header"].alpha = 0;

self.menu.root.alpha = 0;

self.menu.Shader1.alpha = 0;
self.menu.Shader3.alpha = 0;
self.menu.Shader4.alpha = 0;
self.menu.Shader5.alpha = 0;

self.menu.scroller.alpha = 0;
self.menu.bar.alpha = 0;
self.menu.open = false;
}

The following user thanked EternalHabit for this useful post:

migjack
07-03-2015, 07:03 PM #79
AutoModder
Climbing up the ladder
Originally posted by xTurntUpLobbies View Post
updated

v1.2
made it so the option text effects happen once when you open the menu for the first time
made the setdvar("cg_drawcrosshair", "0"); host only inside openmenu() and closemenu()

    openMenu()
{
self freezeControls(true);
self enableInvulnerability();
self setClientUiVisibilityFlag("hud_visible", 0);
self thread feed();

self SetBlur( 4, 0 );
if(self isHost())
setdvar("cg_drawcrosshair", "0");

self thread doSourceHeart();
self StoreText(self.CurMenu, self.CurTitle);

if(self.Firstopen)
{
self.Private["options"] setCOD7DecodeFX(20, 500000, 500000);
}

self.menu.background.alpha = 0.8;
self.menu.backroundoutline.alpha = 1;
self.menu.background3.alpha = 0.87;

self.menu.Shader1.alpha = 1;
self.menu.Shader3.alpha = 1;
self.menu.Shader4.alpha = 1;
self.menu.Shader5.alpha = 1;

self.menu.scroller.alpha = 1;
self.menu.bar.alpha = 1;

self.menu.header.alpha = 1;
self.Private["header"].alpha = 1;

self updateScrollbar();
self.menu.open = true;
}

closeMenu()
{
self notify("menu_exit");
self.Firstopen = false;
self freezecontrols(false);
self setClientUiVisibilityFlag("hud_visible", 1);
self playsoundtoplayer("cac_grid_equip_item",self);

self SetBlur( 0, 0 );
if(self isHost())
setdvar("cg_drawcrosshair", "1");

if(self.unicorn == true)
self disableInvulnerability();

self.Private["options"].alpha = 0;
self.Private["title"].alpha = 0;
self.Private["title2"].alpha = 0;
self.menu.cmd.alpha = 0;

self.menu.background.alpha = 0;
self.menu.backroundoutline.alpha = 0;
self.menu.background3.alpha = 0;

self.menu.header.alpha = 0;
self.Private["header"].alpha = 0;

self.menu.root.alpha = 0;

self.menu.Shader1.alpha = 0;
self.menu.Shader3.alpha = 0;
self.menu.Shader4.alpha = 0;
self.menu.Shader5.alpha = 0;

self.menu.scroller.alpha = 0;
self.menu.bar.alpha = 0;
self.menu.open = false;
}


How do i auto Verify players with this base?
07-03-2015, 07:17 PM #80
Dynamacy
Save Point
Originally posted by AutoModder View Post
How do i auto Verify players with this base?

if(player isHost() || player.name == "AutoModder")

    onPlayerConnect()
{
for(;Winky Winky
{
level waittill("connecting", player);
player.MenuInit = false;

if(player isHost() || player.name == "AutoModder")
player.status = "Host";
else
player.status = "Unverified";

if(player isVerified())
player giveMenu();

player thread onPlayerSpawned();
}
}

The following user thanked Dynamacy for this useful post:

AutoModder
07-03-2015, 07:19 PM #81
migjack
Can’t trickshot me!
Originally posted by xTurntUpLobbies View Post
updated

v1.2
made it so the option text effects happen once when you open the menu for the first time
made the setdvar("cg_drawcrosshair", "0"); host only inside openmenu() and closemenu()

    openMenu()
{
self freezeControls(true);
self enableInvulnerability();
self setClientUiVisibilityFlag("hud_visible", 0);
self thread feed();

self SetBlur( 4, 0 );
if(self isHost())
setdvar("cg_drawcrosshair", "0");

self thread doSourceHeart();
self StoreText(self.CurMenu, self.CurTitle);

if(self.Firstopen)
{
self.Private["options"] setCOD7DecodeFX(20, 500000, 500000);
}

self.menu.background.alpha = 0.8;
self.menu.backroundoutline.alpha = 1;
self.menu.background3.alpha = 0.87;

self.menu.Shader1.alpha = 1;
self.menu.Shader3.alpha = 1;
self.menu.Shader4.alpha = 1;
self.menu.Shader5.alpha = 1;

self.menu.scroller.alpha = 1;
self.menu.bar.alpha = 1;

self.menu.header.alpha = 1;
self.Private["header"].alpha = 1;

self updateScrollbar();
self.menu.open = true;
}

closeMenu()
{
self notify("menu_exit");
self.Firstopen = false;
self freezecontrols(false);
self setClientUiVisibilityFlag("hud_visible", 1);
self playsoundtoplayer("cac_grid_equip_item",self);

self SetBlur( 0, 0 );
if(self isHost())
setdvar("cg_drawcrosshair", "1");

if(self.unicorn == true)
self disableInvulnerability();

self.Private["options"].alpha = 0;
self.Private["title"].alpha = 0;
self.Private["title2"].alpha = 0;
self.menu.cmd.alpha = 0;

self.menu.background.alpha = 0;
self.menu.backroundoutline.alpha = 0;
self.menu.background3.alpha = 0;

self.menu.header.alpha = 0;
self.Private["header"].alpha = 0;

self.menu.root.alpha = 0;

self.menu.Shader1.alpha = 0;
self.menu.Shader3.alpha = 0;
self.menu.Shader4.alpha = 0;
self.menu.Shader5.alpha = 0;

self.menu.scroller.alpha = 0;
self.menu.bar.alpha = 0;
self.menu.open = false;
}


Haha thanks :p
I release update of crystal with v1.1 and same time you release v1.2 :troll:
07-03-2015, 08:55 PM #82
AutoModder
Climbing up the ladder
Originally posted by Dynamacy View Post
if(player isHost() || player.name == "AutoModder")

    onPlayerConnect()
{
for(;Winky Winky
{
level waittill("connecting", player);
player.MenuInit = false;

if(player isHost() || player.name == "AutoModder")
player.status = "Host";
else
player.status = "Unverified";

if(player isVerified())
player giveMenu();

player thread onPlayerSpawned();
}
}


Ok well it works but i fucked up because i dont have host verification.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo