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

How To Add Jukebox Into Map?

broken avatar :(
Created 11 years ago
by WussupFellas
0 Members and 1 Guest are viewing this topic.
2,780 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 want to add a Jukebox in My Map so i can play some of my favourite musics in-game.
I would like to know where can i get a jukebox model(prefab if possible), and how to add musics to it !
Thank you guys
 :nyan:
Marked as best answer by LegendHugo 11 years ago
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
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
What do i change when adding a new song?

add_song(display_name, soundalias_name)
{
   level.jukebox["songs"][display_name]["name"] = soundalias_name;
}


what do i change in the script, for example add a song named: "beach"(just an example xD)?
Last Edit: November 12, 2015, 06:48:21 pm by LegendHugo
broken avatar :(
×
broken avatar :(
[UGX] Developer
Location: nlLimburg, Netherlands
Date Registered: 28 October 2013
Last active: 2 years ago
Posts
764
Respect
Forum Rank
The Decider
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
[UGX] Developer
×
Lukkie1998'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.
Box Mappers Elite
Box Mappers Elite
Mapper Has released one or more maps to the UGX-Mods community.
UGX Chat Moderator Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
2015 Participant
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
What do i change when adding a new song?

add_song(display_name, soundalias_name)
{
   level.jukebox["songs"][display_name]["name"] = soundalias_name;
}


what do i change in the script, for example add a song named: "beach"(just an example xD)?

The first argument (display_name) is the song's display name which shows on the Jukebox menu. The second argument (soundalias_name) is the soundalias name, which is the soundalias name that corresponds to the display name

Lukkie1998
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?


add_song(beach, beach)
{
   level.jukebox["songs"][beach]["name"] = beach;
}

i have no idea really
broken avatar :(
×
broken avatar :(
[UGX] Developer
Location: nlLimburg, Netherlands
Date Registered: 28 October 2013
Last active: 2 years ago
Posts
764
Respect
Forum Rank
The Decider
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
[UGX] Developer
×
Lukkie1998'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.
Box Mappers Elite
Box Mappers Elite
Mapper Has released one or more maps to the UGX-Mods community.
UGX Chat Moderator Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
2015 Participant
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
this?


add_song(beach, beach)
{
   level.jukebox["songs"][beach]["name"] = beach;
}

i have no idea really
add_song()
{
   level.jukebox["songs"]["beach"]["name"] = "beach";
}

You need to put "" around strings.

Lukkie1998
Last Edit: November 12, 2015, 07:13:06 pm by lukkie1998
broken avatar :(
×
broken avatar :(
RadihaX
Location: caCanada
Date Registered: 2 September 2012
Last active: 5 years ago
Posts
978
Respect
Forum Rank
The Decider
Primary Group
Mapper Elite
My Groups
More
My Contact & Social Links
More
Signature
Overrun
Lockdown
Overrun (Black Ops Mod)
Snowglobe
Leviathan
Abandoned School
Ski Resort
Leviathan Redux
×
JBird632'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 Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
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
JBird632's Contact & Social LinksJBird632JBird632JBird632JBird632JBird632Mapper
Don't edit the function, all u have to do is to have the jukebox setup normally and call this line somewhere in your nazi_zombie_mapname.gsc:
Code Snippet
Plaintext
thread maps\ugx_jukebox::add_song("Victory Song", "victory");
The "Victory Song" is displayed in the jukebox, and "victory" is the name of the sound alias
And lukkie... really man... really  :please:
Last Edit: November 12, 2015, 07:14:30 pm by JBird632
broken avatar :(
×
broken avatar :(
[UGX] Developer
Location: nlLimburg, Netherlands
Date Registered: 28 October 2013
Last active: 2 years ago
Posts
764
Respect
Forum Rank
The Decider
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
[UGX] Developer
×
Lukkie1998'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.
Box Mappers Elite
Box Mappers Elite
Mapper Has released one or more maps to the UGX-Mods community.
UGX Chat Moderator Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
2015 Participant
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Don't edit the function, all u have to do is to have the jukebox setup normally and call this line somewhere in your nazi_zombie_mapname.gsc:
Code Snippet
Plaintext
thread maps\ugx_jukebox::add_song("Victory Song", "victory");
The "Victory Song" is displayed in the jukebox, and "victory" is the name of the sound alias
And lukkie... really man... really  :please:
Idk, first of all i'm just trying to help. I have never used the ugx jukebox so I don't know what functions are called and which have to be called. And i'm typing on my phone which is not really useful either.

Lukkie1998
broken avatar :(
×
broken avatar :(
RadihaX
Location: caCanada
Date Registered: 2 September 2012
Last active: 5 years ago
Posts
978
Respect
Forum Rank
The Decider
Primary Group
Mapper Elite
My Groups
More
My Contact & Social Links
More
×
JBird632'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 Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
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
JBird632's Contact & Social LinksJBird632JBird632JBird632JBird632JBird632Mapper
Idk, first of all i'm just trying to help. I have never used the ugx jukebox so I don't know what functions are called and which have to be called. And i'm typing on my phone which is not really useful either.

Lukkie1998
I haven't used the script either - but one quick look at the tutorial showed at the very bottom how to add your own song.
broken avatar :(
×
broken avatar :(
[UGX] Developer
Location: nlLimburg, Netherlands
Date Registered: 28 October 2013
Last active: 2 years ago
Posts
764
Respect
Forum Rank
The Decider
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
[UGX] Developer
×
Lukkie1998'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.
Box Mappers Elite
Box Mappers Elite
Mapper Has released one or more maps to the UGX-Mods community.
UGX Chat Moderator Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
2015 Participant
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
I haven't used the script either - but one quick look at the tutorial showed at the very bottom how to add your own song.
Couldn't see that.. i'm on my phone, so a really small screen, and it was the first thing i found. Actually the thing I typed works as well if you call the add_song ()  function :please:

But this thread is not made for us to argue about scripting.. he has been helped, that's the point ;)

Lukkie1998

 
Loading ...