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

Cant Script Solo Button.

broken avatar :(
Created 11 years ago
by WussupFellas
0 Members and 1 Guest are viewing this topic.
2,515 views
broken avatar :(
×
broken avatar :(
Location: ptLisboa
Date Registered: 21 June 2014
Last active: 8 months ago
Posts
311
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Keep Scrolling...
Signature
I Am New Into Mapping And All Of That Kind Of Stuff.I Appreciate Every Help Provided!
×
WussupFellas's Groups
WussupFellas's Contact & Social LinksDonHugoHdinis09Hdinis09@hdinis09
I have followed the tutorial from
http://ugx-mods.com/wiki/index.php?title=Adding_a_Solo_Button
however in the MAPNAME.menu i cant find what they want in line 457 or anywhere(used find option)
Code Snippet
Plaintext
CHOICE_BUTTON_VIS( 1, "@MENU_SOLO_CAP", SETUP_ACTION_SOLO; LOCAL_ZOMBIE_RESET, when( !localvarBool( ui_hideBack ) ); )
What can i do? i bet it is very easy,but i can find that line... should i just paste this in the file?:
Code Snippet
Plaintext
CHOICE_BUTTON_VIS( 1, "*SOLO_BUTTON_TEXT*", exec "map *MAPNAME*";, when( !localvarBool( ui_hideBack ) ); )
Last Edit: November 28, 2015, 01:31:57 pm by LegendHugo
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 4 months ago
Posts
1,863
Respect
Forum Rank
Zombie Destroyer
Primary Group
Mapper
My Groups
More
Personal Quote
ok
Signature
Aye mate you don't know me so y don't you shut tf up ok buddy :)

×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Mapper Has released one or more maps to the UGX-Mods community.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links
If you haven't modified your main.menu file it should be there.

Also I assume when you say "mapname.menu" you've already copied main.menu and renamed it to that? (Also doesn't have to be mapname.menu).
broken avatar :(
×
broken avatar :(
Location: ptLisboa
Date Registered: 21 June 2014
Last active: 8 months ago
Posts
311
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Keep Scrolling...
×
WussupFellas's Groups
WussupFellas's Contact & Social LinksDonHugoHdinis09Hdinis09@hdinis09
If you haven't modified your main.menu file it should be there.

Also I assume when you say "mapname.menu" you've already copied main.menu and renamed it to that? (Also doesn't have to be mapname.menu).
I never used that file before i grabbed a fresh one from raw/ui
I changed the mapname.menu to like nazi_apocalypse.menu.
However that script does not appear in the file.
What do you mean it doesnt have to be mapname.menu?
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 4 months ago
Posts
1,863
Respect
Forum Rank
Zombie Destroyer
Primary Group
Mapper
My Groups
More
Personal Quote
ok
×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Mapper Has released one or more maps to the UGX-Mods community.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links
I never used that file before i grabbed a fresh one from raw/ui
I changed the mapname.menu to like nazi_apocalypse.menu.
However that script does not appear in the file.




What are you using to edit? Try Notepad++ or Sublime.

What do you mean it doesnt have to be mapname.menu?

You can name it whatever you want, just make sure you call it with that same name also.
Last Edit: November 28, 2015, 03:09:23 pm by Scobalula
broken avatar :(
×
broken avatar :(
Location: ptLisboa
Date Registered: 21 June 2014
Last active: 8 months ago
Posts
311
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Keep Scrolling...
×
WussupFellas's Groups
WussupFellas's Contact & Social LinksDonHugoHdinis09Hdinis09@hdinis09
(Image removed from quote.)


What are you using to edit? Try Notepad++ or Sublime.

You can name it whatever you want, just make sure you call it with that same name also.
I used sublime.
I reinstalled te raw/ui part and i have found it and changed it, however in the menu it keeps appearing "Solo" instead of "Play Apocalypse-Solo"
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 4 months ago
Posts
1,863
Respect
Forum Rank
Zombie Destroyer
Primary Group
Mapper
My Groups
More
Personal Quote
ok
×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Mapper Has released one or more maps to the UGX-Mods community.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links
I used sublime.
I reinstalled te raw/ui part and i have found it and changed it, however in the menu it keeps appearing "Solo" instead of "Play Apocalypse-Solo"

If there's a call for main.menu in mod.ff box, remove it.
broken avatar :(
×
broken avatar :(
Location: ptLisboa
Date Registered: 21 June 2014
Last active: 8 months ago
Posts
311
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Keep Scrolling...
×
WussupFellas's Groups
WussupFellas's Contact & Social LinksDonHugoHdinis09Hdinis09@hdinis09
i could not understand... sorry. me noob

Double Post Merge: November 28, 2015, 05:31:13 pm
when i build the mod is says on console:
WARNING: menu file not found: ui/nazi_apocalypse.menu
how could it not be found when the file is there?
Last Edit: November 28, 2015, 05:32:59 pm by LegendHugo
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Add the UI file in mods/modname/ui folder and tick in Launcher, add this in mod.csv:
Code Snippet
Plaintext
menufile,ui/nazi_apocalypse.menu
then build mod, done
Marked as best answer by LegendHugo 11 years ago
broken avatar :(
×
broken avatar :(
Location: ptLisboa
Date Registered: 21 June 2014
Last active: 8 months ago
Posts
311
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Keep Scrolling...
×
WussupFellas's Groups
WussupFellas's Contact & Social LinksDonHugoHdinis09Hdinis09@hdinis09
This is the file on root/raw/ui
http://i.imgur.com/vv7fnE3.png?1
this is the little line i added in order to laucher to find the file
http://i.imgur.com/IR0179P.png?1
what is the problem?



Double Post Merge: November 29, 2015, 10:58:56 am
Found the problem!
Very easy problem really:
in raw/ui the .menu file was called "nazi_setup.menu" what basically makes the file"nazi_setup.menu.menu"
just deleted the ".menu" on raw/ui and the file was found by Launcher.
Thank you guys for your help :)
Big Noob here  :alone:
Last Edit: November 29, 2015, 10:58:56 am by LegendHugo

 
Loading ...