Jump to content
The Dark Mod Forums

Recommended Posts

Posted

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?  

 

Posted

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.

Posted (edited)

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. 

atdm:ai_undead_revenant   
4 x hw_arrow to kill it.
1 x fire_arrow to kill.

atdm:ai_undead_skeleton_armed
atdm:ai_undead_skeleton
2 x hw_arrow to kill.
1 x fire_arrow to kill.

atdm:ai_undead_zombie
2 x hw_arrow to kill.
1 x fire_arrow to kill.

atdm:ai_builder_guard_ghost
invisible to player, it still attacks and kills player

atdm:ai_revenant_spirit
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
Posted

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.

Posted

You could either change AI health or arrow damage to kill these monsters faster, and/or use level design to teach the player that there's a certain hierarchy here. But yeah, 4 seems much, especially without any context.

  • Like 1

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

    • JackFarmer

      "The Year of the Rat." 
      😄

      Al Stewart must be proud of you!
      Happy testing!
      @MirceaKitsune
      · 1 reply
    • datiswous

      I posted about it before, but I think the default tdm logo video looks outdated. For a (i.m.o.) better looking version, you can download the pk4 attached to this post and plonk it in your tdm root folder. Every mission that starts with the tdm logo then starts with the better looking one. Try for example mission COS1 Pearls and Swine.
      tdm_logo_video.pk4
      · 2 replies
    • JackFarmer

      Kill the bots! (see the "Who is online" bar)
      · 3 replies
    • STiFU

      I finished DOOM - The Dark Ages the other day. It is a decent shooter, but not as great as its predecessors, especially because of the soundtrack.
      · 5 replies
    • JackFarmer

      What do you know about a 40 degree day?
      @demagogue
      · 4 replies
×
×
  • Create New...