Jump to content
The Dark Mod Forums

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


Duke Lebowski
 Share

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.

 Share

  • Recent Status Updates

    • duzenko

      CPU benchmark time - compiling DarkRadiant (2nd run)
      i5 8600K 6C/6T@4.4GHz DDR4 2x2133MHz 9MB cache
      Parallel builds: 1. 3:57 Parallel builds: 6 (default). 2:28 r5 1600AF 6C/12T@3.3GHz DDR4 1x2666MHz 16 MB cache, temp folder on HDD
      Parallel builds: 1. 5:05 Parallel builds: 4. 2:47 Parallel builds: 6. 2:55 Parallel builds: 12 (default). 2:57
      · 2 replies
    • nbohr1more

      Status updates are back so it is also a good time to return to contests!
      https://forums.thedarkmod.com/index.php?/topic/21095-christmas-connections-contest-2021
       
      · 0 replies
    • freyk

      Having seen the new scifi stuff from bladeghost/scythwraith, want to continue the cyberpunk project. Only one problem, can't map.
      · 1 reply
    • jaxa

      Behold, the brand new RTX 2060!
      NVIDIA ponders GeForce RTX 2060 re-release with 12 GB VRAM to paper over RTX 30 scarcity
      · 1 reply
    • thebigh

      There are those who are afraid of greatness
      · 2 replies
×
×
  • Create New...