Don't Starve Together

Don't Starve Together

147 valoraciones
Better Console
   
Premiar
Favoritos
Favorito
Quitar
Tamaño
Publicado el
Actualizado el
29.367 KB
23 NOV 2014 a las 0:41
1 ENE 2018 a las 13:17
10 notas sobre cambios ( ver )

Suscríbete para descargar
Better Console

Descripción
A few improvements to the console.

Note: This mod is mostly intended for mod developers. For information about the console, see:
http://dont-starve-game.wikia.com/wiki/Console

Major features
  • Console log is scrollable
  • Console log no longer prints file/line number information (but log.txt still does)
  • Console keeps focus when you'd expect it to
  • Console doesn't close after each line entered
  • Added basic CTRL+A select all support (hitting backspace after CTRL+A will delete all the text)
  • Many general useability improvements, bugs that have been fixed, and small but useful tweaks

Minor features (the rest)
  • Console always runs the 'consolecommands' script when it is opened (no more having to do RunScript('consolecommands'))
  • Console log gets hidden whenever the console closes
  • Console history ignores consecutive duplicate lines
  • Console log has word wrap enabled
  • Fixed console history not properly resetting when you move up through the history and then back down to the start
  • Modified the c_select command so that it will set the debug entity to whatever is under the mouse if it is called with no parameter (default c_select requires a parameter)
  • Added c_nextday() command as a shortcut for GetClock():MakeNextDay()
  • Console will automatically print back the value of any variable you enter (for example, if you do 'test = 1' and then just 'test' it will print back '1')
  • If you use 'return' it will print back the value that is returned (for example, 'return GetPlayer()' would print something like '100009 - wilson'); basically return can be used as somewhat of an alias of print
  • Console prints back any command you give it
  • Console has a transparent black background
  • Console can print multiple return values
  • Console will auto-execute console commands (example: "c_nextday" would translate to "return c_nextday()")
  • If the first character of an inputted line is '=', then it will be translated to 'return ' (example: "=test" becomes "return test")
  • Better, more informative error handling for inputted lines

Things that are not currently possible with Lua:
  • Moving the text input cursor (for example, moving the cursor based on mouse clicks)
  • Any sort of real text selection
  • Copy/paste support

External Resources
40 comentarios
Nova 24 NOV 2022 a las 8:54 
Hi. I'm Saul Goodman. Did you know that you have rights? The Constitution says you do. And so do I. I believe that until proven guilty, every man, woman, and child in this country is innocent. And that's why I fight for you, Albuquerque! Better call Saul. Saul Goodman, attorney at law.
DraskHunter 10 NOV 2022 a las 10:00 
butter cool saul :steamthumbsup:
Tarchun 31 OCT 2022 a las 10:22 
better call Saul
dλni 11 ENE 2020 a las 2:33 
is it working?
IntrepidNeon 18 ABR 2019 a las 13:54 
Did you make squake?
RoastedCarrots 5 MAR 2019 a las 20:43 
cool feature might be a hotkey to bind which repeats last console command (eg delete under cursor)
[TDNsa] A gorda da sua mãe 24 MAR 2018 a las 15:21 
can i change season with this? In dst i mean
Aire Ayquaza 1 ENE 2018 a las 3:32 
Hi ! Your mod crashed when i open the console in Don't Starve Together. The message is "Call to undefined method 'SetAllowClipboardPaste' in betterconsolescreen.lua line 250". So, I comment this line in your code, the mod is not crashing anymore but i can't type command in the console, the ENTER_KEY is not working and my typed command is not preccessed.

Can you fix that pls ?
Shade 14 ABR 2017 a las 6:41 
The game instantly crashes upon opening the console.
MrAkai 3 NOV 2016 a las 5:31 
game stop when i use it