Using an Ambiental Music in a specific zone

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
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.
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
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"}
	},

}
 

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
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
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
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:
 

Totor

Member
Joined
Mar 16, 2016
Messages
35
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

Member
Joined
Jun 11, 2015
Messages
133
....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
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
I saw under .ws . It's a sound object. But thank you . You're supporting hard.
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
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.
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
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.
 

algebuckina

MTG Secretary
Staff member
Super Moderator
Moderator
Joined
Apr 19, 2017
Messages
69
This is not good that I now have this info.
 
Top Bottom