Jump to content
The Dark Mod Forums

Limit to how many lines the console shows.


kingsal

Recommended Posts

Hey all,

 

When I compile my map, I see some red "node without volume" errors appear as its compiling.

 

However when I scroll up in the console I don't see them. I've tried dumping the console to a .txt and haven't been able to find the error lines there either.

 

Is there a limit to how many lines the console will show? Is there a way to show all the previous lines?

Any help would be great!

 

Thanks!

Link to comment
Share on other sites

Yes, there's a limit, and the condump command will only dump what's still on the console. If you want to capture the lot, you can set console command

 

com_logFile 1

 

before you start to dmap, which will spool console output to a file, qconsole.log, in your main darkmod folder. If you want to specify a different filename, you can use command com_logFileName.

 

I don't think I've ever done a dmap without seeing some of those "node without a volume" warnings. I'm not sure what they mean or whether they're a problem. I'll go take a look what's spitting them out.

Link to comment
Share on other sites

They come from the dmap innards, and they're talking about something that dmap has done rather than something you can affect directly in your map. Dmap carves up the open space in your map into convex regions, and it does the same for any func_static made of brushes. This warning gets issued when one of those subdivisions turns out to be empty. I'm not sure why a warning gets issued.

Link to comment
Share on other sites

Awesome! Thanks for the help Steve.

 

I definitely see a lot of node without volumes and most of the time they don't seem to affect anything.

 

However, once I checked the log, I did find some strange entities in my map that were invisible in the editor. They only show up as an origin point when I selected them. I deleted those and it seemed to improve performance in certain areas.

Link to comment
Share on other sites

Awesome! Thanks for the help Steve.

 

I definitely see a lot of node without volumes and most of the time they don't seem to affect anything.

 

However, once I checked the log, I did find some strange entities in my map that were invisible in the editor. They only show up as an origin point when I selected them. I deleted those and it seemed to improve performance in certain areas.

 

That can happen -- or used to be able to happen -- when you "tab into" an FS to select individual bits of worldspawn and then delete all the brushes and patches out of the FS without deleting the FS itself. But I just tried to do it to see whether we'd get one of these warnings from it and I found I couldn't... when I delete the last piece of worldspawn, the entity vanishes too. Perhaps greebo fixed it in DR. I'm using DR 2.02.

Link to comment
Share on other sites

Yes, there's a limit, and the condump command will only dump what's still on the console. If you want to capture the lot, you can set console command

 

com_logFile 1

 

before you start to dmap, which will spool console output to a file, qconsole.log, in your main darkmod folder. If you want to specify a different filename, you can use command com_logFileName.

 

I just tried these in the console, and it says 'unknown command'. There does seem to be an r_logFile, but it crashes TDM.

Some things I'm repeatedly thinking about...

 

- louder scream when you're dying

Link to comment
Share on other sites

You're right, the cvars I quoted are not valid console commands, and r_logfile looks like it's only partially implemented and causes the game to quit. It also looks like it's meant to do a different thing anyway.

 

Does anyone else know a way to spool console output to a log file? Surely that's possible? If not I'll fix up com_logfile so it does what I thought it did.

 

I've used com_logfile often myself for this purpose, and I know grayman does too because he told me about it in the first place, but I admit I've only done it by changing the cvar default value in the code, I hadn't actually tried activating it from the console, I just assumed it would work.

Link to comment
Share on other sites

Apart from the logging code in TDM (which is different from the console ouput), you can also use "condump console.txt" to get the contents atferwards into a file. (But it doesn't stream them out as they appear)

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Hey guys, I found two console commands that work:

 

 

logFileName = yourfilename.log

Sets the name of the logfile that shows up in your fms folder

 

logfile = "1"

Starts dumping the console lines into the log file.

 

SteveL- Looks like you don't need "com" at the beginning.

Edited by kingsal
  • Like 2
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

      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 )
      · 2 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
       
      · 3 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...