Author Topic: Adding Custom Music and Ambient Sound tracks  (Read 2715 times)

0 Members and 1 Guest are viewing this topic.

Not Yet Rated!

Offline Prosoro

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 263
  • Country: nz
  • Karma: +7/-0
  • Gender: Male
  • Formerly 'Nefer' of the tq.net forums.
    • View Profile
    • Awards
Adding Custom Music and Ambient Sound tracks
« on: 23 February 2019, 05:07:51 »

This topic has come up a number of times and is documented in various places such as here: https://titanquest.fandom.com/wiki/In_Game_Music

But I bring it up here again to once and for all try and find definitive answers on how this is done - and perhaps more importantly, why the commonly found instructions need further elaboration. 

I've followed the instructions in that link, and consulted other sources, but it just doesn't work for me.  Maybe for others this works as it should? Idk, maybe I'm missing something painfully obvious here. 

In my case;
a. I import my custom music/ambient sound tracks (mp3) in the Sources tab of the AM
b. Then auto create asset.  New music shows up in Assets tab
c. Build this.
d. Manually copy my changes (my mod under CustomMaps) from Documents directory to Game directory
e. Open Editor, select Layer tool and then Sound Layer.  Create new Layer.
f. Open music/sounds database list using ellipsis
g. .......No sign of my new music anywhere within the massive list  :( >:(


Sigh.  So I go back to the AM and have a search around, try and see if I made a mistake or missed something.  Heck, even look into alternative ways at getting this to work.  Still no success.

So, any help?




~  Anything new for TQ? See what Unearthed StudiosNZ has been up to - Details at www.hamunaptramod.com  ~


Lurking no more..

Not Yet Rated!

Offline Bumbleguppy

  • Forum Moderator
  • Full Member
  • *
  • Posts: 602
  • Country: us
  • Karma: +24/-0
    • View Profile
    • Awards
Re: Adding Custom Music and Ambient Sound tracks
« Reply #1 on: 23 February 2019, 19:29:00 »
Wait...

Did you add the .mp3 to assets and build and then create a .dbr file in the AM?

The list of music in the map editor is dbr files in the AM.

You have to create a music .dbr file and add your built .mp3 to that and then save and build to see it in the Map Editor.

Not Yet Rated!

Offline Prosoro

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 263
  • Country: nz
  • Karma: +7/-0
  • Gender: Male
  • Formerly 'Nefer' of the tq.net forums.
    • View Profile
    • Awards
Re: Adding Custom Music and Ambient Sound tracks
« Reply #2 on: 24 February 2019, 10:32:19 »

Yeah so in the AM I have the .mp3 file in Assets.  Built this.  Then in the Database tab created a new 'InGameMusic' directory, imported an existing vanilla event music theme .dbr, made my own copy then opened it and added my new .mp3 file to the appropriate field which I understand is 'eventmusicname' variable in the Sound Properties section. 

Built this and exited AM.  Copied changes over to installation directory.  Opened up Editor up and in the Layer tool went to 'sounds' etc, opened the Database list for music/sounds and scrolled through this, still nothing showing.  Also put CAPS for the custom .dbr file so that if it does show up I won't miss it.

So is that basically what you have done BG? You've got music showing up in that list??

~  Anything new for TQ? See what Unearthed StudiosNZ has been up to - Details at www.hamunaptramod.com  ~


Lurking no more..

Not Yet Rated!

Offline Endymion

  • Modder
  • Hero Member
  • *
  • Posts: 81
  • Country: aq
  • Karma: +6/-0
    • View Profile
    • Awards
  • Time Zone: ?
Re: Adding Custom Music and Ambient Sound tracks
« Reply #3 on: 27 February 2019, 13:19:09 »
Editor's Sound layer takes .dbrs only from the following directories:
records\sounds\
records\xpack\sounds\
records\xpack2\sounds\

You'll have to build your record under one of them in order to use it in the Sound layer.

Not Yet Rated!

Offline sauruz

  • Maze Lord
  • Global Admin
  • Full Member
  • *
  • Posts: 1302
  • Country: pt
  • Karma: +21/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: ?
Re: Adding Custom Music and Ambient Sound tracks
« Reply #4 on: 07 March 2019, 12:11:29 »
Did have any sucess in adding extra music into game ? Prosoro ?

Im thinking  adding extra music into game as well.

"Welcome to new home, be nice and strong ! "

Not Yet Rated!

Offline Prosoro

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 263
  • Country: nz
  • Karma: +7/-0
  • Gender: Male
  • Formerly 'Nefer' of the tq.net forums.
    • View Profile
    • Awards
Re: Adding Custom Music and Ambient Sound tracks
« Reply #5 on: 08 March 2019, 06:02:28 »
Hey Sauruz,

Yeah I did have success eventually  :)  and have been meaning to update this with how I got it to work.  When/if I get time tonight I'll post something here
~  Anything new for TQ? See what Unearthed StudiosNZ has been up to - Details at www.hamunaptramod.com  ~


Lurking no more..

Not Yet Rated!

Offline undefind

  • Full Member
  • *
  • Posts: 114
  • Country: us
  • Karma: +2/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -1
Re: Adding Custom Music and Ambient Sound tracks
« Reply #6 on: 04 June 2019, 01:34:36 »
Any progress on how you did this?

Was wondering if there was a way to add/replace the default sounds an item makes when it drops based on rarity.
My mods and some other mods

https://mega.nz/#F!v5tGhawJ!BeMd_SSWpWZAeG4h3F2YFg

ATTENTION! .arz must be the same name as the name of the mod. i.e. custommaps --> DropSounds + Massbosses + Mis are epic + affixes are common

Database needs to have that long name (or change folder name)

Also on Steam

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Posts: 614
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: Adding Custom Music and Ambient Sound tracks
« Reply #7 on: 04 June 2019, 04:22:17 »
That would be an entirely different story. You would need to go inside an item .dbr and modify the sound effect in Item Parameters -> dropSound3D.

Since many items have different sounds and you want to give each a sound depending on rarity, you would most likely need to do it manually.

Not Yet Rated!

Offline undefind

  • Full Member
  • *
  • Posts: 114
  • Country: us
  • Karma: +2/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -1
Re: Adding Custom Music and Ambient Sound tracks
« Reply #8 on: 04 June 2019, 04:56:36 »
That would be an entirely different story. You would need to go inside an item .dbr and modify the sound effect in Item Parameters -> dropSound3D.

Since many items have different sounds and you want to give each a sound depending on rarity, you would most likely need to do it manually.

i just finished doing it. downloaded a mp3 of a gong sound and modified the drop sound for all epic and legendary items.

related note. anyone know why i cant open 1h throwing ranged weapons? says it couldnt find the template.
My mods and some other mods

https://mega.nz/#F!v5tGhawJ!BeMd_SSWpWZAeG4h3F2YFg

ATTENTION! .arz must be the same name as the name of the mod. i.e. custommaps --> DropSounds + Massbosses + Mis are epic + affixes are common

Database needs to have that long name (or change folder name)

Also on Steam

Not Yet Rated!

Offline soa

  • Modder
  • Full Member
  • *
  • Posts: 434
  • Country: fr
  • Karma: +16/-0
    • View Profile
    • Awards
  • Time Zone: +1
Re: Adding Custom Music and Ambient Sound tracks
« Reply #9 on: 04 June 2019, 07:45:05 »
That would be an entirely different story. You would need to go inside an item .dbr and modify the sound effect in Item Parameters -> dropSound3D.

Since many items have different sounds and you want to give each a sound depending on rarity, you would most likely need to do it manually.

i just finished doing it. downloaded a mp3 of a gong sound and modified the drop sound for all epic and legendary items.

related note. anyone know why i cant open 1h throwing ranged weapons? says it couldnt find the template.

If you have Ragnarok, maybe you should update your templates (Help/Install Templates)
Soulvizier for AE, Ragnarok and Atlantis [released] :
https://titanquestfans.net/index.php?topic=1201.0  / Discord : https://discord.gg/qs9t6AA
Overhaul mod with many new monsters, skills, items, features, balance and bugfixes. Increased difficulty.

Not Yet Rated!

Offline undefind

  • Full Member
  • *
  • Posts: 114
  • Country: us
  • Karma: +2/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -1
Re: Adding Custom Music and Ambient Sound tracks
« Reply #10 on: 04 June 2019, 17:29:17 »
That's weird, I did that already. My game is acting all wonky when it comes to using third party programs. AM won't let me import records using the menu, but I can right click. ARZ Explorer does the same thing. All my database files are now 2kb except the AE version.

All kinds of odd.
My mods and some other mods

https://mega.nz/#F!v5tGhawJ!BeMd_SSWpWZAeG4h3F2YFg

ATTENTION! .arz must be the same name as the name of the mod. i.e. custommaps --> DropSounds + Massbosses + Mis are epic + affixes are common

Database needs to have that long name (or change folder name)

Also on Steam

Not Yet Rated!

Offline undefind

  • Full Member
  • *
  • Posts: 114
  • Country: us
  • Karma: +2/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -1
Re: Adding Custom Music and Ambient Sound tracks
« Reply #11 on: 05 June 2019, 02:46:03 »
AM installed the 1hranged template to working/database folder.

Moved it to working/database/templates folder.

All good now.

Edit: apparently AE sometimes installs some templates in the wrong folder.
My mods and some other mods

https://mega.nz/#F!v5tGhawJ!BeMd_SSWpWZAeG4h3F2YFg

ATTENTION! .arz must be the same name as the name of the mod. i.e. custommaps --> DropSounds + Massbosses + Mis are epic + affixes are common

Database needs to have that long name (or change folder name)

Also on Steam

Not Yet Rated!

Offline undefind

  • Full Member
  • *
  • Posts: 114
  • Country: us
  • Karma: +2/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -1
Re: Adding Custom Music and Ambient Sound tracks
« Reply #12 on: 05 June 2019, 04:45:17 »
so i got this to work if i select a custommap but when i combine the mod with the database.arz and move it to the AE database folder (renamed it to database.arz) the new sound doesnt work.

funny thing is, the other modifications i made work i.e. camera angles, potion staking, etc... but anytime i drop an epic or legendary item there is no sound whatsoever.

i tried building the dbr in records/sounds and records/xpack/sounds and neither worked.

anyone know what's up?
My mods and some other mods

https://mega.nz/#F!v5tGhawJ!BeMd_SSWpWZAeG4h3F2YFg

ATTENTION! .arz must be the same name as the name of the mod. i.e. custommaps --> DropSounds + Massbosses + Mis are epic + affixes are common

Database needs to have that long name (or change folder name)

Also on Steam

Tags:
 


SimplePortal 2.3.7 © 2008-2020, SimplePortal