Warcraft III resources & community, 2003–2006 · archived

Adding music to my map, please help me

5 posts
#1

Adding music to my map, please help me

I imported an mp3 file, and tried to play it in game by trigger:

Melee Initialization-trigger title
Events
Map initialization

Conditions-none

Actions
Sound - Play war3mapImported\nymphetamine.mp3

but it won't work, help me :?:
#2

Re: Adding music to my map, please help me

wilemvan_the_warlordI imported an mp3 file, and tried to play it in game by trigger:

Melee Initialization-trigger title
Events
Map initialization

Conditions-none

Actions
Sound - Play war3mapImported\nymphetamine.mp3

but it won't work, help me :?:


You got it mostly right but you gotta put this before choosing to play it

Melee Initialization-trigger title
Events
Map initialization

Conditions-none

Actions

Sound - Stop all music immediatley (or something close to that)
Sound - Play war3mapImported\nymphetamine.mp3

add that and you should be good to go
#3
You shouldn't play sounds at map initialization. Use "elapsed gametime equal to 0.00 seconds" as event.
Of course you should also stop all ingame music, if you don't, it sounds horrible. :wink:
#4
And don't double-post.
#5

Sound - Play war3mapImported\nymphetamine.mp3


Just a curiosity. Is a song of Cradle of Filth?