Jump to content
The Dark Mod Forums

How do you make new heads?


Cambridge Spy

Recommended Posts

How do you make new heads for AIs? I want to make a variant of "atdm:ai_head05_nobleman_blonde" without any hat. Also, I want to add an eyepatch to "atdm:ai_head03_guard_prohelmet". Can anyone help me out? I am kind of let down by how limited the choices of heads are currently.

"Let me guess - little blue men with three heads stole your sweetroll?"

Link to comment
Share on other sites

For the hat: When you look into the file "tdm_ai_heads_springheel" you will find the definition of the head. There you can remove the lines

 

"def_attach1" "prop_nobleman_cap_r"
"pos_attach1" "velvetcap_1"
"attach_pos_origin_velvetcap_1" "0 .5 0"

 

This will remove the hat. Or rather than just removing the lines, copy the whole definition, rename it and then remove the lines.

 

For the eyepatch it is the other way around. You need to use "def attach" for the eyepatch.

 

I just checked. Apparently for the existing models the eyepatch is part of the model, but I think it should still be possible via def attach. I would recommend reading the Wiki article about attaching props to AI as this will allow to attach any props to AI and this would allow for a greater variation of AI (which is the original purpose of the prop attachment):

 

http://wiki.thedarkmod.com/index.php?title=Attaching_Props_to_AI

 

In the def files the eyepatch also reduces the file of vision, maybe you want to have a look at that as well. Just look through the def files of the heads with eyepatches. There are more attach points than mentioned in the article, but I would have to look them up. Maybe I will find time later on. If so, I will write again...

Edited by Destined
  • Like 1
Link to comment
Share on other sites

I think for the heads it is not possible, since they get def attached themself. The only thing that would come to mind, would be to insert the head entity into DR, change/delete the spawnargs (that should be there, when they are in the def file) and then use the def_attach spawnarg with this specific head. But I have no idea if this works and can currently not test it myself.

  • Like 1
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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 6 replies
    • 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
×
×
  • Create New...