Jump to content
The Dark Mod Forums

Playertools:holywater -- how to apply that entitydef to custom model?


Recommended Posts

I want a potion with holywater properties, but applied to a DR made model that looks more appropriate for my FM (with no crucifix).  

I've made several objects to grab, put in inventory, then drop at a location to complete objectives before, so that's not a problem.  

But how do I apply the properties of entityDef atdm:playertools_holywater to a model?  One required property is that it can be applied to a waterarrow.   I copy/pasted the holywater entitydef to myfm/def subfolder with appropriate name changes, but that didn't work at all...

Does anyone know of an FM that has done this, or something similar enough with playertools, so I can copy that procedure?  


Link to comment
Share on other sites

You could just create a holy water potion in your map and change its "model" spawnarg to your custom model. The more sophisticated way would be to create a new entityDef that inherits from the original potion entity but specifies a different model. Either of those are how customisations like yours are usually done.

Note that if the model should be for a moveable like a potion, then it needs a collision mesh. This is a very simplistic shape that can be part of the model - you could look at the existing holywater's collision mesh to see how it's done.

Link to comment
Share on other sites

Thank you!  And so simple, too.  Being an unsophisticated type, I'll opt for the easy way. 

eta. -  or perhaps not.  I need a new icon and inv_name etc. - i.e. not "holy".  So back to the problem:  where do I put the new entitydef?  Is myFM/def the right place?  Is my copy/paste -> change names procedure on track?  

eta2.  After creating a holy water potion then changing the model to my own, it works exactly like the original holy water -- so my model inc. collision mesh is OK.  The icon and inv_name are dead wrong, tho'. 

Also, about the way holy water arrows work is very odd and I don't like it.  I tested on various undead AI with these results. 

4 x hw_arrow to kill it.
1 x fire_arrow to kill.

2 x hw_arrow to kill.
1 x fire_arrow to kill.

2 x hw_arrow to kill.
1 x fire_arrow to kill.

invisible to player, it still attacks and kills player

flat black skin.  nonsolid for hw_arrow and fire_arrow

How can a player know it takes 4 shots with holy water arrows to kill the (no doubt closely) attacking revenant?

What's the point of an invisible unkillable attacker (builder ghost)?  Or an unkillable revenant spirit? 

Edited by geegee
Link to comment
Share on other sites

I got it to work with my model, icon, names.  Everything good to go except, IMO it's unusable as it takes 4 hits to kill a revenant, 2 to kill a skeleton - which strikes me as being so wrong that it kills immersion.  Too bad.

The problems with builder_ghost and revenant_spirit must be a rendering bug.

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.

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

    • MayheM

      Hello, Since this track is originally from TDM,i think it's better to ask here than TTLG. Do you guys have the full version of this ambient track?
      · 2 replies
    • DeTeEff

      Bachelor Mapping Challenge!
      The girlfriend will be away to her mum's place for almost a week, which means more mapping time for me! I'm planning a speed build. Hope it will go my way
      I'm starting by downloading 2.11. Don't know if I'm going to use any fancy new stuff. Just want to crack those itching map muscles that has gone dry and dead since almost a year's worth of no-mapping
      · 4 replies
    • kano

      The cool part of Canonical's Snap, is that my machine can now ray-trace an entire (simple) scene faster than it takes the web browser to start!
      · 5 replies
    • datiswous

      Fm idea (braindump)
      "Experience the life of a mission builder"
      Esentially there are finnished elements placed somewhere in storage in the game and you have to place them in the correct places, build some walls here and there, add guard routes, give them their correct speech lines, etc. Decorate the places.. all in-game. lots of fun.. 😉
      If you do it right in the end you can play the mission.
      (would be even cooler if a thief-ai could play the mission, making it some kind of tower-defence game)
      This first started as an idea for an aquarium builder mission where-in you have to fill an empty aquarium with sand, waterplants, castles water and swimming fish. But above idea is more fun.
      · 4 replies
    • JackFarmer

      Dear ChatGPT, What are The Builders in the Dark Mod?
      The Builders is a popular game mode in the video game community called "Dark Mod," which is a fan-made tribute to the classic "Thief" series of stealth games. In this game mode, players assume the role of builders who construct structures in a dark and ominous environment while trying to avoid detection by patrolling guards.
      The Builders game mode is unique in that it offers players the opportunity to create and design their own levels using the in-game tools and resources provided. Players can experiment with different building materials, construct intricate traps and puzzles, and create their own unique gameplay experiences.
      While The Builders game mode is not an official part of the Dark Mod, it has become one of the most popular and well-loved aspects of the game, thanks to its emphasis on creativity, strategy, and stealth.
      You guys did not know that, did you?
      · 2 replies
  • Create New...