Jump to content
The Dark Mod Forums

Creating a new guard AI


dmw88

Recommended Posts

I want to make a new guard AI who would be more or less a palette swap of an existing AI guard. Im assuming all Id have to replace is the textures for the model and create a voice profile.

 

I think I can figure out how to handle the textures and duplicating the model based on what is already there, but if anyone can point me to an explanation to be sure thatd be helpful. More importantly, is there anywhere to get a complete list of soundfiles required to make a new AI speech profile? Ive looked everywhere that makes sense on the wiki and so far had no luck. I also am not sure exactly how to package these files - again, I didnt see anything on the tutorials for this.

 

Ive got three maps completely built, textured, and decorated, which was easy based on my experience making MP maps for older idtech games, but handling AI and scripting has been really slow, since it is new to me, so any help with this is majorly appreciated. Thanks in advance.

  • Like 1
Link to comment
Share on other sites

More importantly, is there anywhere to get a complete list of soundfiles required to make a new AI speech profile? Ive looked everywhere that makes sense on the wiki and so far had no luck. I also am not sure exactly how to package these files - again, I didnt see anything on the tutorials for this.

Does the Voices Wiki page not cover the info you need for a new vocal script? If not, what are you missing?

  • Like 1
Link to comment
Share on other sites

Yeah, a new vocal set and skin for a prison guard. The existing vocal sets have lines that dont make sense.

 

Ive got time, I spend anywhere from 4 to 12 hours a day working on personal projects and for the last 2 months thats been all TDM maps.

 

The first thing you would have to do is record all the vocal lines you want. You can use this as a template: http://wiki.thedarkmod.com/index.php?title=Vocal_script:_Average_Jack

 

You would then need to create a soundshader file. You can look at sound/tdm_ai_jack.sndshd for an example.

 

You then need to create a vocal def file to tell the code when to use each of soundshaders. Look at def/tdm_ai_vocalsets01.def for an example of that.

 

A skin is much simpler. This should help: http://wiki.thedarkmod.com/index.php?title=Creating_Multiple_Skins_For_A_Model. Fiding out what textures an AI currently uses can be a challenge. You can look at existing skin files for the AI in question to get some idea, or you can open the md5mesh file in a text editor and search for the lines that start with "shader".

  • Like 1
Link to comment
Share on other sites

I think I am following this, with one exception. For the first batch of barks, it says 9 wavs. But we have idle1 - idle9, with idles 1-4 seeming to have multiple variants, suggesting something like 16 wavs. Is there some misinformation here or am I misunderstanding?

Link to comment
Share on other sites

Thanks so much. If I get it worked out I think I will try to put a tutorial together for the wiki so other editors can do this as well.

 

Just recently, I've made a large update on the vocal scripts we already have in the game, based on VS materials provided directly by Springheel already a few months ago. I'm still improving the formatting of those individual VS articles, but the majority are already readable enough in their "raw" state. I intend to update the few missing VS-s too, and take a look at whether the scripts I received aren't missing some newer lines from the current versions, and so on.

 

On a sidenote, once I finally buy a better microphone (might be in the coming weeks), I plan to develop and record a proof-of-concept vocal set for a pagan or foreign merchant character. As I have a bit of a natural non-anglophone accent while speaking English, it should sound different to the other character vocal sets, but not forced.

  • Like 2
Link to comment
Share on other sites

Oh man is that some work, but it would be rad to have some more vocal sets out there! I am not sure what you're planning to do, but I would recommend modifying or supplementing a vocal set if at all possible as a full vocal set is like 130-150 lines that need to be written, recorded, processed and jammed into definition files and tested. You can also try to get a hold of the original voice actors and see if they'd be willing to record some extra lines. Not to discourage you, just saying it can be brutal.

 

If you are looking for the .defs, you can look at tdm_ai_vocal_set_base.def to get an idea of what you need for the vocal set definition and tdm_ai_pro.sndshd for the sound shader set up.

 

Also: I was able to get away with a lot fewer sound waves for the AI's i've made. Usually around 3-4 per sound shader.

Edited by kingsal
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...