Jump to content
The Dark Mod Forums

Door frames that don't fit doors


Recommended Posts

Can somebody tell me how to use the prefab doors correctly with their frames in Dark Radiant please? I'm confused.

 

I insert a door prefab (door 96x48 2hinge), I align it to grid and put it into the doorway I carved into the wall, right?

The door prefab fits perfectly into the gap. Now comes the problem:

As I import a model (door frame wood 96x48) and align it to grid and put it in position of the door it seems that the inner frame is too big!

At the left side it goes into the wall (which would mean that there was a gap if I delete the tiny bit of wall on this side) and on the upper side there is at some part a bit of the wall above looking into the door gap.

 

How do I align this stuff properly?

post-10225-0-17593200-1384964813_thumb.jpg

Link to comment
Share on other sites

Yes, that is an old problem. The frame is a "rough approximation", unfortunately.

 

There are various solutions.

 

1 - Create an inner frame that has the same texture as the frame you're using. Use it to fill the gaps.

 

2 - Shrink the size of the frame model so the gaps disappear. (You can shrink models by using the "rotation" spawnarg. For example, "rotation" "0.75 0 0 0 1 0 0 0 1" shrinks the model to 75% of its size in the X direction.) This is not highly recommended, though, because it can lead to shadow-casting irregularities due to the renderer using the original model size for the shadow.

 

3 - Increase the size of the door. Since it's a prefab, you can adjust the main door brush, then slide the latch plate, hinges, etc. around until they match the new size.

Link to comment
Share on other sites

It does raise the barrier to mapping, especially as newer mappers wouldn't know there's an issue ahead of time, then need to spend time resolving it, sorting out if the prefab is broken or their own installation has an issue, and then potentially creating their own from scratch or trying to fix what they have in place now.

 

There are so many weird barriers to creating content, the fewer the better IMO, especially with something as ubiquitous and prevalent as doorways, so critical to this gameplay. :-)

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

  • 1 month later...
Why wasn't this fixed yet? I remember this error from 1.08 - was it forgotten?

 

Is there a bugtracker entry for it, with the name of the problem model?

Link to comment
Share on other sites

If this is a problem I could always make a start at replacing problematic door frame models, anyone got a list?

Is there a bugtracker entry for it, with the name of the problem model?

If someone logs a bug tracker with the list of the door frames that need fixing I will get started on it.

Link to comment
Share on other sites

Are they .ase models or .lwo models? If the latter, it takes me about two seconds to shift some verts over so it's flush with the door. I can't do anything with .ase, however.

Link to comment
Share on other sites

Are they .ase models or .lwo models? I can't do anything with .ase, however

They are all .ASE models models>models>darkmod>architecture>doorframes and it would be far better to modify the existing models for sure.

 

So, if no one steps up I will have to remake those door_frames.

Link to comment
Share on other sites

It just occurred to me that moving the verts of the door might cause problems. If a mapper sealed the gap with a thin brush, moving the door frame could cause z-fighting, which we don't want.

Link to comment
Share on other sites

It just occurred to me that moving the verts of the door might cause problems. If a mapper sealed the gap with a thin brush, moving the door frame could cause z-fighting, which we don't want.

 

I for one have done that.

 

I suggest that if a mapper can't get a good seal on a doorframe, he needs to adjust the door or add inside trim to the frame, or make his own frame.

 

Leave the current models the way they are.

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

    • 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.
      · 1 reply
    • 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
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...