News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

Help text pak specific

Started by makie, April 29, 2025, 06:06:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

makie

I am currently writing help texts like "setting tools.txt" specifically for our pak.
Matching to our menu configuration.

If there is a help text with the same name as in the program, the program one will be loaded preferentially bevor the paks helptext. Therefore, it is not possible to overload a program's help text.

if i change the name of the help-text in menuconf.tab to pak specific then link in the help-index disappears and the links between the help-text don´t work or link to the program one.

I would like that the pak helptext to be loaded first and overload the program one.

It would also be nice if the pak help texts appeared in the help index.

https://forum.simutrans.com/index.php/topic,23068.msg207608.html#msg207608

prissi

This is a good suggestion. The help text from the toolbars should automatically appear in the help index, same as for the tools. One workaround may be to assign F2-F12 to the toolbars, as tools with keyboard shortcuts should get a helptext, but I never tested this.

makie

I think, the help index just doesn´t test for help file in the pak folder.

prissi

The change was three lines. If everything were that simple. In in r11685.

makie

Thank you very much. :thumbsup:  :heart:
It works as I wish.