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

Add music in your map

broken avatar :(
Created 5 months ago
by yaybeat
0 Members and 1 Guest are viewing this topic.
279 views
broken avatar :(
×
broken avatar :(
Location: frfrance
Date Registered: 1 January 2024
Last active: 9 days ago
Posts
36
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
yaybeat's Groups
yaybeat's Contact & Social LinksUCw9-Ja0Dx8gymX-Twyov_rQ
Hello , here is simple tutorial for add a music
 
lets go !!
 
1. in you folder map , find your mapname.gsc
 
put this code in main fonction :
 
radio4 = getent( "zmb8_number", "targetname" );
radio4 PlayLoopSound( "mus_number_phone" );
 
2. then in your folder raw/soundalias/zone     in your mapname.csv.all
 
add this soundalias
 
advice for this tutorial , choosen ambiance or hear everywhere
 
for ambiance  mus_number_phone,raw\sound\mus\zombie\pentagon\zmb8_phone.wav,evt_3d,zombie_pentagon,,event,97,97,100,50,500,800,log2,log1,allon,rdefault,5,priority,5,reject,0,0,0,100,100,0,1,3d,loaded,looping,,1,0,98,,default,0,50,150,97,0.45,0.5,no,no,none,1000,no,,both,no,no,,,75,no,no,0,0,wma,yes,no,world,event,no,raw\sound\mus\zombie\pentagon\zmb8_phone.xm4,0,raw\sound\mus\zombie\pentagon\zmb8_phone.mp3,0,raw\sound\mus\zombie\pentagon\zmb8_phone.wav,0,zmb_music,all
 
for script
mus_money_muzak,raw\sound\evt\zombie_global\hellhounds\spawn\money_casino1.wav,evt_3d,,,event,100.00,100,100,2500,8000,10000,curve4,log2,allon,rdefault,2,priority,5,reject,-386,454,0,80,80,0.25,1,3d,loaded,nonlooping,,1,0,96,,default,0,0,0,0,0,0.5,no,no,none,1000,no,,both,no,no,,,75,no,no,0,0,wma,yes,no,world,event,no,raw\sound\evt\zombie_global\hellhounds\spawn\money_casino1.xm4,0,raw\sound\evt\zombie_global\hellhounds\spawn\money_casino1.mp3,0,raw\sound\evt\zombie_global\hellhounds\spawn\money_casino1.wav,0,zmb_common,all
 
for hear everywhere
act_like_you,raw\sound\mus\zombie\theater\murda_music.wav,mus_normal_2d,zombie_theater,,music,97,97,100,0,0,0,default,default,allon,rdefault,5,priority,5,reject,0,0,0,100,100,0,1,2d,streamed,nonlooping,,1,0,0,,music_all,0,0,0,0,0.5,0.5,no,yes,none,1000,no,,both,no,no,,,75,no,yes,0,0,wma,yes,no,world,music,no,discdata\sound\mus\zombie\theater\murda_music.xm4,0,discdata\sound\mus\zombie\theater\murda_music.mp3,0,discdata\sound\mus\zombie\theater\murda_music.wav,0,zmb_music,all
 
important !!! You can change the name of the sound alias. dont forget change the sound alias name in your mapname.gsc
 
 
3.You must now create a folder corresponding to the chosen sound alias.
 
exemple for ambiance , create a folder sound in your folder mods then /mus/zombie then pentagon
you can examine the sound path alias     "sound\mus\zombie\pentagon\zmb8_phone"
 
 
4. Once created, you must convert your music using BASS DROP software.
 
Download Bass drop :  https://mega.nz/folder/aQ93xBCb#UV2z-1EUWVLbfQQAhSf_Fg
 
use a Wav format for your song!!!!
 
in the software , choosen EXPORT ADPCM , no need to check MARK as looping
 
After conversion, the software creates a folder containing your converted music,
located in the same directory as the software. This folder, named "exported_files", is then created.
 
Take your converted audio file, then place it in the folder created before "sound\mus\zombie\pentagon\zmb8_phone", so in the pentagon folder.
 
 
5. Go to radiant
 
In Radiant you can use trigger_multiple, trigger_use or script_model to define your key and value.
 
exemple with script_model
 
does right click in you 2d plan , script/script_model
 
choosen your model , then put this key and value in your model ,
 
click in your model , push N , then write    targetname   zmb8_number
 
 
6. Build and compile your map
 
then , you're have finish  !!!!!!!
 
 
Bonus
 
 
1.dowload the code and put in your mapname.gsc
 
copy and paste thread setup_point_zone(); and the setup_point_zone() fonction
 
https://mega.nz/folder/aQ93xBCb#UV2z-1EUWVLbfQQAhSf_Fg
 
2. in radiant
 
right click in 2d plan , choosen trigger_trigger_multipe
 
the click in your trigger_multiple , Push N and write this
 
script_noteworthy     zone_a_points
 
if does'nt work add this in your trigger_multiple
 
targetname    zone_points_trigger
 
 
 
 
 
 
 
 
 
 
Last Edit: December 29, 2025, 10:04:57 pm by yaybeat

 
Loading ...