Tabletop Simulator

Tabletop Simulator

Gloomhaven - Fantasy Setup (Scripted UI)
Monster Stat tile wrong.
Hiya I think read somewhere that this is a user bug.

I mucked around with manually rotating the monster tile once as I thought it was the wrong level (It wasn't) I hit alt and it showed the default 0 even though it was on the right way and actaully was on lvl 1 when i rotated it.

Now everytime a monster is made the figures are the right level and stats but the card tile isn't. So we have to manually rotate them around. Is there a way to revert it back to the way it should without starting a clean game? :)
< >
1-10 van 10 reacties weergegeven
Kijan  [ontwikkelaar] 22 mei 2020 om 6:06 
alt zoom does not check the real rotation, it is independed from that. it always show one rotation.
you can rotate it via Q and E but that would mean all altzooms are rotated.
the stats card should match the level on the party sheet. i am not sure what you mean that it is not. maybe send a screenshot and check if the party sheet level is the same as the monster sheet rotation
https://streamable.com/e2xvij

I've made a short video to hopefully explain what is wrong.

For some reason doesn't have my commentary. But basically as you can see. When the monsters are added in the monsters are spawned as level 2 as they should be but the moster tile is set and locked at level 3.
Laatst bewerkt door Maccers; 22 mei 2020 om 7:59
Kijan  [ontwikkelaar] 22 mei 2020 om 8:41 
i think i know what could be wrong with your save. i had tested something at somepoint and forgot to remove it so it slippped in with one update. this seems to be the time you created the save. we quickly fixed it but probably you have it still in ;) so yeah i would know where to look for it ^^ do you know how to edit scripts?
there is probably a line on the scripts object like this
sl = sl + 1
this you can delete then it should be good
Laatst bewerkt door Kijan; 22 mei 2020 om 8:49
I don't know how to edit scripts. I sound the script in game but can't find the line of code where I need to delete. Any chance you could point me in it's direction or I can give you my save file to alter?
Kijan  [ontwikkelaar] 22 mei 2020 om 13:41 
if you are in the editor choose Scripts on the left. then scroll down until you found the line ;)
found it

if partySheet ~= nil then
sl = tonumber(partySheet.UI.getAttribute("scenarioLevel", "Text"))
sl = sl + 1
local stats = getObjectFromGUID("6c1b20").getTable("stats")[params.monsterName][sl + 1]
if stats.normal == nil then boss = true end
end

if monster ~= nil then
if not figureBag and pos ~= nil then
local statSheetHeight = 0.1
getObjectFromGUID("f01091").takeObject({
position = pos,
rotation = {0.00, 180.00, 0.00},
smooth = true
}).lock()
local brownBag = monster.takeObject({
position = {pos[1], pos[2], - 27},
smooth = true
})
for _, obj in pairs(brownBag.getObjects()) do
if obj.name == "Boss" then
boss = true
end
end
local rotationStatSheet = {monsters[params.monsterName].rotationStatSheet[1], monsters[params.monsterName].rotationStatSheet[2], monsters[params.monsterName].rotationStatSheet[3]}
if sl ~= nil then
if not boss then
if sl > 3 then
if rotationStatSheet[2] > 180 then statSheetHeight = 0.23 end
if rotationStatSheet[3] > 90 then
rotationStatSheet[3] = 0
statSheetHeight = 0.23
else
rotationStatSheet[3] = 180
end
else
if rotationStatSheet[2] < 181 then statSheetHeight = 0.23 end
if rotationStatSheet[3] > 90 then
statSheetHeight = 0.1
end
end
rotationStatSheet[2] = rotationStatSheet[2] - (sl % 4) * 90
if params.monsterName == "Living Corpse" and rotationStatSheet[3] > 90 then
rotationStatSheet[2] = 270 - (sl % 4) * 90
end
else
rotationStatSheet[2] = rotationStatSheet[2] - (sl % 4) * 90
if sl > 3 then
statSheetHeight = 0.23
rotationStatSheet[3] = 180
end
end
if params.monsterName == "City Archer" or params.monsterName == "Living Corpse" or params.monsterName:find("Commander") then
if statSheetHeight == 0.23 then
statSheetHeight = 0.1
else
statSheetHeight = 0.23
end
end
end


however deleting it doesn't do anything is there another line of code I need to edit perhaps?
never mind didn't hit "save and play" seems to work now.

Legend!
Kijan  [ontwikkelaar] 22 mei 2020 om 22:46 
but you should check the change notes and consider updating to the newest version ;)
how do you update to the latest version?
Kijan  [ontwikkelaar] 23 mei 2020 om 23:25 
the best way would be recreating your progress by hand with screenshots and stuff ;)
you can copy the decks that are changed, for example road, city and treasure deck and delete them in the new file and paste them.
if you copy an item and load a fresh save without going to the menu you can paste it in the new one.
for easy copy more then one object you can put them in a bag if you want. bags can be spawned with the build in TTS options at the top
< >
1-10 van 10 reacties weergegeven
Per pagina: 1530 50