Don't Starve Together

Don't Starve Together

147 vurderinger
Better Console
   
Utmerkelse
Favoritt
Favoritter
Fjern som favoritt
Filstørrelse
Lagt ut
Oppdatert
29.367 KB
23. nov. 2014 kl. 0.41
1. jan. 2018 kl. 13.17
10 endringslogger ( vis )

Abonner for å laste ned
Better Console

Beskrivelse
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 kommentarer
Nova 24. nov. 2022 kl. 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 kl. 10.00 
butter cool saul :steamthumbsup:
Tarchun 31. okt. 2022 kl. 10.22 
better call Saul
dλni 11. jan. 2020 kl. 2.33 
is it working?
IntrepidNeon 18. apr. 2019 kl. 13.54 
Did you make squake?
RoastedCarrots 5. mars 2019 kl. 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. mars 2018 kl. 15.21 
can i change season with this? In dst i mean
Aire Ayquaza 1. jan. 2018 kl. 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. apr. 2017 kl. 6.41 
The game instantly crashes upon opening the console.
MrAkai 3. nov. 2016 kl. 5.31 
game stop when i use it