Increase the scroll history of the message console

A place for discussion of making game modifications.
User avatar
harpy eagle
Posts: 296
Joined: Sat Mar 10, 2018 3:25 am

Increase the scroll history of the message console

Postby harpy eagle » Sun Apr 01, 2018 1:46 am

Is there any way to increase the amount you can scroll up on the F1 message console? It gets filled up with "adding trigger" spam and I can't get to the debug messages I want to see.

User avatar
sven
Site Admin
Posts: 1621
Joined: Sat Jan 31, 2015 10:24 pm
Location: British Columbia, Canada
Contact:

Re: Increase the scroll history of the message console

Postby sven » Sun Apr 01, 2018 3:45 am

harpy eagle wrote:Is there any way to increase the amount you can scroll up on the F1 message console? It gets filled up with "adding trigger" spam and I can't get to the debug messages I want to see.


The history length is hardcoded in C++; but the better fix here is probably to take out some of the unnecessary console spam. Commenting out triggered_attacks.lua:124 is probably the way to go here.

(Also, to figure out where message spam is coming from, you can flip the 'console_debug' or 'print_debug' bools in print.lua -- that will let you trace back to the source file/line responsible for any output that appears in the F1 console.)

User avatar
harpy eagle
Posts: 296
Joined: Sat Mar 10, 2018 3:25 am

Re: Increase the scroll history of the message console

Postby harpy eagle » Sun Apr 01, 2018 5:16 am

Thanks, for some reason I wasn't able to find the source of those prints by searching strings, and thought they might have been coming from C++.


Return to “Modding”

Who is online

Users browsing this forum: No registered users and 17 guests