Jump to content
The Dark Mod Forums

DarkRadiant 3.4.0 released


Recommended Posts

The layer hierarchy is very welcome!

 

edit: it doesn't seem to work when compiling from code on Linux...

Edited by thebigh

{ 0 | 🞵 } = funk_tastic

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                                                                                  A House Call

                              

Link to comment
Share on other sites

I'm getting this while trying to package for Debian:

CMake Error at cmake_install.cmake:554 (file):
  file INSTALL cannot find
  "/build/darkradiant-3.4.0/obj-x86_64-linux-gnu/install/bitmaps/darkradiant_icon_64x64.png":
  No such file or directory.

I'm currently preparing a patch, will make a PR soon. PR: https://github.com/codereader/DarkRadiant/pull/31

Edited by coldtobi
  • Thanks 1
Link to comment
Share on other sites

On 10/9/2022 at 4:08 PM, thebigh said:

The layer hierarchy is very welcome!

 

edit: it doesn't seem to work when compiling from code on Linux...

Did you file a bug report yet?  I noticed that I can drag the layers, but dropping them doesn't do anything.

Link to comment
Share on other sites

On 10/9/2022 at 10:08 PM, thebigh said:

edit: it doesn't seem to work when compiling from code on Linux...

I just pushed a fix to issue #6129 to github, I think it'll be working now

42 minutes ago, AluminumHaste said:

I still have the issue with the brushes not being highlighted when selected in ortho views, clearly an AMD thing though.

I wish I could do something about it... I have no machine with an AMD card around, neither at home nor at work, or anybody I know.

Link to comment
Share on other sites

3 hours ago, greebo said:

I just pushed a fix to issue #6129 to github, I think it'll be working now

Yep, it's working now

{ 0 | 🞵 } = funk_tastic

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                                                                                  A House Call

                              

Link to comment
Share on other sites

6 hours ago, greebo said:

I just pushed a fix to issue #6129 to github, I think it'll be working now

I wish I could do something about it... I have no machine with an AMD card around, neither at home nor at work, or anybody I know.

You can remote into my desktop and run whatever tests you need to.

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

I'm running linux; darkradiant compiled from source (most recent commit of master).

In the 'Regular' and 'RegularLeft' window layouts keyboard input doesn't work at all. Some windows (console or media browser) don't open.

The layer dialog does not work as supposed. I can't assign a parent layer by drag and drop. Hiding through the checkboxes does nothing. Everything else seems to work.

Maybe not a bug:

When the media browser is shown (or some other window with a search function) the search field captures keypresses. Which is really, really annoying and disruptive.

Edited by Baal
Link to comment
Share on other sites

10 hours ago, Baal said:

In the 'Regular' and 'RegularLeft' window layouts keyboard input doesn't work at all. Some windows (console or media browser) don't open.

I can reproduce this. It doesn't surprise me much since these legacy GtkRadiant layouts are hardly maintained or tested these days. I recommend using the Dockable layout instead and dragging the dock windows to the positions you want.

10 hours ago, Baal said:

The layer dialog does not work as supposed. I can't assign a parent layer by drag and drop. Hiding through the checkboxes does nothing. Everything else seems to work.

I also see the checkboxes not doing anything. Drag and drop partially works for me, although I can only create a parent relationship. I cannot find a way to unparent a layer and bring it back to the top level.

10 hours ago, Baal said:

When the media browser is shown (or some other window with a search function) the search field captures keypresses. Which is really, really annoying and disruptive.

I think the Dockable layout would avoid that problem too (because the media browser would no longer be a top-level window).

Link to comment
Share on other sites

Quote

these legacy GtkRadiant layouts are hardly maintained or tested these days. I recommend using the Dockable layout instead and dragging the dock windows to the positions you want.

I much prefer the old behaviour of opening the media browser or entity view in a temporary window. This way you can make them comfortably large and they dont't waste screen space when you don't need them (which is most of the time).

Quote

I think the Dockable layout would avoid that problem too (because the media browser would no longer be a top-level window).

Mostly yes. But it is still a problem. You cannot quickly switch to the media browser and then back to another view. I think this behaviour of capturing keys and stop shortcuts to work as expected is bad. If it's not to difficult to implement, I would say ditch the automatic search on keypress.

Link to comment
Share on other sites

22 hours ago, OrbWeaver said:

I also see the checkboxes not doing anything. Drag and drop partially works for me, although I can only create a parent relationship. I cannot find a way to unparent a layer and bring it back to the top level.

