Substitute music/sounds with custom
by Anachronistic · in Torque X Platformer Kit · 09/30/2010 (1:34 am) · 0 replies
i've been attempting to substitute the music/sounds with ones i feel better suit my game. it isn't as simple as i had hoped (changing the filename reference). i think understand now that i need to use the Cross-Platform audio creation tool but my attempts to do so have failed.
the error i am continually getting after changing the line:
_outdoorMusic = "outdoor_music"
to a reference of my file is that "an error occurred while trying to reference "my file". Is the cue named correct?"
any help will be greatly appreciated
EDIT: literally moments after posting this i found the issue. feel free to remove the thread but for those who are wondering too:
you open the cross platform audio creation tool (just through the start menu) browse to your project. go through until you find the data\sounds directory. from there find the .xap file called "platformerdemo" in my case.
from here i suggest going here (http://msdn.microsoft.com/en-us/library/dd940199.aspx) and following their steps from "to add wave files to the wave back window" onwards which i assure you are very simple.
now save your file and all should hopefully work
the error i am continually getting after changing the line:
_outdoorMusic = "outdoor_music"
to a reference of my file is that "an error occurred while trying to reference "my file". Is the cue named correct?"
any help will be greatly appreciated
EDIT: literally moments after posting this i found the issue. feel free to remove the thread but for those who are wondering too:
you open the cross platform audio creation tool (just through the start menu) browse to your project. go through until you find the data\sounds directory. from there find the .xap file called "platformerdemo" in my case.
from here i suggest going here (http://msdn.microsoft.com/en-us/library/dd940199.aspx) and following their steps from "to add wave files to the wave back window" onwards which i assure you are very simple.
now save your file and all should hopefully work