Jump to content


Photo

How do I add custom sound files for a unit?


Best Answer thudo, 15 July 2019 - 02:08 PM

I've updated the Voice Template to v1.1. It should work man....

Go to the full post


47 replies to this topic

#1 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 08 July 2019 - 03:39 PM

I've tried to add my custom sound files to my ork commander but when I go in game he uses the slugga boyz' lines. Do I have to use the audio editor as I can't get it working with soulstorm?



#2 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 08 July 2019 - 03:46 PM

speech_directory section under the EBPS unit.


Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#3 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 08 July 2019 - 04:14 PM

speech_directory section under the EBPS unit.

Ok I've done that but every time I move or make the unit attack it makes a beeping noise.



#4 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 08 July 2019 - 05:57 PM

I am currently writing full TUTs on this and the other parts of the DoW1 workflow but if your path is correct can I ask what is it?

 

You have to create the same path in your [Soulstorm]\DXP2\Data\Sound... as it would be for where your Speech Path is looking.. you can use other projects as an example how to do this.

 

Also, did you run with -DEV in your Command Line like this:

 

start soulstorm.exe -dev -nomovies -modname [name of your mod's .module file]


Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#5 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 08 July 2019 - 06:39 PM

I am currently writing full TUTs on this and the other parts of the DoW1 workflow but if your path is correct can I ask what is it?

 

You have to create the same path in your [Soulstorm]\DXP2\Data\Sound... as it would be for where your Speech Path is looking.. you can use other projects as an example how to do this.

 

Also, did you run with -DEV in your Command Line like this:

 

start soulstorm.exe -dev -nomovies -modname [name of your mod's .module file]

I've done everything above but just in case I did get the path wrong its modname\Data\sound\speech\races\orks\bosszagstruk


Edited by TobyMac01, 08 July 2019 - 06:39 PM.


#6 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 08 July 2019 - 06:46 PM

What does your speech_directory section under the EBPS unit say though?

 

Also, if you run the game with -DEV as I asked, play the game to get the beep from your unit, exit game, then check the soundmessages,txt under \[Where Soulstorm is located\logfiles\[last run]

 

It will tell you what path it is looking for when it is beeping.


Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#7 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 08 July 2019 - 09:45 PM

What does your speech_directory section under the EBPS unit say though?

 

Also, if you run the game with -DEV as I asked, play the game to get the beep from your unit, exit game, then check the soundmessages,txt under \[Where Soulstorm is located\logfiles\[last run]

 

It will tell you what path it is looking for when it is beeping.

This is the error I get

 

SOUND -- missing root default files for file Data:Sound

 

I have this for the unit's speech directory

 

Speech\Races\Orks\Bosszagstruk 



#8 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 08 July 2019 - 11:35 PM

I think you mean..

 

Speech/Races/Orks/Bosszagstruk

 

Ya sure your mod path has that? What is your mod called on your .module?

 

You sure you have the correct path + FDAs are all converted correctly?


Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#9 Kasrkin84

Kasrkin84

    title available

  • Members
  • 329 posts
  • Location:Birmingham, UK
  • Projects:Strongholds, Unification

Posted 09 July 2019 - 11:55 AM

You're missing the required "_default.fda" and "_default.rat" files. Look at other speech folders to see what I mean. Just copy and paste these files over into yours.



#10 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 09 July 2019 - 03:34 PM

I think you mean..

 

Speech/Races/Orks/Bosszagstruk

 

Ya sure your mod path has that? What is your mod called on your .module?

 

You sure you have the correct path + FDAs are all converted correctly?

 

You're missing the required "_default.fda" and "_default.rat" files. Look at other speech folders to see what I mean. Just copy and paste these files over into yours.

I have the correct path it has to be my FDAs not set up correctly though I used the stormboy's speech folder as a base and I've only changed the attack dialogue so far so it should be working fine when I move or select the unit.



#11 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 09 July 2019 - 03:49 PM

Did you run in -DEV, play the game to hear the beep with your unit in question, then look at the soundmessages.txt in root Soulstorm folder]\logfiles\[last game run instance] ?

 

I'm assuming you have this in your own custom mod loaded via a .module OR is this something else?


Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#12 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 09 July 2019 - 03:54 PM

Did you run in -DEV, play the game to hear the beep with your unit in question, then look at the soundmessages.txt in root Soulstorm folder]\logfiles\[last game run instance] ?

 

I'm assuming you have this in your own custom mod loaded via a .module OR is this something else?

Comes up with this.

 

Using default patch for speech\races\orks\nobz\combat
Using default patch for speech\races\orks\nobz\die
Using default patch for speech\races\orks\nobz\damage
Using default patch for Speech/Races/Orks/Bosszagstruk/move
Using default patch for Speech/Races/Orks/Bosszagstruk//selection
Using default patch for Speech/Races/Orks/Bosszagstruk/jump
Using default patch for Speech/Races/Orks/Bosszagstruk/attack


#13 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 09 July 2019 - 03:58 PM

What are the FULL errors? We only want the actual warnings at the top of soundmessages.txt.

 

Also I cannot help unless I understand how you are updating/changing FDA sound/speech files for use with vanilla or custom Ork pieces.


Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#14 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 09 July 2019 - 04:01 PM

What are the FULL errors? We only want the actual warnings at the top of soundmessages.txt.

 

Also I cannot help unless I understand how you are updating/changing FDA sound/speech files for use with vanilla or custom Ork pieces.

They're the only lines in the txt file.

I think I may be naming the FDA files wrong I just replaced the stormboy original files with my ones and called them the same name.

How do you name the FDA files?

The process I go through is just converting a mp3 file to a FDA file and replacing the files of the stormboy FDA files.


Edited by TobyMac01, 09 July 2019 - 04:03 PM.


#15 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 09 July 2019 - 04:08 PM

No its not the naming but if your wav/mp3 files are saved correctly to the FDA format + the paths are correct + proper _rat and .con are in-place.

 

You cannot just replace vanilla sources without knowing how your updated assets are called in-game. I am not even sure how your mod is called OR you are just updating the [root Soulstorm folder]\DXP2\Data with your own Sound folder with the Ork Stormboyz speech path there.


Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#16 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 09 July 2019 - 04:10 PM

No its not the naming but if your wav/mp3 files are saved correctly to the FDA format + the paths are correct + proper _rat and .con are in-place.

 

You cannot just replace vanilla sources without knowing how your updated assets are called in-game. I am not even sure how your mod is called OR you are just updating the [root Soulstorm folder]\DXP2\Data with your own Sound folder with the Ork Stormboyz speech path there.

This is my exact directory.

Dawn of War Soulstorm\Random\Data\sound\speech\races\orks\bosszagstruk



#17 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 09 July 2019 - 04:11 PM

 

No its not the naming but if your wav/mp3 files are saved correctly to the FDA format + the paths are correct + proper _rat and .con are in-place.

 

You cannot just replace vanilla sources without knowing how your updated assets are called in-game. I am not even sure how your mod is called OR you are just updating the [root Soulstorm folder]\DXP2\Data with your own Sound folder with the Ork Stormboyz speech path there.

This is my exact directory.

Dawn of War Soulstorm\Random\Data\sound\speech\races\orks\bosszagstruk

My mod is called random as I don't know what to call it for now lol same for my module.

I also used the RAC 0.9.0 tool if that has any problems with it.


Edited by TobyMac01, 09 July 2019 - 04:13 PM.


#18 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 09 July 2019 - 04:18 PM

Then I can assume your custom speech path is broken or you have invalid FDA files or, as Kaskr mentioned you are missing valid _rat or .con files..  have to follow the standards. ;)


Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#19 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 09 July 2019 - 04:24 PM

Then I can assume your custom speech path is broken or you have invalid FDA files or, as Kaskr mentioned you are missing valid _rat or .con files..  have to follow the standards. ;)

Here are some pictures

https://imgur.com/a/CyK8Lt3



#20 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 09 July 2019 - 04:31 PM

Is this a completely custom Ork unit or you simply trying to re-direct the vanilla Ork Stormboyz to that path?


Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users