Jump to content
The Dark Mod Forums

Recommended Posts

Posted (edited)

I tried to add a custom collider to a pot so you could, for example, hide a key in it that would fall out if the player tipped the pot upside down. This doesn't seem possible - any collider that isn't a single solid polygon gives me an error on map start. 

For example, something like this doesn't work:

collider.jpg.392269a90ea33293855ae91a7fa48296.jpg

 

Is this just a limitation of the engine or is there a way to do it? It's not super important, I just thought it would be cool to do. 

 

Edited by grodenglaive
Posted

I'm pretty sure collision meshes have to be convex.

  • Thanks 1

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                The Wizard's Treasure                             A House Call

                                                                                                  The House of deLisle                                                                                                  

                              

Posted
On 9/15/2023 at 2:24 PM, grodenglaive said:

I tried to add a custom collider to a pot so you could, for example, hide a key in it that would fall out if the player tipped the pot upside down. This doesn't seem possible - any collider that isn't a single solid polygon gives me an error on map start. 

For example, something like this doesn't work:

collider.jpg.392269a90ea33293855ae91a7fa48296.jpg

 

Is this just a limitation of the engine or is there a way to do it? It's not super important, I just thought it would be cool to do. 

 

This was done in the mission Tears of Saint Lucia, where you have to shoot a vase with a key in it off a ledge.
It's right at the start of the mission, so go see how that was done.

  • Thanks 1

I always assumed I'd taste like boot leather.

 

Posted

Thanks!

Okay, In St. Lucia, a fake key was bound to a vase, then a stim/response used to delete the fake key and put the real key in the players inventory when the vase was frobbed. Not quite the effect I wanted, but it could be useful.

Posted

That's the new version, it used to be a real key would fall out.

Was causing issues where players would lose it and couldn't find it.

I don't remember how they did that originally.

I always assumed I'd taste like boot leather.

 

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...