Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
Can ZScript be used to modify the console itself? If yes it would be awesome if you could add a context-sensitive tab completion.
For example the items, countitems, monsters and actorlist commands. Instead of having to type the whole name out, just write "actorlist shot", hit tab and it will cycle through all valid actors beginning with shot.
If you need a reference, Doom 3/Quake 4 is capable of this and I think Half-Life 2 too.
Type "gi", hit tab, it will say "give"
Type "give ammo_", hit tab, it will cycle through all ammo pickups.
Type "give ammo_b", hit tab, it will cycle through all ammo pickups beginning with b (bullets and belt in Doom 3's case)
Nash wrote:Amazing. This should just be part of GZDoom.pk3 to be honest.
I'll make a PR later, when I receive more feedback and weed out potential bugs. It will be harder to change when it's inside GZDoom.pk3, if it gets there.
DabbingSquidward wrote:Can ZScript be used to modify the console itself?
As far as I know, there is no way to modify console commands with ZScript. There should be modifications on the engine side. It would be awesome, indeed.
- made option path wrap on multiple lines if it is too long;
- added searching by multiple terms;
- added an option to search by any or all the terms;
- moved readable strings to language file.