Increase character limit for console input

Discussion in 'Ideas and Suggestions' started by PriusRepellent, May 13, 2019.

  1. PriusRepellent

    PriusRepellent
    Expand Collapse

    Joined:
    Mar 19, 2018
    Messages:
    353
    When trying to debug some lua code, running it directly in console is fast and convenient. Well, at least it would be if the character limit were larger for the console input. The current limit of 255 characters isn't really enough IMO. Does this limit have anything to do with keeping some variable to 1 byte in size, because 255 seems an odd limit otherwise?
     
  2. thomatoes50

    thomatoes50
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 31, 2013
    Messages:
    722
    I have no idea what that limit is there for.

    You can increase that limit tho (tested 1024 successfully for GeLua and TorqueScript)
    gameengine.zip\core\art\gui\console.gui:32

    that hack may not be required in the near future. HINT?
     
    • Like Like x 2
    • Informative Informative x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice