GSC Bossam's Minimap Menu

BullyWiiPlaza

Modder
Messages
214
Points
593
Sorry Bossam but the minimap mods aren't a big deal anyway. It's just the shaders and the well-known setupminimap() function so enjoy leeching, guys :smile:
Code:
self add_option("MiniMapsMenu", "Comics MiniMap", ::changeminimap1);
self add_option("MiniMapsMenu", "Octane MiniMap", ::changeminimap2);
self add_option("MiniMapsMenu", "Static MiniMap", ::changeminimap3);
self add_option("MiniMapsMenu", "Facebook MiniMap", ::changeminimap9);
self add_option("MiniMapsMenu", "Twitter MiniMap", ::changeminimap4);
self add_option("MiniMapsMenu", "Treyarch MiniMap", ::changeminimap5);
self add_option("MiniMapsMenu", "BO2 MiniMap", ::changeminimap6);
self add_option("MiniMapsMenu", "Green MiniMap", ::changeminimap7);
self add_option("MiniMapsMenu", "White MiniMap", ::changeminimap8);
self add_option("MiniMapsMenu", "PS3 MiniMap", ::changeminimap10);
self add_option("MiniMapsMenu", "XBOX MiniMap", ::changeminimap11);
self add_option("MiniMapsMenu", "Nuclear MiniMap", ::changeminimap12);
self add_option("MiniMapsMenu", "Graffiti MiniMap", ::changeminimap13);
self add_option("MiniMapsMenu", "Bacon MiniMap", ::changeminimap14);
self add_option("MiniMapsMenu", "Blue MiniMap", ::changeminimap15);
self add_option("MiniMapsMenu", "Cyborg MiniMap", ::changeminimap16);
self add_option("MiniMapsMenu", "Party MiniMap", ::changeminimap17);
Code:
changeminimap1()
{
    if(self.changeminimap1on == 0)
    {
        self.changeminimap1on = 1;
        maps/mp/_compass::setupminimap("em_bg_ani_comics");
        self iprintlnbold("^5Comics ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap1on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Comics ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap2()
{
    if(self.changeminimap2on == 0)
    {
        self.changeminimap2on = 1;
        maps/mp/_compass::setupminimap("em_bg_ani_octane");
        self iprintlnbold("^5Octane ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap2on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Octane ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap3()
{
    if(self.changeminimap3on == 0)
    {
        self.changeminimap3on = 1;
        maps/mp/_compass::setupminimap("compass_static");
        self iprintlnbold("^5Static ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap3on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Static ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap4()
{
    if(self.changeminimap4on == 0)
    {
        self.changeminimap4on = 1;
        maps/mp/_compass::setupminimap("menu_lobby_icon_twitter");
        self iprintlnbold("^5Twitter ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap4on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Twitter ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap5()
{
    if(self.changeminimap5on == 0)
    {
        self.changeminimap5on = 1;
        maps/mp/_compass::setupminimap("lui_loader_no_offset");
        self iprintlnbold("^5Treyarch ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap5on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Treyarch ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap6()
{
    if(self.changeminimap6on == 0)
    {
        self.changeminimap6on = 1;
        maps/mp/_compass::setupminimap("logo");
        self iprintlnbold("^5Black Ops 2 ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap6on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Black Ops 2 ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap7()
{
    if(self.changeminimap7on == 0)
    {
        self.changeminimap7on = 1;
        maps/mp/_compass::setupminimap("menu_camo_mtx_w115_32");
        self iprintlnbold("^5Green ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap7on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Green ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap8()
{
    if(self.changeminimap8on == 0)
    {
        self.changeminimap8on = 1;
        maps/mp/_compass::setupminimap("demo_timeline_bookmark");
        self iprintlnbold("^5White ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap8on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5White ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap9()
{
    if(self.changeminimap9on == 0)
    {
        self.changeminimap9on = 1;
        maps/mp/_compass::setupminimap("menu_lobby_icon_facebook");
        self iprintlnbold("^5Facebook ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap9on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Facebook ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap10()
{
    if(self.changeminimap10on == 0)
    {
        self.changeminimap10on = 1;
        maps/mp/_compass::setupminimap("ps3_controller_top");
        self iprintlnbold("^5PS3 Controller ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap10on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5PS3 Controller ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap11()
{
    if(self.changeminimap11on == 0)
    {
        self.changeminimap11on = 1;
        maps/mp/_compass::setupminimap("xenon_controller_top");
        self iprintlnbold("^5XBOX Controller ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap11on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5XBOX Controller ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap12()
{
    if(self.changeminimap12on == 0)
    {
        self.changeminimap12on = 1;
        maps/mp/_compass::setupminimap("hud_medals_nuclear");
        self iprintlnbold("^5Nuclear ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap12on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Nuclear ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap13()
{
    if(self.changeminimap13on == 0)
    {
        self.changeminimap13on = 1;
        maps/mp/_compass::setupminimap("emblem_bg_graf");
        self iprintlnbold("^5Graffiti ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap13on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Graffiti ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap14()
{
    if(self.changeminimap14on == 0)
    {
        self.changeminimap14on = 1;
        maps/mp/_compass::setupminimap("emblem_bg_bacon");
        self iprintlnbold("^5Bacon ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap14on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Bacon ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap15()
{
    if(self.changeminimap15on == 0)
    {
        self.changeminimap15on = 1;
        maps/mp/_compass::setupminimap("emblem_bg_aqua");
        self iprintlnbold("^5Blue ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap15on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Blue ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap16()
{
    if(self.changeminimap16on == 0)
    {
        self.changeminimap16on = 1;
        maps/mp/_compass::setupminimap("em_bg_ani_cybertron");
        self iprintlnbold("^5Cyborg ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap16on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Cyborg ^3Mini Map ^7[^1Off^7]");
    }
}

changeminimap17()
{
    if(self.changeminimap17on == 0)
    {
        self.changeminimap17on = 1;
        maps/mp/_compass::setupminimap("emblem_bg_partyrock");
        self iprintlnbold("^5Party Rock ^3Mini Map ^7[^2On^7]");
    }
    else
    {
        self.changeminimap17on = 0;
        normal = getDvar("mapname");
        maps/mp/_compass::setupminimap("compass_map_" + normal);
        self iprintlnbold("^5Party Rock ^3Mini Map ^7[^1Off^7]");
    }
}
Note:

I used my decompiler for this. These scripts are copied and pasted from
You do not have permission to view link Log in or register now.
.
 
Last edited:

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,616
Points
828
Nice to see some stuff but this is extremly bad coded, you can do it much easier with inputs:

Code:
self add_option("MiniMapsMenu", "MiniMap", ::func_changeminimap, "INPUT"); //INPUT with the name goes here. 

Example:
self add_option("MiniMapsMenu", "Octane MiniMap", ::func_changeminimap, "em_bg_ani_octane");


Reset it with:
::func_changeminimap_reset
Function:
Code:
func_changeminimap(i)
{
    maps/mp/_compass::setupminimap(i);
    self iprintlnbold("Minimap set to ^2"+i+"");
}

func_changeminimap_reset()
{
    maps/mp/_compass::setupminimap();
    self iprintlnbold("Minimap set to ^2Default");
}
 

BullyWiiPlaza

Modder
Messages
214
Points
593
Nice to see some stuff but this is extremly bad coded, you can do it much easier with inputs:

Code:
self add_option("MiniMapsMenu", "MiniMap", ::func_changeminimap, "INPUT"); //INPUT with the name goes here.

Example:
self add_option("MiniMapsMenu", "Octane MiniMap", ::func_changeminimap, "em_bg_ani_octane");


Reset it with:
::func_changeminimap_reset
Function:
Code:
func_changeminimap(i)
{
    maps/mp/_compass::setupminimap(i);
    self iprintlnbold("Minimap set to ^2"+i+"");
}

func_changeminimap_reset()
{
    maps/mp/_compass::setupminimap();
    self iprintlnbold("Minimap set to ^2Default");
}
Yeah, even people like Bossam seem to be coding illiterates. Lmao, what a sad community
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,616
Points
828
I don't really care, I won't leak anyone's full menu without very good reasons I guess
I think you should release Bossamas V6 because he (like @Liam said) gave never credits. (Small Story: He released a video of his v6 and someone ask for the shader which he used in the welcome message (it was the 3rd loading think). Bossam answered: That it's private... and that's wrong I released a Shader list with this shader a long time before so I join the converstation. After that the most people agree me. So Bossam starts spamming with his fake accounts that I'm lying, but I checked the email and it was the same like his contact mail, so it was his account. -> when I write him that, he started a conversation via skype and admitted that he took the shader of my list. So I really don't think we need someone like him in out community, and before someone buy his v6 for much moneys, lets release it here) :grinning: Also he said about his V6 this:
You do not have permission to view link Log in or register now.
+ he sells his source code.


Are these really not enough reasons?
 

Syndicate

Modder
Messages
677
Points
483
so hes gonna sell his source code, which has the codes from nearly every Modder in the GSC community? that's the definition of a LeechHole (Leecher + arsehole)
 

Top