Can I add a music and assign it to a special city?

Users who are viewing this thread

hairui

Recruit
By searching the forum, I have got the idea of how to add the music into the game.
But my question now is : can i assign a music file to a special city? or I can just assign a music file with 1,2,3?
 
hairui said:
By searching the forum, I have got the idea of how to add the music into the game.
But my question now is : can i assign a music file to a special city? or I can just assign a music file with 1,2,3?
Good Question ! i got same idea, but i dont kown how to do it ......
:shock:
Could some1 tell us the resolvent ?

THX  :razz:
 
Not with it handled as "music", no.

But you can treat it as a sound effect, in which case yes.  I leave the details as an exercise for the reader.  Hint: Check module_sounds, and look up where in the code some likely-looking sounds are triggered, such as the encounter_nobleman sound; there you'll see how the triggering works.  Put that in your city's menu or whatever.
 
Back
Top Bottom