Gotta love these little platform-specific differences. The wxDataViewEvent sent in wxGTK is not delivering the correct column, so the event handler is not reacting. I rewrote the event handler in #6130, the checkbox should work now.

About the drag-and-drop: this is another problem that seems to affect wxGTK only... in Windows, I can drag the layer to the top border of the view and it will deliver an empty target wxDataViewItem, which means make it toplevel - in wxGTK it doesn't seem to be possible to drag it to the top.(*)

I can think of two possibilities right away

  • either restrict the system such that the Default layer can never have child layers. Dragging a layer onto the Default layer will make the dragged layer a top-level layer
  • Add a context menu item called "Make Top-Level"

I don't like either of the two very much. Suggestions?

(*) Yes, there's a guard in the wxGTK event handler:

wxDataViewItem item(GetOwner()->GTKPathToItem(path));
if ( !item )
   return FALSE;

this prevents any empty item from being forwarded to the event.

Link to comment
Share on other sites

Yep, hiding layers via the checkbox works for me now as well. Rearranging the layers is still a bit unintuitive but that's no big deal.

{ 0 | 🞵 } = funk_tastic

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                                                                                  A House Call

                              

Link to comment
Share on other sites

I think the drop indicators are out of my control, they are subject to the platform wxWidgets is running on.

But I'm open to suggestions, if anyone has ideas on how to improve the hierarchy arrangement.

Link to comment
Share on other sites

39 minutes ago, Baal said:

Is it possible to reorder layers with drag and drop?

It's sorted alphabetically right now. The layers don't persist any sort order in the map files.

40 minutes ago, Baal said:

Parenting and unparenting layers works; but it is trial and error.

Yes, drag and drop works much better in Windows, the wxGTK port is not giving good visual feedback about where you're going to drop the layer. 😑

Link to comment
Share on other sites

After working with the layer hierarchy for a bit, I've come to the conclusion that only the leaf nodes should contain geometry. You can't easily select  a parent node alone; you have to move its contents to a child if you want to do that.

So instead of making one node the child of another node, they should be selected, then grouped. That would create a new, empty parent with the grouped layers as children.

Unless there is some error in my thinking, this makes more sense to me.

Link to comment
Share on other sites

  • greebo unpinned this topic

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

    • MayheM

      Hello, Since this track is originally from TDM,i think it's better to ask here than TTLG. Do you guys have the full version of this ambient track?
      https://sndup.net/z4ty/
      https://sndup.net/qwhy/
      · 2 replies
    • DeTeEff

      Bachelor Mapping Challenge!
      The girlfriend will be away to her mum's place for almost a week, which means more mapping time for me! I'm planning a speed build. Hope it will go my way
      I'm starting by downloading 2.11. Don't know if I'm going to use any fancy new stuff. Just want to crack those itching map muscles that has gone dry and dead since almost a year's worth of no-mapping
      · 4 replies
    • kano

      The cool part of Canonical's Snap, is that my machine can now ray-trace an entire (simple) scene faster than it takes the web browser to start!
      · 5 replies
    • datiswous

      Fm idea (braindump)
      "Experience the life of a mission builder"
      Esentially there are finnished elements placed somewhere in storage in the game and you have to place them in the correct places, build some walls here and there, add guard routes, give them their correct speech lines, etc. Decorate the places.. all in-game. lots of fun.. 😉
      If you do it right in the end you can play the mission.
      (would be even cooler if a thief-ai could play the mission, making it some kind of tower-defence game)
       
      This first started as an idea for an aquarium builder mission where-in you have to fill an empty aquarium with sand, waterplants, castles water and swimming fish. But above idea is more fun.
       
      · 4 replies
    • JackFarmer

      Dear ChatGPT, What are The Builders in the Dark Mod?
       
      The Builders is a popular game mode in the video game community called "Dark Mod," which is a fan-made tribute to the classic "Thief" series of stealth games. In this game mode, players assume the role of builders who construct structures in a dark and ominous environment while trying to avoid detection by patrolling guards.
      The Builders game mode is unique in that it offers players the opportunity to create and design their own levels using the in-game tools and resources provided. Players can experiment with different building materials, construct intricate traps and puzzles, and create their own unique gameplay experiences.
      While The Builders game mode is not an official part of the Dark Mod, it has become one of the most popular and well-loved aspects of the game, thanks to its emphasis on creativity, strategy, and stealth.
       
      You guys did not know that, did you?
      · 2 replies
×
×
  • Create New...