Create a free account to remove all ad content.

Author Topic: [Other] TM PC Modding API  (Read 27012 times)

0 Members and 1 Guest are viewing this topic.

Craig

  • Developer
  • Extreme Member
  • *
  • Posts: 6655
  • Dig Deep
    • View Profile
    • Twitter
  • Steam: tota1miner
Re: TM PC Modding API
« Reply #200 on: May 24, 2018, 07:41:13 AM »
That is exactly what it was.

Now, when I hit the NPC, it plays the default player model noise. I supplied a sound file, and called upon ot for the ActorAudioData, but the sounds to not play. Do they have to be in a specific file format? I have them in .wav

ActorAudioData.xml doesn't yet support specifying external sound files. It only allows specifying sound 'keys' used to identify the games existing built in sounds. I can post a list of these keys if you think it might help. To use external files, currently you need to do that using C#. I have plans to support external files from XML but it will be after multiplayer.