Jump to content
The Dark Mod Forums

Recommended Posts

Posted

@STRUNK alternatively you can create a new filter for speakers: let it "hide" anything with the "classname" "speaker". Also, when you say green blob do you mean the little green box, or the big sphere showing its radius? If it's the latter you might accidentally have toggled on a button for showing speaker volumes, the button is at the top of DR's window.

Posted (edited)

Two more essential puzzles to add, put these last two puzzles are driving me crazy.

I have a puzzle that requires the player to collect four items (Ritual Hammers). The items shall later be placed somewhere via S/R. (However, that's not the issue.)

I have created four items as defined below:

grafik.png.048b280c731c37ea56ed431c32989a58.png

 

Note: I have created for each moveable a separate model (thus the numbers) and I have saved for every separate model a CM in the models folder.

Result:

When I collect all four items (without further interaction), then everything looks ok:

grafik.png.b1e0404f05a8cf808ebf0109d29bdb27.png

Four ritual hammers in the inventory. Great.

The problem is: If I collect more than one Hammer and press "R" for removal, I receive the following game error:

IDMoveable "IDMoveable_atdm:moveable_custom_Item_190x": cannot load collision model. -"  ("x" is a differing parameter)

How can that be? Please note: If I collect only one random hammer and press "R", everything works ok and I can drop the item.

 

Jack

 

 

 

Edited by JackFarmer
Posted

Just guessing here, but maybe there's a conflict because the hammers are stackable, but each uses a different model. Maybe the code can't handle that situation?

Possible workaround: make them non-stackable. You'll get separate items in your inventory. Does that avoid the problem? You might have to use different inventory names (Ritual Hammer 1, Ritual Hammer 2, etc). Maybe not an optimal solution.

Is the reason you created four models that the hammers all look different?

Posted (edited)
6 hours ago, joebarnin said:

Just guessing here, but maybe there's a conflict because the hammers are stackable, but each uses a different model. Maybe the code can't handle that situation?

Possible workaround: make them non-stackable. You'll get separate items in your inventory. Does that avoid the problem? You might have to use different inventory names (Ritual Hammer 1, Ritual Hammer 2, etc). Maybe not an optimal solution.

Is the reason you created four models that the hammers all look different?

Yes, you are right; giving it differing names (Hammer 1, Hammer 2, etc.) works, but it looks so uncool, as you have now identical objects displayed separately in the inventory.

The hammers are all identical.

The reason why I added four models was, that I thought the problem is, that I only have one model and the code searches for additional cm files. That's (of course) not very logical. however, it made no difference anyway.

Hm....

Edit:

This was the original setup (used four times), but it did not work:

grafik.png.6cb820084d3fd6d33268c90e061da829.png

 

Edited by JackFarmer
Posted
1 hour ago, JackFarmer said:

The hammers are all identical.

One solution would be to make each hammer unique. One could be fancy with golden elements, one could be a worn old hammer, another could be a warhammer. Would fit in with the religious theme, too (i.e. how the true holy grail in Indiana Jones was just a wooden cup while all the fancy gold ones were death-bringing fakes).

Posted
1 hour ago, Dragofer said:

One solution would be to make each hammer unique. One could be fancy with golden elements, one could be a worn old hammer, another could be a warhammer. Would fit in with the religious theme, too (i.e. how the true holy grail in Indiana Jones was just a wooden cup while all the fancy gold ones were death-bringing fakes).

Yeah, I know what you mean. The problem is, I have already several other puzzles with such naming conventions in the mission and I do not want to overdo it. Plus, I simply do not want more of those artefacts with adventerous names needing readables to explain their origin. :)

Thus, I will go with joe`s suggestion. It is not the most elegant solution, but it works.

Posted

The problem sounds weird, though. Surely TDM doesn't crash if you drop one of several stackable keys? If the problem exists with stock inventory items it's worth a bug report.

Posted
5 minutes ago, Dragofer said:

The problem sounds weird, though. Surely TDM doesn't crash if you drop one of several stackable keys? If the problem exists with stock inventory items it's worth a bug report.

I just tried it, and that works fine. 

Posted
20 minutes ago, joebarnin said:

I just tried it, and that works fine.

I just saw that keys have the collision mesh inside their model. It could be that the crash has something to do with the fact that the hammers' collision meshes are stored as separate files - I've never had good experiences with that system.

The Clipmodel page on the wiki even says they should be in a single file.

@JackFarmer if you send me your hammer model I can add a collision mesh to it.

Posted

"com_showfps 0" in the console turns it off.

If it's on each time you start DM, then you've got it set in your darkmod.cfg. Remove this line:

seta com_showFPS "1"

  • Thanks 1
Posted

Making a patch cilinder with a height less then 0.5 units seems to work in DR, but ingame it becomes black ... Is this just how it is, or is there something else happening?

Posted

It seems normal for me. The only thing I can suggest offhand is trying different texture scaling in case that has something to do with it.

Some things I'm repeatedly thinking about...

 

- louder scream when you're dying

Posted (edited)

I am still trying to find a way to activate/deactivate func_bobbing entities, but still I had no luck.

So far I've tried:

  • start_on
  • start_off
  • on
  • off

Is there really no way to start/stop this entity?

Edited by JackFarmer
Posted

At a glance, I'm afraid you might be out of luck. I suppose you could try using hide/show to swap it with a func_static, though that might look bad if the player can see it at the time. Or replicate the bobbing behaviour with some other kind of binary mover.

  • Thanks 1

Some things I'm repeatedly thinking about...

 

- louder scream when you're dying

Posted (edited)

@JackFarmer

I mimicked a func_bobbing with the experimental func_mover_dragofer and it works if not set to interuptable: so the up or down movement always completes after shutting it off.

It's essentially what you could do with a sliding door, but with this func_mover you can set acc- decelleration time, so it looks like a func bobbing. It is triggerd by a trigger_timer, set to 0.1 sec longer then the move time of the func_mover, so it keeps bobbing when the trigger_timer is activated. Deactivate the trigger_timer and the bobbing stops.

https://streamable.com/7onrf

 

 

Bobbing.pk4

Edited by STRUNK
  • 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...