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

#21 TobyMac01

TobyMac01
  • Members
  • 32 posts

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?

It's a completely custom Ork unit.



#22 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:42 PM

Use the Infantry template which is part of the attachment in THIS thread. I cannot vouch for how you set up your speech path to that unit.

 

Also in your speech_directory path in your EBPS is it set as "Speech/Races/Orks/Obosszagstruk"


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

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#23 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 09 July 2019 - 04:53 PM

Use the Infantry template which is part of the attachment in THIS thread. I cannot vouch for how you set up your speech path to that unit.

 

Also in your speech_directory path in your EBPS is it set as "Speech/Races/Orks/Obosszagstruk"

I guess it's the FDA files being corrupted as I used your template.


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


#24 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:54 PM

Well you need to properly convert them from WAV->FDA using the tool. ;)


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

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#25 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 09 July 2019 - 05:03 PM

Well you need to properly convert them from WAV->FDA using the tool. ;)

Well both MP3 files and WAV don't seem extract properly.



#26 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 - 05:13 PM

That is a problem of course.. the converter is best used with WAV files.. nothing else. You also have to ensure the WAV is not corrupted or in some odd state re: bit level.

 

Best to extract example FDAs you know work and ensure your WAV files match those details.


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

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#27 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 09 July 2019 - 05:20 PM

That is a problem of course.. the converter is best used with WAV files.. nothing else. You also have to ensure the WAV is not corrupted or in some odd state re: bit level.

 

Best to extract example FDAs you know work and ensure your WAV files match those details.

I can't get the wav files to turn into FDA files I use the tool but they're still wav files.

It says invalid WAV file even though it works.


Edited by TobyMac01, 09 July 2019 - 05:22 PM.


#28 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 - 05:22 PM

Dunno... the WAV files maybe are not the standard required. I do this sort of thing all the time.


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

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#29 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 09 July 2019 - 05:30 PM

Dunno... the WAV files maybe are not the standard required. I do this sort of thing all the time.

Ok got the WAV files working and turned them into FDA files but it still beeps  :sad2:

 

 



#30 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 09 July 2019 - 05:52 PM

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/attack
 
Surely the slash before attack should be the other way?


#31 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 10 July 2019 - 01:46 AM

Is this a custom whe/whm model you are using that has Nobz speech paths in the whe? Seems that way which is fine.

 

Which voice template did you use? Infantry was the one to use.


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

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#32 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 10 July 2019 - 03:39 PM

Is this a custom whe/whm model you are using that has Nobz speech paths in the whe? Seems that way which is fine.

 

Which voice template did you use? Infantry was the one to use.

I did use the infantry squad template and he uses a stormboy nob leader model for now.



#33 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 10 July 2019 - 03:47 PM

As a test, extract the full Stormboy speech path and use that in your own project. Same result?


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

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#34 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 10 July 2019 - 04:05 PM

As a test, extract the full Stormboy speech path and use that in your own project. Same result?

I done a simiar test by moving my files to the grethin but it makes everything beep even moving and selecting even though I didn't touch them only attack.


Edited by TobyMac01, 10 July 2019 - 04:06 PM.


#35 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 10 July 2019 - 04:15 PM

Use the vanilla Stormboy speech path within the SGA or use a complete speech from a character we know works 100%.

 

To clarify once more, in your EBPS of your unit it looks as follows:

GameData["ui_ext"]["speech_directory"] = "Speech/Races/Orks/Obosszagstruk"

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

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#36 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 10 July 2019 - 04:49 PM

 

Use the vanilla Stormboy speech path within the SGA or use a complete speech from a character we know works 100%.

 

To clarify once more, in your EBPS of your unit it looks as follows:

GameData["ui_ext"]["speech_directory"] = "Speech/Races/Orks/Obosszagstruk"

Ok whenever I extract a speech file it corrupts the whole thing for example I just done the stormboyz and my leader beeped but as soon as I deleted it from the W40K and my mod folder their diologue worked again.


Edited by TobyMac01, 10 July 2019 - 04:49 PM.


#37 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 10 July 2019 - 04:54 PM

Try and use this speech folder then. Its the extracted Stormboyz speech from the game which must work. It only has the bare minimum speech events like Unit_Complete, Selection, Move, Attack, and Jump.

Attached Files


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

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#38 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 10 July 2019 - 05:06 PM

Try and use this speech folder then. Its the extracted Stormboyz speech from the game which must work. It only has the bare minimum speech events like Unit_Complete, Selection, Move, Attack, and Jump.

Nah it just beeps when I apply that file



#39 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 10 July 2019 - 05:08 PM

Something isn't right on your end then. Unfortunately I cannot take all day to troubleshoot it.

 

Best to check other existing mods out there to get a sense why it works there and not with yours.


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

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#40 TobyMac01

TobyMac01
  • Members
  • 32 posts

Posted 10 July 2019 - 05:25 PM

Something isn't right on your end then. Unfortunately I cannot take all day to troubleshoot it.

 

Best to check other existing mods out there to get a sense why it works there and not with yours.

Alright that's fine you've already done an enough lol





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users