UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

No gametype selection

broken avatar :(
Created 11 years ago
by Erebuss
0 Members and 1 Guest are viewing this topic.
2,043 views
broken avatar :(
×
broken avatar :(
Location: lt
Date Registered: 8 January 2015
Last active: 7 years ago
Posts
10
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Erebuss's Groups
Erebuss's Contact & Social Links
Hello. I want to remove gametype selection screen on start of my map. I want it to be classic all the time.

And another question: when using script placer I forgot to enable boss round. Where I can enable it without using script placer again?

Thanks in advance
broken avatar :(
×
broken avatar :(
Location: ar
Date Registered: 12 August 2013
Last active: 11 years ago
Posts
14
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
kkrotto's Groups
kkrotto's Contact & Social Links
Like me, and as I do so the dogs spawners?
broken avatar :(
×
broken avatar :(
Location: caCanada
Date Registered: 9 May 2014
Last active: 1 month ago
Posts
399
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Signature
×
GTTClan's Groups
Huh...?  ???

I'm not even sure what your issue is right now...

To enable dogs, just go into your _Zombiemode, scroll down till you see:
Code Snippet
Plaintext
maps\_zombiemode_auto_turret::init();

Under this, Copy and paste this line of code:
Code Snippet
Plaintext
maps\_zombiemode_dogs::init();


Next, Press F3 on your keyboard or Edit>Find, and type in Dogs. Press enter till you see:

Code Snippet
Plaintext
maps\_zombiemode_dogs::special_dog_spawn( undefined, 1 );

Now DO NOT REMOVE THIS but, uptop, there should be lines like:

Code Snippet
Plaintext
}
else if ( level.round_number > 15 && mixed_spawns < 1 )
{
if ( RandomInt(100) < 1 )
{
spawn_dog = true;

Change FALSE in all of the lines to TRUE to have dogs.

Then, SAVE and open up your LAUNCHER.
Inside Launcher, go to MOD BUILDER.
Select your map and TICK the boxes you need.

Then inside the map.csv, under your first line of code(Include, zombiemode) , go to the end of it and press ENTER, type in

Code Snippet
Plaintext
include,zombiemode_dogs

Done. You should have dogs now.

If this didn't work, then Script Placer that is being used must of deleted all the lines.
Either way, no one really likes dogs and I hope this was what you needed.  :-\ Since your issue wasn't very clear.

Not sure what the "No GameType Selection" Means. Are you talking about the UGX MOD? Please Clarify.
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 3 years ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
main.menu
Code Snippet
Plaintext
#define SET_DEFAULT_MAP_AND_MODE\

Inside there replace the exec code with:
Code Snippet
Plaintext
exec "set ui_gametype zom; set ui_mapname yourmapname"

To remove the gametype selection try this menu, save this as pc_gamesetup_coop.menu both belong in /ui/
What I suggest copy main.menu from raw/ui to mods/modname/ui rename the main.menu to something_main.menu and the menu below as something_pc_gamesetup_coop.menu then in mod.csv include them both.
menufile,ui/something_main.menu
menufile,ui/something_pc_gamesetup_coop.menu
Code Snippet
Plaintext
#include "ui/menudef.h"
#include "ui_mp/common_macro.inc"

#define CHOICE_X_START 30
#define CHOICE_Y_START 40

#define SIGNED_IN_RECT -350 60 250 15

#define CHOICE_SEP_1 4
#define CHOICE_SEP_2 8

#define CHOICE_GROUP "pc_gamesetup_coop"

#define STYLE_PC 1
#include "ui_mp/menustyle.inc"

#undef CHOICE_SIZE_X
#define CHOICE_SIZE_X 180

#include "ui/choices_setup_common.menu"
#include "ui/online_status.inc"

{

// Coop Settings //
menuDef
{
name "pc_gamesetup_coop"
fullscreen 1
rect 0 0 640 480
soundloop "music_mainmenu"
focuscolor COLOR_FOCUSED
style 1
border 0
onEsc  { close self; }
onOpen
{
uiScript loadArenas;
exec "party_editingsettings 1"
}
onClose
{
exec "party_editingsettings 0"
exec "updategamerprofile";
exec "xupdatepartystate";
}

#include "ui/blurredbg.inc"
#include "ui/bg.inc"
#undef BACK_ENABLE
#define BACK_ENABLE 0
#include "ui/navcontrols.inc"

// draws signin status
SIGNIN_STATUS

#define LOCAL_GAMERULES_ACTION \
uiScript openMenuOnDvar "ui_netGameTypeName" cmp "settings_quick_cmp";
// uiScript openMenuOnDvar "ui_netGameTypeName" zom "settings_quick_zom"; \

CHOICE_MENU_TITLE_VIS( "SERVER SETUP", 1 )

#undef CHOICE_DVAR_WIDTH_OFFSET
#define CHOICE_DVAR_WIDTH_OFFSET 170
// server settings =========================================
//CHOICE_DVARLIST_VIS( 1, "@MENU_GAME_TYPE", "", ITEM_TYPE_MULTI, ownerdraw UI_NETGAMETYPE textaligny 20, execOnDvarStringValue "ui_netGametypeName" zom "set ui_hostOptions 0; set ui_hostOptionsEnabled 0;";, 1 )
CHOICE_DVAREDIT_VIS( 2, "@MENU_SERVER_NAME", "sv_hostname", 20, 9, ;, 1 )
CHOICE_DVAREDIT_VIS( 3, "@MENU_PASSWORD1", "g_password", 12, 9, ;, 1 ) //CHOICE_DVARYESNO( 10, "@MENU_FRIENDLY_INDICATORS", "scr_drawfriend", ; )


#undef CHOICE_DVAR_WIDTH_OFFSET
#define CHOICE_DVAR_WIDTH_OFFSET 60

CHOICE_SEPARATOR( CHOICE_SEP_1 )
CHOICE_DVAREDIT_NUMERIC( 4, "@MENU_MAXIMUM_PLAYERS", "party_maxplayers", 3, ; )
CHOICE_DVAREDIT_NUMERIC( 5, "@MENU_MINIMUM_PING", "sv_minping", 4, ; )
CHOICE_DVAREDIT_NUMERIC( 6, "@MENU_MAXIMUM_PING", "sv_maxping", 4, ; )
CHOICE_DVARYESNO( 7, "@MENU_VOICECHATCOLON", "sv_voice", ; )
//CHOICE_DVARYESNO( 8, "@MPUI_PUNKBUSTERWITHCOLONANDTWOSPACES", "sv_punkbuster", ; )

//CHOICE_SEPARATOR( CHOICE_SEP_2 )

//CHOICE_BUTTON_VIS( 9, "@MENU_GAME_TYPE_SETTINGS", LOCAL_GAMERULES_ACTION, when( dvarString( ui_netGameType ) != 1 ) )
//CHOICE_DBUTTON_VIS( 9, "@MENU_GAME_TYPE_SETTINGS", when( dvarString( ui_netGameType ) == 1 ) )

// map selection ===========================================
//DUKIP - removed, visible 0 instead of visible 1.
itemDef
{
name maplist
rect -260 210 200 195 HORIZONTAL_ALIGN_RIGHT VERTICAL_ALIGN_TOP //404 271 192 130
type ITEM_TYPE_LISTBOX
style WINDOW_STYLE_FILLED
elementwidth 120
elementheight 22
origin 0 0
textfont UI_FONT_NORMAL
textscale CHOICE_TEXTSIZE
elementtype LISTBOX_TEXT
feeder FEEDER_ALLMAPS
textstyle ITEM_TEXTSTYLE_SHADOWED
textalignx 6
textaligny 0
outlinecolor 1 1 1 0.2
forecolor CHOICE_TEXTCOLOR
focusColor CHOICE_TEXTCOLOR
disableColor CHOICE_TEXTCOLOR
backcolor 0 0 0 0
border 1
bordersize 1
bordercolor 1 1 1 0.15
visible 0
columns 1 2 190 25
mouseEnter { play "mouse_over"; setitemcolor maplist bordercolor 1 1 1 0.55 }
mouseExit { setitemcolor maplist bordercolor 1 1 1 0.15 }
}

itemDef
{
name mappreview
style 0
ownerdraw UI_MAPPREVIEW
rect -260 75 200 135 HORIZONTAL_ALIGN_RIGHT VERTICAL_ALIGN_TOP
border 0
bordercolor .5 .5 .5 .5
origin 0 0
visible 0
decoration
}

// buttons =================================================

itemDef
{
name back
text "@MENU_BACK"
type 1
style WINDOW_STYLE_FILLED
forecolor TEXTBUTTON_COLOR
textstyle ITEM_TEXTSTYLE_SHADOWED
rect -250 -26 40 20 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_BOTTOM
textfont UI_FONT_NORMAL
textalign ITEM_ALIGN_LEFT
textscale TEXTSIZE_SMALL
textaligny 18
visible 1
mouseEnter { play "mouse_over"; }
action
{
play "mouse_click";
exec "xupdatepartyplaylist";
close self;
}
}
}
}
}

This is how it should look when you open the gamesetup menu now

(Apart from the AW background that's my own thing.)

 
Loading ...