Jump to content
The Dark Mod Forums

How do you create dead AI's ( ragdolls ) ?


Duke Lebowski

Recommended Posts

Hello fellow taffers,

 

I am Duke Lebowski, i discovered the dark mod two weeks ago, and i was blown away.

I've played merlan's man, grayman's map and others, and i was impressed by the possibilities

the dark radiant editor has to offer.

 

So i decided to give it a go !

 

I've followed the A to Z guide to mission creation, and i started my own after that.

 

To make short, i want to make a dead horse, but i don't know how to spawn a dead

AI ( ragdoll ).

 

Thanks for the help!

Link to comment
Share on other sites

Ragdolls are separate entities, probably under "ragdolls" in the entity menu.

Link to comment
Share on other sites

Thanks for the reply Springheel, i loved A score to settle btw, i'm looking forward to play one of your future maps!

 

 

Thanks, glad you liked it. :)

 

But there is no horse ragdoll : (

 

Hmm, you're right, there doesn't appear to be an entity for that.

 

I think there might be a spawnarg you can put on AI to kill them at game start...that might be another way to approach it. Someone will know it, if I'm not just completely making it up.

Link to comment
Share on other sites

I did this just the other day.

 

It's not as simple as a spawnarg on the AI unfortunately, but not as hard as the complete stim/response system.

 

Step one, select any brush (worldspawn) and target the AI you want to be a corpse. This will trigger the AI upon world start.

 

Step two, give the AI you want to be a body a response (via Stim/Response menu selection under the Entity meny).

 

That response will be "Trigger". This is what gets activated by the worldspawn targeting it at map start.

 

In that Trigger, add the Response Effect, "Kill". The target entity is the name of the AI.

 

Voilà, one dead equine. Note that it actually goes through the death animation at map start as it's killed, so you don't want the player start to be in earshot or they'll hear that as they click to start the map.

 

PS: And added to the Dead Bodies wiki page, so it doesn't have to be dug out of the forums.

Edited by RJFerret

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

That's a really clunky way of working around a missing entity declaration. All the data we need is already available.

 

entityDef atdm:env_ragdoll_horse
{

   "inherit"                    "atdm:env_ragdoll_base"

   "editor_displayFolder"            "Ragdolls/Bodies"

   "editor_ragdoll"                "1"

   "editor_usage"                    "Ragdoll for horse"

   "bleed"                            "1"
   "sleep"                            "1"
   "smoke_wound_flesh"                "bloodwound.smoke"

   "model"                            "horse_tame1"
 "articulatedFigure"                "tdm_horse1"

 "snd_bounce"                    "bodyparts"
}

 

Copy this text. Save it to a .def file with a name of your choosing. Create a def folder where your FM is being worked on. Put this .def file in that folder. Put a atdm:env_ragdoll_horse in your map. With the next update this entity can be included.

  • 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.
      · 5 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...