No changes showing in plot tool tip

Lynxbrutal

Chieftain
Joined
May 19, 2015
Messages
17
Part of a mod I'm working on needs to add some information to the plot tool tip(s). So I started making some changes to PlotHelpText.lua, PlotHelpManager.lua, and PlotMouseOverInclude.lua. However, no of the changes I make are showing up in game.

I even added little "test" messages to the TextString but even those don't show up.

Yes, I'm enabling the mod and yes I'm building it each time.
 
Of more importance is whether you are 'activating' the files correctly. whoward69's what ModBuddy setting for what file types tutorial

Also, what are you seeing, if anything, in the lua.log that would be related to your replacement files failing to load because of lua-syntax errors, for example? If you have not already done so, follow this tutorial for enabling the error logging system: whoward69's enable error logging tutorial. With error logging enabled you would want to be look 1st in the lua.log for error messages related to syntax or undefined variables, etc.

I haven't done any real UI modding of lua files myself, but I know that some of these will require a matching Something.xml for your Something.lua, and the methods required in modbuddy are slightly different from the methods required for standard xml files (that begin and end with <GameData> tags).

Without the actual mod to look at it is nigh on to impossible to diagnose what error you may be making. whoward69's zip your mods and attach tutorial My suspicion is that you are not doing something correctly in ModBuddy.
 
It turned out to be that I didn't have VFS set to true. Now I just get no tool tips at all, completely gone. The XML files for PlotHelpText and PlotHelpManager are both just one table for the size and position of the tip.

I think it might be whatever calls the function is converting TextString and that doesn't know what to do with what I added.
 
Back
Top Bottom