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

[Script] UGX Jukebox v1.0.4

HOT
broken avatar :(
Created 11 years ago
by treminaor
0 Members and 1 Guest are viewing this topic.
42,959 views
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 8 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Signature
If Java had true garbage collection, most programs would delete themselves upon execution.
×
treminaor's Groups
UGX Administrator
UGX Team Member
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.
Updated to v1.0.3:
*Fixed a bug where you receive a gun with full ammo back after the button pushing anim plays for the box, instead of reviving your current ammo back.

To update from v1.0.2, just copy .rar/mods/MAPNAME/maps/ugx_jukebox.gsc into your map's mod folder, overwriting the old one.
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 8 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
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.
Download link updated to v1.0.4.

Changelog for v1.0.4:
* Moved all songs to the "music" channel in the soundalias so that volume can be changed with the music slider in World at War's audio options.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 3 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.
Running this on UGX v1.0.3, for some reason when I choose a song, it shows the animation of the record that it's going to play, but then it does the animation a second after for when the song ends, so basically, no songs are playing.
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 8 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
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.
Running this on UGX v1.0.3, for some reason when I choose a song, it shows the animation of the record that it's going to play, but then it does the animation a second after for when the song ends, so basically, no songs are playing.
It sounds like your sounds are not added correctly. The jukebox detects how long to spin the record based on the length of the sound files, so if its ending immediately then its not able to play the sound file.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 3 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.
It sounds like your sounds are not added correctly. The jukebox detects how long to spin the record based on the length of the sound files, so if its ending immediately then its not able to play the sound file.

All the sound files are at

Call of Duty World at War\raw\sound\ugx_mod\music\jukebox

I've tried extracting the archive 2-3 times to my root directory, just to make sure.
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 8 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
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.
All the sound files are at

Call of Duty World at War\raw\sound\ugx_mod\music\jukebox

I've tried extracting the archive 2-3 times to my root directory, just to make sure.
Yes but that is not the only step for adding the sounds. You also need to have the include line in one of your FF csv's and compile the FF which corresponds to the CSV you chose.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 3 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.
Yes but that is not the only step for adding the sounds. You also need to have the include line in one of your FF csv's and compile the FF which corresponds to the CSV you chose.

I followed the tutorial and see nothing about an include line :c

I made sure I added these to my mod.csv box

Code Snippet
Plaintext
sound,ugx_jukebox_music,,all_sp
xmodel,jukebox_on
weapon,sp/jukebox_button_press
xanim,jukebox_button_press
fx,ugx/jukebox_idle
menufile,ui/scriptmenus/ugx_jukebox.menu
material,jukebox_bg
xanim,jukebox_start_anim
xanim,jukebox_end_anim
xanim,jukebox_loop_anim

and added the lines around the gamestate in mapname.gsc

maps\_soul_chest::PreCache_soul_chest();

before and
   
thread maps\ugx_jukebox::jukebox_init();

after

Post Merge: March 09, 2014, 06:38:43 am
Well ok... so adding sound,ugx_jukebox_music,,all_sp to ugx_mod's mod.csv allowed it to work.

That makes me wanna ask, am I suppose to put any custom lines for mod.csv for ugx_mod?
Last Edit: March 09, 2014, 06:38:43 am by ProGamerzFTW
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 8 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
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.
I followed the tutorial and see nothing about an include line :c

I made sure I added these to my mod.csv box

Code Snippet
Plaintext
sound,ugx_jukebox_music,,all_sp
xmodel,jukebox_on
weapon,sp/jukebox_button_press
xanim,jukebox_button_press
fx,ugx/jukebox_idle
menufile,ui/scriptmenus/ugx_jukebox.menu
material,jukebox_bg
xanim,jukebox_start_anim
xanim,jukebox_end_anim
xanim,jukebox_loop_anim

and added the lines around the gamestate in mapname.gsc

maps\_soul_chest::PreCache_soul_chest();

before and
   
thread maps\ugx_jukebox::jukebox_init();

after

Post Merge: March 09, 2014, 06:38:43 am
Well ok... so adding sound,ugx_jukebox_music,,all_sp to ugx_mod's mod.csv allowed it to work.

That makes me wanna ask, am I suppose to put any custom lines for mod.csv for ugx_mod?
You can (and probably should) put them in the ugx mod mod.csv. And those lines you quoted are the include lines I was referring to.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 3 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.
You can (and probably should) put them in the ugx mod mod.csv. And those lines you quoted are the include lines I was referring to.

pfft, ok I fixed it, for SOME reason putting a //Jukebox one line before the sound,ugx_jukebox_music,,all_sp line in ugxm_mapname's mod.csv caused the sound,ugx_jukebox_music,,all_sp to be skipped. -.-

Edit: This happened before, and I just had to remove and readd that line.
Last Edit: March 09, 2014, 06:48:21 am by ProGamerzFTW
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 8 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
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.
pfft, ok I fixed it, for SOME reason putting a //Jukebox one line before the sound,ugx_jukebox_music,,all_sp line in ugxm_mapname's mod.csv caused the sound,ugx_jukebox_music,,all_sp to be skipped. -.-

Edit: This happened before, and I just had to remove and readd that line.
Yep that is an error Ive noticed with the Launcher program before. If you put a comment without a space after it //Jukebox instead of // Jukebox, it ignores the line immediately after it...  :poker:

 
Loading ...