Terraria

Terraria

View Stats:
Here's how to add your own sound effects
I posted this over on Terraria Online and I repeat it here for anyone else wishing to add their own sound effects to Terraria by replacing existing ones.


1. Make your PCM 16-bit Stereo WAV sound. Save it where you can find it easily such as your desktop. In my example I called my sound file NewJetpack.wav

2. Download the Microsoft Phone Developer Tools RTW from here: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13890

The full package includes:
- Visual Studio 2010 Express for Windows Phone
- Windows Phone Emulator Resources
- Silverlight 4 Tools For Visual Studio
- XNA Game Studio 4.0
- Microsoft Expression Blend for Windows Phone

3. Once the software is installed locate and run VPDExpress in:
Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE

4. Click on New Project.

5. Under Installed Templates click on XNA Game Studio 4.0.

6. In the list on the right click on Windows Game (4.0).

7. Below this enter a name for your project. To help identify your project give it a name that is associated with the sound you are replacing, for example I called mine Jetpack. Now click OK.

Your XNA code will appear.

8. Go to Project from the tool menu and click Add Existing Item. Locate your sound WAV and click Add.

You should see your WAV on the right in your Content.

9. Go to Debug from the tool menu and click on Build Solution (or you can just press F6).

10. If you go to:
My Documents\Visual Studio 2010\Projects\Jetpack\Jetpack\Jetpack\bin\x86\Debug\Content\
you will find your Jetpack.xnb (or whatever name you gave it). At this point you can now close VDPExpress.

11. Go to:
SteamApps\common\Terraria\Content\Sounds
Copy the .xnb file you'll be replacing into a backup folder. Rename your new XNB the same file name as the old one.

For example in my case I renamed Jetpack.xnb to Item_13.xnb.

12. Test the game and you should hear your new sound effect!

Head over to http://www.terrariaonline.com/threads/tool-terraria-xnb-to-wav-sound-converter.86509/ for an XNB to WAV converter if you want to find a particular sound effect.

Or use this rough (and incomplete) guide (not mine!):

chat --- open dialogue
coins --- pick up coin
dig0
dig1
dig2 --- dig soft materials
doorclosed --- close door
dooropened --- open door
doublejump --- cloud in a bottle doublejump
drown --- air meter empty
femalehit0 --- female char hit
femalehit1 --- "
femalehit2 --- "
grab --- pick up item
grass --- mow grass
item1 --- swing weapon/(pick)axe
item2 --- eat mushroom; eat goldfish
item3 --- drink potion
item4 --- use crystal ball; use lifecrystal
item5 --- shoot arrow
item6 --- use magic mirror
item7 --- //swing tool/sword?
item8 --- summon fireball/waterbolt; skeleton teleport
item9 --- falling star; crystal storm shot
item10 --- exploding jesters arrow
item11 --- fire gun
item12 --- lasergun shot
item13 --- rocketboots loop
item14 --- bomb; tnt; grenade
item15 --- lightsaber swing
item16 --- whoopie
item17
item18 --- //swing tool/sword?
item19 --- //swing tool/sword?
item20 --- flamelash
item21
item22 --- chainsaw
item23 --- drill
item24 --- spectreboots loop
item25 --- //pixie hit?
item26 --- harp
item27 --- //shard collect?
item28
item29 --- use star/manacrystal
item30
item31 --- clockworkgun
item32
item33 --- big laser (wof, retinazor)
item34
item35
item36 --- //shotgun?
item37
jump1
jump2
maxmana --- manameter filled up
mech0
menuclose --- close window
menuopen --- open window
menutick --- hover button
npchit1 --- zombie hit; eye hit
npchit2 --- skeleton hit
npchit3 --- meteorhead hit
npchit4 --- metal enemy hit (posessed armor, mimic)
npchit5 --- pixie hit
npchit6 --- werewolf hit
npchit7
npchit8
npchit9
npchit10 --- horse hit
npckilled1 --- zombie kill
npckilled2 --- "
npckilled3 --- meteor head killed
npckilled4 --- bat killed
npckilled5
npckilled6 --- hallow underworld enemy killed
npckilled7
npckilled8 --- wyvern killed
npckilled9
npckilled10
npckilled11
npckilled12
npckilled13
npckilled14
pixie --- pixie on screen loop
playerhit0 --- male char hit
playerhit1 --- "
playerhit2 --- "
playerkilled --- player killed
roar0 --- summon boss; boss roar
roar1 --- approaching worm-type enemies
run --- running step
shatter --- pot smash
splash0 --- water splash
splash1 --- water bubble/drip
tink0 --- hit solid materials
tink1 --- "
tink2 --- "
unlock --- unlock treasure chest
zombie0 --- zombie growl
zombie1 --- "
zombie2 --- "
zombie3 --- mummy growl
zombie4 --- "
< >
Showing 1-6 of 6 comments
what is the sound for the Medusa Head charging and shooting?
necro
Originally posted by GeT_ExPoSeD:
what is the sound for the Medusa Head charging and shooting?
necro
That sounds like a new addition since I last played Terraria. You'll have to use the XNB to WAV converter on all the files until you find the right one. Might take you a while though. If I have time I'll have a look, but it's been a while since I last played Terraria and I'm unfamiliar with the Medusa Head and what sound it makes.
Originally posted by GeT_ExPoSeD:
what is the sound for the Medusa Head charging and shooting?
necro
The charging sound might be Item_15 but that sound will be used for other things. The shooting sound I don't know. I watched a Youtube video of the Medusa Head weapon in action but couldn't find the sound effect for it.
What, Windows vista and Windows 7 only? .......
Originally posted by 𝕳𝖔𝖑𝖎𝖓𝖊𝖘𝖘:
What, Windows vista and Windows 7 only? .......
​There's probably a Windows 10 version somewhere. Mind you it's been so long since I posted this the method has probably changed completely.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Jan 6, 2015 @ 10:06am
Posts: 6