Jump to content
The Dark Mod Forums

Question about layers


RPGista

Recommended Posts

I don't know if this is important: Imagine I have all structural objects in my building first assigned to a general "structure" layer; I then have added all first floor structures to a "first floor structure", and the second floor ones to "second floor structure". If I turn off "structure" layer, all structure objects should disappear (regardless of the floor). If I turn off only "first floor structure", all first floor objects should disappear, but not the second floor ones, which were left on. I understand there's a problem with my reasoning, if you were to turn off the "structure" layer, all structural objects would disappear but you would still have the "first" and "second floor" layers on, which would be confusing (unless there was some kind of automatic tree structure that would turn off all "added" layers along with the original one)... In the current system, it seems that you would have to turn off both "first floor structure" and the main "structure" for the first floor objects to disappear. If you turn off just one of the layers, there's no effect at all, which is also confusing for me? What would be the point of adding more layers to an object, shouldnt I just create a "first floor structure" and "second floor structure" and forget about the common one?

 

Also, is there a way to check for what layer is a given object assigned to?

Edited by RPGista
Link to comment
Share on other sites

There is no hierarchical relationship among layers. Each is unique and independent of any others.

 

Given layers A and B, and an object assigned to both. If you hide A and leave B visible, the object will still be visible because it's in B and B is visible. If you hide B and leave A visible, the object will still be visible because it's in A and A is visible. The only way to hide the object is to hide both A and B.

 

An easy way to think of it is if you have a ceiling brush in Floor 1 that also serves as the floor brush for Floor 2. If you just want to work on Floor 1, you'd hide all other layers but that one. Your ceiling is visible. Now it's time to work on Floor 2. You hide all layers but that one. Your floor brush is still visible.

 

And there's no way to tell what layer(s) an object is assigned to, other than hiding layers one by one and noting when the object disappears.

Link to comment
Share on other sites

Thank you. I see now why would a shared layer be useful, hadn't thought about that... I was hoping it could somehow work the way I tried to describe though, but I don't mean to suggest any drastic changes, I'm really glad DR has layers, it's super important, specially because I find the perspective navigation to be very clumsy and do most of my work on the ortho views (which would be nightmare without layers).

 

Even if you can't know what layers an obect is assigned to, being able to "select all by layer" helps a lot.

 

Just one more question, is there a way of choosing which layer you want your objects to be created in? Or is it always going to be created in the default layer, needing to be changed manually? (Basicly, a kind of active layer option)

Link to comment
Share on other sites

FastestFasterFastMediumSlowSlowerSlowest

 

This tracker entry relates: http://bugs.angua.at/view.php?id=2494

 

I have not had a chance to check the new DR. I think most(all) of these issues have been fixed. But reading that might give you some insight into how it works. FastestFasterFastMediumSlowSlowerSlowest FastestFasterFastMediumSlowSlowerSlowest

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