Tabletop Simulator

Tabletop Simulator

Tombola's OPR AF to TTS Army Importer
35 Comments
BillRights 7 Sep @ 12:17pm 
hello! thanks for the mod, is utterly useful. Do you have a date for a beta3.5-tombola?
Balls Aldrin 31 Mar @ 10:00am 
Such a good mod for making armies quickly, thanks! Is there anyway to change the height at which the wounds and spell counter tracker appear above the models, or its orientation? Sometimes it is inside the actual model, or facing the wrong way.
Tombola  [author] 11 Mar @ 3:32am 
Crohnos 7 Mar @ 7:59am 
the site https://opr-af-to-tts.netlify.app/ is down and I cant access it
Tombola  [author] 9 Feb @ 1:58pm 
@TheMinz

This should now be sorted as of the latest update!
TheMinzHimself 15 Jan @ 10:38am 
Hey Tombola!

FYI there's a minor error with the "Lance" keyword showing attacks getting +2 AP. It was changed in the rules to be +1 to attack rolls and +1 AP.

Thanks for the hard work on this, cheers!
Super Creek 15 Jan @ 7:40am 
You're the true MVP
Mateboom69 19 Dec, 2024 @ 3:02pm 
where can i get the models?
Tombola  [author] 1 Dec, 2024 @ 2:44pm 
@fifolozada1990
This is now done! Apologies for the long wait. New context menu items for measuring off, and army measuring off

@Axlion
Thanks for the message; I've improved the error messaging in the mod, so hopefully better at tracking down what has happened.
Axlion 16 Nov, 2024 @ 2:44am 
I seem to have encountered a bug related to the importer reading the code generated by the web tool. To quote from the game window,
Error in Script (Global): chunk_4:(883,4-55): attempt to index a nil value
This has come up when, in the web tool, I use the "Duplicate this model definition" to have an entry that would have just one of the checkable items marked.
Also a minor bug when I didn't have any models selected and may have not had one of the assignment cards active, pressing Scripting Key 2 resulted in
Error in Script (Global) function <onScriptingButtonDown>: chunk_4:(839,22-76): attempt to concatenate a nil value
Hope this helps with the next update.
fifolozada1990 8 Jun, 2024 @ 1:29pm 
Love this, can we add measuring off context menu? I tested with the following and should work, this would help me save time not having to add it to each model after the fact

i created an extra function called cycleMeasuringRadius1

function cycleMeasuringRadius1()
local decodedMemo = JSON.decode(self.memo)
measuringCircle.radius = 0;
if measuringCircle.radius == 0 then
printToAll("measuring aura turned off")
end
rebuildStatusEffectThings();
end

then within the preexisting "function rebuildcontext()" i added another context menu under the preexisting self.addContextMenuItem("Measuring", cycleMeasuringRadius, true)

note that the code before and after the self.addContextMenuItems in this example was removed to shorten the post

function rebuildcontext()
self.addContextMenuItem("Measuring", cycleMeasuringRadius, true)
self.addContextMenuItem("Measuring off ", cycleMeasuringRadius1, true)

let me know if you have any questions, need help, and if we can update this
Tombola  [author] 8 Jun, 2024 @ 3:50am 
@GoonyGooma should be fixed now! Thanks
Goomba 24 May, 2024 @ 11:41pm 
Mod's been working great. Only real issue is the one detailed here https://github.com/thomascgray/opr-af-to-tts/issues/44 . Happening with quite a few of the army special rules.
Mr. Shoes 1 May, 2024 @ 11:12am 
Ah shoot. It works now. I think I was screwed up. I think I tried to copy the generated link on the bottom of your website, but I didn't, so the Army Forge link was still in my clipboard. I was trying to put the army forge link directly into the TTS mod without knowing it.

User error :)
Tombola  [author] 28 Apr, 2024 @ 1:37pm 
@Mr Shoes if you don't mind, could you make an issue at https://github.com/thomascgray/opr-af-to-tts/issues/new ? With as much detail as possible - the game system, the army, any links to the Army Forge army, etc. Thanks!
Mr. Shoes 25 Apr, 2024 @ 3:37pm 
Love this mod! I started to get this error today. Expected string argument to JSON.decode(), got HTML?

Where should I submit these? it's pretty consistent.
Goomba 30 Mar, 2024 @ 11:02am 
Absolutely great mod! I've been trying to find a Yellowscribe equivalent for OPR and, standard bugs aside, you've nailed it here. Even has some better functionality than Yellowscribe. Thanks for the hard work!
Nerro 30 Mar, 2024 @ 1:07am 
the cursor mode forcefully getting to ruler mode after every click was apparently because measure distance is enabled on the model, disabling it first fixed the problem

blocking multiple models and then press 1 apparently works, I just didnt notice that it have to be keypad 1 instead of normal number 1 on the keyboard

the bugs are honestly not a big deal, but I still have to carefully look at the model definitions because the duplicate listings happens very frequently for me, and I don't know how to consistently replicate it, it just sometimes happens when I import a AF army list to the web app

