Jump to content
The Dark Mod Forums

Doors With Handle


BlackThief

Recommended Posts

I think we should definitely have doors with working handles in the video, otherwise people will start to complain about that. I modeled a door with a handle today, but I don't know:

1. how to get the model working as a door

2. how to animate the handle (I assume it has to be done with an animation)

 

 

anyway here're some screens:

handle_close1.jpg

 

door_model.jpg

Link to comment
Share on other sites

Thanks BT, I've been looking for those for a while. Looks really good. Here's a link on the subject just in case: http://forums.thedarkmod.com/index.php?showtopic=779

Link to comment
Share on other sites

In order to be able to frob them, they must be seperate entities on the doors.

 

I guess we will need md5animations though, because otherwise I can't rotate them properly. When I rotate the entity by code, then it would rotate the entire entity. It depends on wether the lock should highlight as well (which I think it should) or only the handle itself. If only the handle, I can rotate it by code, otherwise we need an animation for it.

Gerhard

Link to comment
Share on other sites

We don't really have to frob the handle separately if that creates problems. It worked in previous games by frobbing the whole door. If it's unlocked, it opens. If your lockpicks are selected, then you enter lockpicking mode. I'm not sure there's any benefit to frobbing the handle, and it would make it harder to go through doors while running.

Link to comment
Share on other sites

There is a difference IMO wether you frob a handle (includig the lock doesn't really matter) or the whole door. When I frob a door I want to open it, while when I frob the handle I want to either lock/unlock it, either by lockpicking or by a key. Frobbing always the door is IMO not desirable. Also we will need handles as seperate entities anway, because we also want to apply them to chests and other stuff as well. So the handle doesn't need to be positioned on a door. Consider the cell locks in teh original games. Usually they were placed on the wall beside the door in many cases. So I would think it is much better to have a lock entity, where the lockpicking/key is applied to, otherwise we create an unncessary special case for doors.

Gerhard

Link to comment
Share on other sites

So if you frob the whole door and the door is unlocked, it opens.

 

If you frob the handle and the door is unlocked, what happens? Does it also open the door?

 

I guess forcing players to frob the handle/lock to lockpick it is reasonable, since they'd have to get closer to the door to do it in real life too.

Link to comment
Share on other sites

From an interface point of view, it makes sense to keep it the T2 way. If a door is locked, you can't open it, but you can use an object to unlock it. If a door is locked, you can open it, and you can use an object to lock it. No other interaction seems nessecary so there isn't a reason to seperate the handle from the door when frobbing.

 

As for the handle moving as you pick it, I think this should be done with an anim, and the current frame of the anim is modified with the code.

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.

  • Recent Status Updates

    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...