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

    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
×
×
  • Create New...