thanks to giantcabbage and George for debug console improvements

Freeform discussion about anything related to modding Transcendence.
Post Reply
relanat
Militia Captain
Militia Captain
Posts: 941
Joined: Tue Nov 05, 2013 9:56 am

I was overjoyed at one of giantcabbages's contributions which greatly improved the debug console. See https://ministry.kronosaur.com/record.hexm?id=68099.
This magnificent piece of work made it much easier to edit code in the debug screen. Among other features it allows you to to fix typos in your code inside the line of code without having to delete everything after the typo. It also allows quick navigation to the beginning or end of a line of code with the Home and End keys. Many thanks for this.

What I had missed was this additional contribution. See https://ministry.kronosaur.com/record.hexm?id=68332.
This is another outstanding addition. The easiest way I can think of to describe it is as a menu, hotkey and description for every function in the game.
As an example, instead of typing in "scrAddMinorAction" all that is now needed is to type "scrA", press Tab, type "M" and then press Tab again. The function "scrAddMinorAction" is then automatically printed into the debug screen.

Not only is this much quicker, it also completely removes the chance of typos (which for me was always very time consuming).

Even better, once the function is autoprinted to the debug console, pressing Tab again brings up the function help text for that particular function. In this example:

(scrAddMinorAction screen actionID pos label [key] [special] code) -> True/Nil

Wow. Thanks again and again. This is truly excellent work and I have also seen more ideas for improvements as well. Well done, gc. And also George for pulling these into the game.

Also thanks to:
AssumedPseudonym/digdug for the function list for every version,
digdug for the changelog,
xephyr (and possibly others, not sure) for the additions/updating of the wiki, and
whoever updates the function help text. I don't know who you are but it is appreciated.

All of this has made modding much easier. Thanks everyone.
Stupid code. Do what I want, not what I typed in!
giantcabbage
Militia Lieutenant
Militia Lieutenant
Posts: 104
Joined: Thu Apr 07, 2011 9:05 pm

Glad you liked it! Tab is probably one of the most used keys on my keyboard ;o)
relanat
Militia Captain
Militia Captain
Posts: 941
Joined: Tue Nov 05, 2013 9:56 am

For information, gc has been at it again. From game version 1.8b1 there is now the ability to scroll up and down in the debug screen. So if the screen fills up and you want to see something that has disappeared above the top of the screen you can hit PgUp and PgDn to move the debug screen output up and down. Thanks. More great work.

https://ministry.kronosaur.com/record.hexm?id=72526
Stupid code. Do what I want, not what I typed in!
Post Reply