Using an Ambiental Music in a specific zone

Oct 10, 2017
228
12
18
#1
Well. Just that. Using a part of the map on a planet when you cross a choosen music starts, using it like a trigger.
Like Aurillia 's zone or Vulcano from Lok.
 
Oct 10, 2017
228
12
18
#2
I see . Maybe this can clarify my own post. Maybe?...

In bin/scripts/screenplays/poi/  you can read some interesting points. You can find great clues in
"tatooine_jabbas_palace_mobs.lua":




Code:
	jabba_band = {
		{"sy_snootles", 60, -9, 2, 37, 0, 1177487, "Sy Snootles", "themepark_sy_snootles"},
		{"max_rebo", 60, -11, 2, 36, 0, 1177487, "Max Rebo","themepark_music_3"},
		{"droopy_mccool", 60, -13, 2, 37, 0, 1177487, "Droopy McCool","themepark_music_3"},
		{"oola", 60, -10, 2, 43, 180, 1177487, "Oola", "themepark_oola"}
	},

}
 
Jan 16, 2015
106
7
8
42
#3
Aeryna said:
I see . Maybe this can clarify my own post. Maybe?...

In bin/scripts/screenplays/poi/  you can read some interesting points. You can find great clues in
"tatooine_jabbas_palace_mobs.lua":




Code:
	jabba_band = {
		{"sy_snootles", 60, -9, 2, 37, 0, 1177487, "Sy Snootles", "themepark_sy_snootles"},
		{"max_rebo", 60, -11, 2, 36, 0, 1177487, "Max Rebo","themepark_music_3"},
		{"droopy_mccool", 60, -13, 2, 37, 0, 1177487, "Droopy McCool","themepark_music_3"},
		{"oola", 60, -10, 2, 43, 180, 1177487, "Oola", "themepark_oola"}
	},

}
Ambient sounds are set in the datables/environment iff's
 
Oct 10, 2017
228
12
18
#4
Maybe i explained wrongly.
I was to tell about using a specific music to use it on a specific zone for events, like a trigger.
Do you remember "life day events"? , or Darth Vader, Leia visit?, or even those stupid loving care bears from Endor jumping around Kaadara? LOL. Those events had music when you approached them. So i'm sure that's on server side but... where? :shy:
 
Mar 16, 2016
35
3
8
#7
Look, in .ws file.
You can added a sound.file on the world or in the cells.
Take your music, create sound.file and let's go !
 

drdax

New Member
Jun 11, 2015
131
0
0
#8
....as said above, using SIE, open a existing world file .WS -
For example open up naboo.ws .. sort by object path .. find object\soundobject and you will see many entries for various sound objects in the TRE files.. many to chose from - or like above, make your own.

Also meant to add.. for screenplays you can like the example : CreatureObject(pPlayer):playMusicMessage("sound/tut_01_welcome.snd") for specific target
 
Oct 10, 2017
228
12
18
#10
drdax said:
....as said above, using SIE, open a existing world file .WS  -
For example open up naboo.ws .. sort by object path .. find object\soundobject and you will see many entries for various sound objects in the TRE files.. many to chose from - or like above, make your own.

Also meant to add.. for screenplays you can like the example : CreatureObject(pPlayer):playMusicMessage("sound/tut_01_welcome.snd") for specific target
That's very interesting.
 
Oct 10, 2017
228
12
18
#11
Updating this post, you can add ambient music in datatables/interior/interior.iff like i did. Now, one of my light jedi enclaves has "Bespin Administrator" music when you're inside the building.