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

TDM Community Github: https://github.com/thedarkmodcommunity

My fan missions: The Hare in the Snare, Part 1

The Lieutenant Series: In Plain Sight  High Expectations Foreign Affairs

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

    • Xolvix

      Took a break from TDM until I got my backlog under control. It's been months and it's still not "under control". Damnit.
      · 1 reply
    • Ansome

      I sleep well at night knowing the player will never see the absolute nightmare that is my sealing brushwork outside the playable area. Only the pointfile can judge me now.
      · 4 replies
    • JackFarmer

      Somehow I admire the fact that the material from Dune has now been filmed for the third time. Personally, I could never do much with the material, but as a child of the 80s, I of course know the David Lynch movie...and that movie was at least funny!
      · 2 replies
    • Baal

      Episode 3 of the second best Doom 3 mod, Phobos,  was just released.
      · 6 replies
    • snatcher

      TDM Modpack v4.2 released!
      · 1 reply
×
×
  • Create New...