Tabletop Simulator

Tabletop Simulator

Gloomhaven - Fantasy Setup (Scripted UI)
Agazmon Jan 6, 2021 @ 2:48am
Modding a mod
Hi, I have been playing this mod for the last 6 months, and last week we added a new class which apparently is approved to play, the ruinmaw, this class have new effects like Disarm, Inmobilize which are class specific, you drop the token over the class mini and it work like any other normal effect, but, enemies and other characters they dont support this feature, I have tested to add it myself to the game, and it kinda work but the buttons does not totally work and it adds the new effect when added other already implemented effect, and most important thing I have to mod each mini to support this.

Have anyone modded to do this already?
How do you do it?
Some advice for doing it?


*Warning this might broke your Scripted Setup or end up with an annoying error message on screen If you do it wrong. Do it on your own responsability*

My order to do it, is the next one.
  1. Import the entire desired class along with tokens to this mod.
  2. Pull out the class mini of the box.
  3. Secondary button on the mini -> Scripting -> Scripting editor
  4. On top of the opened script, are all the effects available for the class. Take the new effects and copy them.
  5. Paste the new effects on the desired mini.
  6. Return to the custom new class script and click on Custom UI Assets (The icon with the wrench and hammer).
  7. Seek for the new effects, and one by one add it to the desired mini Custom UI Assets (Yep its a mess).
  8. Change the script category to UI on the left part of the window and go once again to the new class UI file.
  9. Copy where it says <Button id="*nameOfTheEffect*"> etc, etc, (make sure you copy the entire xml tag).
  10. At this point it reload will be needed for sure, drop the new tokens over the mini, but, for me it doesnt completely work, I dont know if I did miss something or what.
Errors I found:
When added some already existent effect it adds the new ones too.
Some effects does not actually add they just collide with the mini and does nothing.
< >
Showing 1-1 of 1 comments
Kijan  [developer] Jan 31, 2021 @ 12:46am 
did you saved the game with the mini out? and then made your changes? because if the mini is in the bag and you grab it and then make you changes and then press the button on the scripting to save the changes it will not save it correctly becuase the mini is in the box on next load.

and for the monster:
yeah you have to do it manually for all.
i do this in the save game with an editor and find&replace things. i do it ingame on one mini then find this mini in the savegame and copy the stuff i want to replace then find another mini without the change and select this to replace the lua stuff. but oyu have to be carefull not to distroy your save ;)
< >
Showing 1-1 of 1 comments
Per page: 1530 50