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

menu file cant be loaded

broken avatar :(
Created 9 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
1,281 views
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
i have my menu file in root -> raw -> ui -> scriptmenus -> wardog_pregame.menu and i also have menufile,ui/scriptmenus/wardog_pregame.menu in my mod.csv but yet i still get menu file could not be loaded in game anyone know why

(i am precaching the menu and using OpenMenuNoMouse to open it)









Code Snippet
My Menu
#include "ui/menudef.h"

{
menuDef
{
name "wardog_pregame"
rect -200 -125 400 115 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
focuscolor COLOR_FOCUSED
style WINDOW_STYLE_SHADER
background "white"
forecolor 0 0 0 .5
border WINDOW_BORDER_HORZ
borderSize 1.5
bordercolor 0 0.54 1 0.8
blurWorld 2.0
visible 1

onEsc
{
close self;
}
onClose
{
}
onOpen
{
hide buttonsbg;
}
}
}
Marked as best answer by Deleted User 9 years ago
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 4 months ago
Posts
541
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
ProGamerzFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
in your mod.csv, put a space between // and Menus aka from this

Code Snippet
Plaintext
//Menus

to

Code Snippet
Plaintext
// Menus

There is a bug if you don't have a space there, it ignores the next line.
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
in your mod.csv, put a space between // and Menus aka from this

Code Snippet
Plaintext
//Menus

to

Code Snippet
Plaintext
// Menus

There is a bug if you don't have a space there, it ignores the next line.
i got told this but didn't believe it, but it turns out its true the bug does exist now my menu works thanks so much
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
Yea its a real thing, not sure why though ( assuming due to it being csv, therefore not using ; - endlines )

 
Loading ...