Jump to content
The Dark Mod Forums

DarkRadiant questions


Netos

Recommended Posts

Hi, since I am trying my hand at DarkRadiant again, I have started a thread here for questions.

My first is: when I have created a room, how can I play it in the game? I would like to look at the map from the inside. It has a player start, and the skybox has no leaks so it should work

Link to comment
Share on other sites

The minimum for a map is a player start, an ambient_world light and a room made out of brushes. Once you have that you can use the ingame console commands "dmap" and "map" to compile and then load the map.

Should definitely take a look at Springheel's video tutorial series:

There's another series by Sotha, too.

  • Thanks 1
Link to comment
Share on other sites

You need to compile the map from the ingame console

ctrl alt ~

You'll have to then use the console to navigate to the folder you saved the map.  type dir and the folder path

Then type dmap nameofyourmap.map

Then if everything compiled, type map nameofyourmap.map

 

My next best advice is to go to the help section in the editor and read through the online tutorials.

Link to comment
Share on other sites

https://wiki.thedarkmod.com/index.php?title=A_-_Z_Beginner_Full_Guide_Start_Here!

The article series is a bit outdated in some points, but a good starting point to get the fundamentels.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

Thank you very much, all of this is very useful.

Another funny question: 

there is a mysterious black cube in my Room n.1, close to where I spawn. 

What could be the reason for its presence, and how can I remove it?

Edited by Netos
Link to comment
Share on other sites

dmap

Black cubes mean a model for an entity couldn't be found. So unless you use custom models the most likely scenario is that you turned something into a func_static and forgot to dmap.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

On 8/21/2022 at 8:20 PM, Obsttorte said:

Black cubes mean a model for an entity couldn't be found. So unless you use custom models the most likely scenario is that you turned something into a func_static and forgot to dmap.

Ehm, even if I dmap before mapping, the cube does not disappear. And I have no way to solve this unless I take out each and every entity and recompile the map

How do I search for "func_static_31", for instance? It tells me there is a leak there

Edited by Netos
Link to comment
Share on other sites

3 minutes ago, Netos said:

Ehm, even if I dmap before mapping, the cube does not disappear. And I have no way to solve this unless I take out each and every entity and recompile the map

You could check the console to see whether a particular entity complains about a model it couldn't load, then look up that entity in the entity list (J) in DR to select and delete it.

Link to comment
Share on other sites

1 hour ago, Netos said:

How do I search for "func_static_31", for instance? It tells me there is a leak there

That's a different matter. Leaks can be found via the pointfile. In DarkRadiant goto File->Pointfile. A red line appears that starts at the entity that is pointed out in the console (in your case func_static_31, but that doesn't matter actually) and will lead you to the leak. Note that every area that contains entities needs to be sealed against the void via worldspawn brushes (that's mainly a prerequisite for the pathfinding to work).

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

  • 7 months later...

Hi,
after nearly playing through all available missions in TDM, I finally decided to return the favor. However, after running through many tutorials, I still struggle with leaks in my maps.

From what I understand it's just about sealing my environment and preventing the player from seeing the void. If that were to be the only cause, you could theoretically seal any leak by just creating a bush that wraps everything. Unfortunately that doesn't work.

What are your strategies, when approaching leaks?

Here's what I did so far:

  • search for gaps from inside and from void perspective
  • filter all entities and check again
  • sealing like crazy using additional brushes
  • deleting rooms in question (my trouble usually starts after creating a visportal

Unfortunately, I've never been able to get rid of a leak and ended up going back to an older version just to run into a similar issue again later on.

Link to comment
Share on other sites

What type of leak is it?  Is it an entity that leaks to the void, or a visportal being dropped?

Have you tried looking at the pointfiles (File -> Pointfile)?  Then CTRL+SHIFT+k to follow them to the leak.

Also, this is the thread people usually use for help (ignore the 'newbie' in the title, everyone uses it): 

 

 

  • Thanks 1
Link to comment
Share on other sites

Wow, quick response. Thanks!

So far it's always been an entity leak.

I've had a look at the pointfiles. Still I wasn't able to detect whats wrong.

Could it be that leaks can only be resolved by dmapping? Because thats what just happend. It seems to me that once a pointfile was generated it stays no matter what I do. I typically change something, then save and turn pointfile off and on to see if it still complains, which it always does. I'll try to reproduce this to confirm my assumtion.

CTRL+SHIFT+k was also new to me. Seems like I still have some reading up to do. 

Link to comment
Share on other sites

Often old and obsolete .lin files will remain in the maps directory even after you've sealed the leak that caused them. You can delete those; dmap will produce new ones for actual currently existing leaks.

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                                                                                  A House Call

                                                                                                  The House of deLisle                                                                                                  

                              

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

    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
×
×
  • Create New...