Since the engine will not update any more hintstrings once the count exceeds 48, the idea is to use hud.menu to display the hintstrings instead of setHintString().
Download trem_hintstrings.iwd v1.4 and drop it in root/mods/<mapname>/ , then recompile any part of your map or mod. Launcher will auto-copy it to your AppData/mods/<mapname> folder next time you compile your mod.
Download trem_hintstrings_hud.zip v1.1 and drop it in root/raw/ui/ . If you have never made changes to your hud.menu then just click yes to replace the existing file - a backup of the original has already been included in the download. If you have already made changes to your hud,menu, then read section 5 . Now recompile your mapname_patch.ff using Launcher, as this file's csv has an include line for hud.menu already. If you have moved your hud.menu to a different FF then compile that one instead obviously.
Instead of using setHintString on your triggers, you need to add
to the top of any file you want to use the custom _setHintString() function in. I do not suggest using cross-file calls such as maps\ugxm_util::_setHintString() because WaW has a limit on how many times you can make these calls.
Once you have added the above line, you simply use _setHintString() exactly as you would use setHintString on a trigger:
I also suggest implementing this to the following stock scripts for maximum effectiveness:
Simply open each of those files, add the #include line to the top of the files, then do a Find and Replace for "setHintString" to "_setHintString". Also do a find and replace for
and replace it with
You can also apply it to _zombiemode_perks.gsc, but you will have to replace
all localized strings with regular strings first. If you are using the UGX
Modtools Patch, you can download these patched versions of those files and
simply drop them into your mod's maps folder:
<Link Coming Soon>
You can call _setHintString() on the same trigger as many times as you want - the new thread will kill the old one before any string conflicts occur.
If you already made changes to your hud.menu and do not want to overwrite the file, simply open your hud.menu and scroll down a small amount until you find this:
Replace that section with this:
Credit: Treminaor