Answered How to Add Mod Menus/Modded Gamemodes Into A BO2 Mod menu

Jaames.559

Veteran
Messages
18
Reaction score
2
Points
783
Ok so I was wondering how to add Mod menus and modded gamemodes into a mod menu but i really dont wanna decompile and look through a source that im not supposed to so does anyone know how to add modded gamemodes? Thx
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,327
Reaction score
763
Points
973
Starting off you can do something like so.
81ca66dea659170074aaf7c038a7eaeb.png


Use this function.
Code:
changeGamemode( value )
{
    setdvar("gamemode", value);
    map_restart( false );
}

And then just paste the sources into the < gamemode >_load.

I might release a game mode changer source since a few people keep asking.
 

DF_AUS

Moderator
Staff member
Head Staff Team
Donator
Messages
582
Reaction score
826
Points
878
Starting off you can do something like so.
81ca66dea659170074aaf7c038a7eaeb.png


Use this function.
Code:
changeGamemode( value )
{
    setdvar("gamemode", value);
    map_restart( false );
}

And then just paste the sources into the < gamemode >_load.

I might release a game mode changer source since a few people keep asking.
A gamemode loader ( with source ) was already released years ago by xTUL, it's relatively straight forward for new developers to use as a reference.
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,327
Reaction score
763
Points
973
A gamemode loader ( with source ) was already released years ago by xTUL, it's relatively straight forward for new developers to use as a reference.
Fair enough.
Not saying its a hard thing.
I just stated that I've been asked by a few on how todo it, so I just made a basic layout.

Also, the thread where he released his source is no longer available.
 

DF_AUS

Moderator
Staff member
Head Staff Team
Donator
Messages
582
Reaction score
826
Points
878
Fair enough.
Not saying its a hard thing.
I just stated that I've been asked by a few on how todo it, so I just made a basic layout.

Also, the thread where he released his source is no longer available.
Fair enough.
I will add the source for the gamemode loader anyways if the op would like to use it.
Just saying, i don't think a release is required for a few lines of code.

You do not have permission to view link Log in or register now.
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,327
Reaction score
763
Points
973
Fair enough.
I will add the source for the gamemode loader anyways if the op would like to use it.
Just saying, i don't think a release is required for a few lines of code.

You do not have permission to view link Log in or register now.
Fair enough.
A few lines, eh... sure.
The reason being is because it's a layout to get whomever started / add to their menu with ease.
Its meant to clean & an easy starter for people wanting to make new game modes and or just add older ones.

But if you wish, I wont.. idc.
 

DF_AUS

Moderator
Staff member
Head Staff Team
Donator
Messages
582
Reaction score
826
Points
878
Fair enough.
A few lines, eh... sure.
The reason being is because it's a layout to get whomever started / add to their menu with ease.
Its meant to clean & an easy starter for people wanting to make new game modes and or just add older ones.

But if you wish, I wont.. idc.
I never said " don't release it ", was just my opinion, i have also seen you on many accounts inform other members about releasing material that is new.
Releasing a gamemode loader to assist people with implementing it into their own menu sources....is pointless ( my opinion ).
My approach would be to create a thread, with a step by step guide with adding/changing gamemodes to a basic menu source, this would be more relevant.
But it's not against the rules to release your idea, so do what you think is best.
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,327
Reaction score
763
Points
973
I never said " don't release it ", was just my opinion, i have also seen you on many accounts inform other members about releasing material that is new.
Releasing a gamemode loader to assist people with implementing it into their own menu sources....is pointless ( my opinion ).
My approach would be to create a thread, with a step by step guide with adding/changing gamemodes to a basic menu source, this would be more relevant.
But it's not against the rules to release your idea, so do what you think is best.
Yeah? Already released stuff shouldn't be recycled as new.
Which I havent. A game mode loader, no not new.
Which is why it hasn't been released, I said I would if people kept asking.
 
Last edited:

DF_AUS

Moderator
Staff member
Head Staff Team
Donator
Messages
582
Reaction score
826
Points
878
Yeah? Already released stuff shouldn't be recycled as new.
Which I havent. A game mode loader, no not new.
Which is why it hasn't been released, I said I would if people kept asking.
" Other accounts " meaning on many other occasions i have seen you tell other members to release something new.
Again, if people keep asking, a detailed tutorial thread would be more relevant, rather than releasing " another " gamemode loader for people to use as a reference.
 

Jaames.559

Veteran
Messages
18
Reaction score
2
Points
783
Starting off you can do something like so.
81ca66dea659170074aaf7c038a7eaeb.png


Use this function.
Code:
changeGamemode( value )
{
    setdvar("gamemode", value);
    map_restart( false );
}

And then just paste the sources into the < gamemode >_load.

I might release a game mode changer source since a few people keep asking.
Thx ill add to my menu and let u know it how it goes
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,327
Reaction score
763
Points
973
a tut would help me, i have used the gamemode loader by tul and still have issues :disappointed:

other modding sites don't have tuts either, plz create one :smile:
Since you limit people who can open your profile, send me a pm and I'll help you.
 
Top