Jump to content
The Dark Mod Forums

Map with no entities leaks


Springheel

Recommended Posts

Trying to track down a sound leak, I copied brushes from an existing map, moved them to a new one and surrounded them with a big cube. There are NO entities in the map at all. But when I try to dmap it, it leaks, yet a "cannot load map.lin" error happens when I try to load a pointfile for it. I didn't think maps COULD leak when there were no entities. Anyone have an idea what might cause that?

Link to comment
Share on other sites

It might be a texture with an incomplete material definition, if the leak path goes through a solid brush and there isn't an entity origin in the void this might be the culprit.

 

The way I would check this is check the above texture in the .mtr and if it isnt that then try to the following.

  1. hide all enitities, clip and patches, then
  2. depending on how many layers you have export each layer as a prefab
  3. open up a new map and import all the above prefabs but make sure to use main menu> file> import prefab so that the prefaab is inported in the exactly the same place as the map it was exported from.
  4. change the texture on all the VPs to some solid texture - I use carpet texture because if you forget its easy to see.
  5. open up one side of the map that opposite to where the leak is coming from to the void.
  6. dmap untill you find the leak.
  7. export all layers as prefabs.
  8. open up the original map, delete all brushes, import layer prefabs.
  9. yer done.

Now if the fix was simple you can ignore all the layer-prefab bollox.

Link to comment
Share on other sites

]dmap temp1

---- dmap ----

--- LoadDMapFile ---

loading maps\temp1

glprogs/ambientEnvironment.vfp

glprogs/ambientEnvironment.vfp

892 total world brushes

0 total world triSurfs

0 patches

1 entities

2470 planes

23 areaportals

size: -4717,-2679,-2726 to 4820, 3665, 3847

############### entity 0 ###############

--- FaceBSP ---

5204 faces

7839 leafs

0.1 seconds faceBsp

----- MakeTreePortals -----

WARNING:node without a volume

----- FilterBrushesIntoTree -----

892 total brushes

6345 cluster references

--- FloodEntities ---

0 flooded leafs

no entities in open -- no filling

**********************

WARNING:******* leaked *******

**********************

 

Hmm, it says there is an entity, but nothing shows up in the DR entity list.

Link to comment
Share on other sites

Can you filter all but worldspawn, zoom out, and manually select everything left? Maybe you can find/delete it then. Perhaps it's something like a spline origin...but with nothing in the entity list...? That's strange

I had a similar-yet-opposite problem with the horse AI a while back. The model would not show in DR at all, but I could select its origin from the entity list. Also if I selected everything in the general area with the mouse, then the horse origin would become selected though the horse was not visible.

Edited by PranQster

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

I just reproduced your result. I tried to dmap a completely empty map and TDM crashes. Add a caulk cube and turn it into a room, and I get your result: 6 brushes, 24 planes, 1 entity, everything else 0. That leaked and there was no .lin file generated. I suspect the 1 entity is $world itself.

 

I added a moss arrow to the scene and it dmaps fine. Maybe you do need at least 1 entity aside from world for dmap to work.

 

EDIT: The successful dmap with caulk cube + moss arrow showed 2 entities.

Edited by SteveL
Link to comment
Share on other sites

A map of just worldspawn has one entity...

// entity 0

{

"classname" "worldspawn"

...

 

But that's an aside, I'd need to see the map file to be of any help.

"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

I added a light and a speaker, and presto, it dmapped fine. What an odd result.

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

    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • 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
×
×
  • Create New...