Space Engineers

Space Engineers

View Stats:
Hwaldar Dec 16, 2014 @ 9:21am
Modding the sound block
Hello,
With the addition of the sound block, is it possible to add custom sounds/music to it? How would you go around doing it?

Is there an in-depth tutorial covering this? I've no idea how to do this by myself, and I couldn't find any useful info on it.
< >
Showing 1-12 of 12 comments
Sodium Detector Dec 27, 2014 @ 4:06pm 
I found the tutorial here http://steamcommunity.com/sharedfiles/filedetails/?id=354444565 though if you follow it, your results might end up like mine, frustrated as HELL! I have a working file like it requires and I modded the files and it won’t work... their explanation for how to do it is weak. They need screen shots of working files that mod the sound block. They don’t even tell you where to locate the files to mod i found them on my own! If the devs want us to start writing code they better give way better explanation on what files to mod and more. I have wasted 9 1/2 hours today thanks to this really bad tutorial.

I have not given up though i am just taking a break. Once i have a working file in place i will be posing a youtube video on how to do so. This is just stupid complicated for such a simple thing.
Last edited by Sodium Detector; Dec 27, 2014 @ 4:09pm
Tabletop Toolbox Feb 17, 2015 @ 7:59pm 
ALLCONTROL - have you been able to throw together that YouTube video? I made my audio file, but also cannot find out where this definition needs to go for the sound block. I've found the SoundBlock.sbc file in the data folder, which appears to let me put in the names of the files I want it to show on the list, but nothing that looks similar to this tutorial information. Can you at least tell me where this <sound> definition thing goes? Thanks.
Sodium Detector Feb 19, 2015 @ 8:01am 
Originally posted by ViperMan:
ALLCONTROL - have you been able to throw together that YouTube video? I made my audio file, but also cannot find out where this definition needs to go for the sound block. I've found the SoundBlock.sbc file in the data folder, which appears to let me put in the names of the files I want it to show on the list, but nothing that looks similar to this tutorial information. Can you at least tell me where this <sound> definition thing goes? Thanks.

I will get back with you around 4 pm today central time. Im at work at the moment.

Thanks,
Josh "ALLCONTROL"
Jota Feb 19, 2015 @ 9:12am 
1 - Create your modding folder at %appdata%/SpaceEnginners/Mods
I'll call it "myMod"
2 - Create myMod/Data and myMod/Audio folders
3 - Create myMod/Audio/SB folder and put your .xwm sound file inside it

Stay with me, now:

4 - Copy the "SoundBlock.sbc" and "Audio.sbc" from the Space Enginners "content" folder and put then into myMod/Data

Delete all the Audio.sbc text and put it like this:
<?xml version="1.0"?> <Definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Sounds> <Sound> <Id> <TypeId>AudioDefinition</TypeId> <SubtypeId> **A descritive name that you will remember** </SubtypeId> </Id> <Category>Sb</Category> <MaxDistance>100</MaxDistance> <Volume>1</Volume> <Loopable> **is it loopable? true or false** </Loopable> <Waves> <Wave Type="D2"> <Start>SB\**the name of your sound file**</Start> </Wave> </Waves> </Sound> </Sounds>

Now, at SoundBlock.sbc put it like this:
<?xml version="1.0"?> <Definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SoundCategories> <SoundCategory> <Id> <TypeId>SoundCategoryDefinition</TypeId> <SubtypeId>DefaultCategory</SubtypeId> </Id> <Sounds> <SoundDesc Id=**that name i thought you to remeber, but inside quotes "" ** SoundName=**The name that will appear in the sound block menu, inside quotes too ""** /> </Sounds> </SoundCategory> </SoundCategories> </Definitions>

Test and see if it works


Sodium Detector Feb 22, 2015 @ 10:42am 
I have just one sound set up with what you got above and it says it cant load the Audio.sbc file. due to Definitions. this is what i have in both files.

<?xml version="1.0"?>
<Definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Sounds>
<Sound>
<Id>
<TypeId>AudioDefinition</TypeId>
<SubtypeId> borgstuff </SubtypeId>
</Id>
<Category>Sb</Category>
<MaxDistance>100</MaxDistance>
<Volume>1</Volume>
<Loopable> false </Loopable>
<Waves>
<Wave Type="D2">
<Start>SB\Borg_panic_1.xwm</Start>
</Wave>
</Waves>
</Sound>
</Sounds>


soundblock.sbc:

<?xml version="1.0"?>
<Definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SoundCategories>
<SoundCategory>
<Id>
<TypeId>SoundCategoryDefinition</TypeId>
<SubtypeId>DefaultCategory</SubtypeId>
</Id>
<Sounds>
<SoundDesc Id="borgstuff"
SoundName="Borg_panic_1"/>
/>
</Sounds>
</SoundCategory>
</SoundCategories>
</Definitions>

Why doesnt this work?
Last edited by Sodium Detector; Feb 22, 2015 @ 10:42am
Jota Feb 22, 2015 @ 11:05am 
there's a missing </Definitions> at the end of Audio.sbc
Manduin Feb 22, 2015 @ 11:35am 
I think it would be coll!
Sodium Detector Feb 22, 2015 @ 12:00pm 
does each sound need an diff SubtypeId?
Last edited by Sodium Detector; Feb 22, 2015 @ 12:00pm
Jota Feb 22, 2015 @ 12:02pm 
Originally posted by ALLCONTROL:
does each sound need an diff SubtypeId?
Yes. it's an identifier, otherwise it would conflict
Sodium Detector Feb 22, 2015 @ 12:17pm 
ok so i can see them in game but they are not playing. my files are xwm converted with that skyrim converter. Do they need other settings to be played in game? Sample rate? IDK what i am doing wrong here. The default sound have dissapeared as well.
Last edited by Sodium Detector; Feb 22, 2015 @ 12:17pm
Sodium Detector Feb 22, 2015 @ 3:40pm 
For those of you that like borg voices i have 20 of them and 2 songs i used for testing. here the link. ENJOY!

http://steamcommunity.com/sharedfiles/filedetails/?id=397491535
Last edited by Sodium Detector; Feb 22, 2015 @ 4:45pm
Tabletop Toolbox Mar 8, 2015 @ 5:36am 
I actually got it to work since my last post, but simply added my <sound> definitions to the existing audio.sbc file - I didn't create a new one. Of course, come to think of it, that probably gets overwritten with each game update... So maybe I should do it your way. :) Thanks!
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Dec 16, 2014 @ 9:21am
Posts: 12