another bug I encounter multiple times is that sometimes full descriptions of faction abilities are not loaded, they sometimes appear like this in the preview (and in the game)

[f472b6]Spotting Laser[-]
[sup][/sup]

leaving a small font size gap in the special rules listing
Tombola  [author] 18 Mar, 2024 @ 4:51pm 
@Nerro hey thanks for the kind words! I'm not looking to alter any of the formatting stuff, thanks for the suggestion though. As for the bugs, I'm really sorry, but I can't seem to replicate any of the issues you're having, and the descriptions are a bit vague to start with. If you have time/a solid repro case, please feel free to open a bug report at https://github.com/thomascgray/opr-af-to-tts/issues/new
Nerro 18 Mar, 2024 @ 5:48am 
I also think the formatting could be improved, whenever I use the tool I prefer to edit faction specific special rule(s) to be listed first and in a different color (I use green) and make weapon stats in the same line as their names without making them smaller, I also prefer to always list ranged weapon(s) first before any melee, and have special rules on weapon stats the same color as special rules and have them not listed below, only in the weapon stats line
Nerro 18 Mar, 2024 @ 5:37am 
there are also issues with your web tool listing the weapon

in army builder I give my sister a flamer and assault walker a rapid flamer, but after imported to the web tool my sister have a heavy flamer and walker a heavy

my pistolerr all have standard CCW and twin heavy pistols but in the web app they also have twin light fusion pistols, energy sword, sergeant pistol, a duplicate listing of the twin heavy pistols, and a duplicate listing of the twin light fusion pistols
Nerro 18 Mar, 2024 @ 5:17am 
this is great, and I love it so much!
it is incredibly useful already, however I think it doesnt fully working properly in the current version of TTS, the cursor always switches to line mode everytime I assign a model definition, makes it pretty annoying that I have to press F1 (switch to grab mode) first to select a different model definition to assign, assigning to multiple models is also busted
Tombola  [author] 11 Mar, 2024 @ 3:13am 
@SquidMann Should now be working, issue with new db host client lib https://github.com/thomascgray/opr-af-to-tts/commit/b56887986f3574cbbbc76aabc003418916719ab9
Haunted SquidMann 10 Mar, 2024 @ 2:01pm 
Site isn't generating links
Cobra_Polo 9 Mar, 2024 @ 11:14am 
Hello Good Sir, This is an awesome mod! Love using it for my OPR armies. How do you think this could implemented for other TTS wargames that don't have armyforge options? Is there an input I could set up that would function similarly?
Tombola  [author] 20 Dec, 2023 @ 1:19am 
@Cherry Man
As of last night, yes haha. See https://github.com/thomascgray/opr-af-to-tts/releases/tag/2.2 for latest release notes
Cherry Man 9 Dec, 2023 @ 3:52am 
Is it possible to disable the wounds display for models imported with this mod?
Tombola  [author] 15 Nov, 2023 @ 4:23am 
@Karion
Sorry, I'm not sure what you mean? If you're getting what you think is a bug, could you please put a full description of whats happening in the OPR Discord or on the github page for the mod or something? Cheers!
Karion 30 Oct, 2023 @ 4:11pm 
How i can do to avoid having an entire unit with spell tokens?
SpaceNavy 30 Jun, 2023 @ 9:19am 
For anyone not in the OPR discord who saw the discussion, I am referring to the innate special abilities rather than weapon (x) traits :)
Tombola  [author] 30 Jun, 2023 @ 1:24am 
@Space

This is actually deliberate; a model can theoretically have equipments with the same special rule twice at different values. e.g weapon A has AP(2) and weapon B has AP(1). So its best to just let the special rule be a reference to the equipment definition 👍
SpaceNavy 29 Jun, 2023 @ 10:51pm 
Also I noticed that special rules like explode, blast, deadly, impact(x) are not showing the X values on mouse-over for units
SpaceNavy 29 Jun, 2023 @ 8:34am 
@Tombola
Oh okay didn't see that regarding #2.
For the special rules thing, this was for a community custom army that had special rules made for it.
Tombola  [author] 29 Jun, 2023 @ 7:36am 
@Space

Thanks for the kind feedback!

1. Ah, thanks for the report. It's something I'll look into, for sure. How/where in Army Forge does one add a special rule onto a unit? I'll go from there (not going to lie, I didn't even realise that was a thing!)
2. You can! Select a whole bunch of models and hit "Scripting Key 1", which is keypad number 1 by default. That's actually on a note in the mod, I'll try and make it more prominent.
SpaceNavy 28 Jun, 2023 @ 11:20pm 
Great mod, love the implementation!

Two requests:
1. Can custom special rule support be added? I noticed on my army today that a special rule I had was blank on the model description.
2. Is it possible to assign a unit card to multiple models? For example, if you have 10 infantry with the same stats you can either assign the unit to the model 10 times, or do it once and copy/paste that model. Would it be possible instead to box select several models and assign them a single unit card?