|
Software Software created for enhancing HeroScape |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Tabletop Simulator - Heroscape Adding Maps to A3n's script
Hello fellow 'scapers.
Somebody (awesome) created this a brilliant Heroscape mod for Tabletop Simulator. I only know it as the Kraken Table. I don't know who did it but a lot of time & effort was put into it. Thank you whoever it was for all your efforts. I have spent a bit of time adding a few scripts to this mod.
For the Map Menu, currently there are numerous C3G maps already added. This thread is a tutorial on how to add another map to the mod that has my script. Hit me up sometime for the latest version. Or one of the C3G heroes should have a fairly recent version if not the latest. So let's get into it: What you will need:
1/. At the end of the table, hit the Customize Board button. 2/. Next choose Grid from the Options menu. 3/. Check Show Lines. 4/. Build your map. Uncheck Show Lines. Then take a screen capture of the map. 5/. Paste the screen capture into Photoshop (or other editing app). Remove the background & make it a presentable picture that is about 200 x 144 pixels. I have a Photoshop template here that you can use. Save this image for later. 6/. Back in TTS, on the end of the table again, hit the Copy Map Setup button. 7/. Open the Notebook from the menu. Got to the new note page labelled Capture Map_0. Copy all the text from this tab. 8/. In Atom from the Packages menu, in the Tabletop Simulator sub-menu, choose Get Lua Scripts. Then open a new file & paste the text. From the Find menu choose Replace in Buffer. In the "find" value enter map_name. In the "replace" value enter the name of your map. Press Replace All. 8a/. In the 2nd & 3rd line change the words "map_type" to one of: "mapsC3Gcomp" (C3G Competitive map), "mapsC3Gcasual" (C3G Casual map), "mapsWoS" (Wargrounds of Scape map), "mapsWF" (C3G Worlds Finest map) or "mapsFFU" (C3G Fantastic Forces Unite). 8b/. In the 3rd line change the words "IMG_Map_map_name" to be without spaces or punctuation for the "map_name" as per step 12. 9/. Save this map file. You should have a Tabletop Simulator folder in your My Documents folder. Save the file here with the extension .ttslua. 10/. From the Modding menu choose Scripting. 11/. From this scripting window, press the Custom UI Assets tool button in the top-right corner. From the next pop-up window press the largish "+" button. 12/. In the Create Asset window enter a name for the image. To keep to my naming convention use IMG_Map_mapname. 13/. Hit the Folder icon of the image line. Choose Cloud when prompted. Then press Import. --no longer required to complete:
Spoiler Alert!
17/. From the Packages menu, in the Tabletop Simulator sub-menu, choose Save and Play. 18/. Back in Tabletop Simulator, from the Games menu, choose Save and Load. Save the new version of the mod. FURTHER INFORMATION: Ok so it appears that if you don't have the files already you cannot (obviously) add to them. So you need to take further steps to initially set it up. You need to create a folder (usually) in your documents folder. The path to which is specified in the Atom Settings: If it doesn't already exist create the "Tabletop Simulator" folder then create a sub-folder "HS_Maps". For me the folder structure looks like: C:\Users\amaxs\Documents\Tabletop Simulator\HS_Maps\. If you can get the files from somebody else (even if it's not the most up-to-date) it may save you a lot of effort. Put the map files you get into this folder. Next I will explain my understanding of how Atom & TTS scripting interact. So to make things modular & a little easier to understand, Atom allows you to include other files in your script by using the #include <folder/filename> statement. What Atom does when exporting back to TTS is whenever it comes across a #include statement it opens the file, from your folder set above, & copies all the text from it & inserts it into the the uploaded script at the place where the statement occurred. It also precedes & follows the inserted text with "----#include <folder/filename>". For example: So now back to step 8 above: "8/. In Atom from the Packages menu, in the Tabletop Simulator sub-menu, choose Get Lua Scripts. Then open a new file & paste the text." you are going to either see just the #include statement or the commented statement with the script from the file included already. In the settings you can change what you actually get in Atom. By default Atom is set to show the #include statement but it won't download the associated files. You can change the settings to download the full script:If you have a file like: Don't forget to get the script again after changing the settings so you can see the changed script. What you can do if you don't have the files is: from the full script copy the script between the two commented statements & paste into a new file with the same name as used in the #include statement with an extension of ".ttslua". Just remember some will be nested. E.g. The Global.ttslua has #include HS_maps/Map_List then the Map_List.ttslua file has #include Map_Grundys_Grave. So the full script will look like : ----#include HS_maps/Map_List You don't necessarily need all files to make the changes to include new maps. However you will continue to receive missing file errors without them. I believe the minimum you would need is the Map_List.ttslua file to add your included map file. This script may not be the most elegant of solutions & if you think of a better way please let me know. My Maps: Classic; Marvel My Customs: Dr Who | Terrain | Star Wars Card Template | Repaint & Mods | Playing Card sized Cards Helmaverse | Helmaverse League International C3G Links: C3G Super Hero Draft cards | TableTop Simulator C3G Map additions | Heroscape Dice Roller Last edited by A3n; July 18th, 2022 at 11:50 PM. |
#2
|
||||
|
||||
Re: Tabletop Simulator - Heroscape Adding Maps to A3n's scri
Great info
@A3n
. Thanks for taking the time to educate.
Would I want it to be everything I love...sure...but that's just not realistic so I'm going to focus on finding things that will make me unhappy and work on fixing those. |
#3
|
||||
|
||||
Re: Tabletop Simulator - Heroscape Adding Maps to A3n's scri
Thanks for putting this together, A3n!
C3G can be played with official Heroscape, but it's not recommended.
DISCLAIMER: C3G claims no ownership of the characters or artwork used for C3G customs. All rights for the characters belong to their respective publishers/creators. C3G cards are not intended for sale, and C3G does not authorize any party to profit from C3G cards. |
#4
|
||||
|
||||
Re: Tabletop Simulator - Heroscape Adding Maps to A3n's scri
Quote:
Right here. |
#5
|
||||
|
||||
Re: Tabletop Simulator - Heroscape Adding Maps to A3n's scri
Quote:
My Maps: Classic; Marvel My Customs: Dr Who | Terrain | Star Wars Card Template | Repaint & Mods | Playing Card sized Cards Helmaverse | Helmaverse League International C3G Links: C3G Super Hero Draft cards | TableTop Simulator C3G Map additions | Heroscape Dice Roller |
#6
|
||||
|
||||
Re: Tabletop Simulator - Heroscape Adding Maps to A3n's scri
I followed all the steps but I am missing the Map_List.ttslua file in my project.
|
#8
|
||||
|
||||
Re: Tabletop Simulator - Heroscape Adding Maps to A3n's scri
Do you have all the .ttslua files?
My Maps: Classic; Marvel My Customs: Dr Who | Terrain | Star Wars Card Template | Repaint & Mods | Playing Card sized Cards Helmaverse | Helmaverse League International C3G Links: C3G Super Hero Draft cards | TableTop Simulator C3G Map additions | Heroscape Dice Roller |
#9
|
||||
|
||||
Re: Tabletop Simulator - Heroscape Adding Maps to A3n's scri
No, I only get 12 files when I get scripts from game. 7 starting with "Board", 2 with "Extend", 2 with "Global", and 1 "The Kraken Table".
|
#10
|
||||
|
||||
Re: Tabletop Simulator - Heroscape Adding Maps to A3n's scri
Quote:
My Maps: Classic; Marvel My Customs: Dr Who | Terrain | Star Wars Card Template | Repaint & Mods | Playing Card sized Cards Helmaverse | Helmaverse League International C3G Links: C3G Super Hero Draft cards | TableTop Simulator C3G Map additions | Heroscape Dice Roller |
#11
|
||||
|
||||
Re: Tabletop Simulator - Heroscape Adding Maps to A3n's scri
I only have the "Tabletop Simulator Lua" folder. No HS_maps folder.
|
#12
|
||||
|
||||
Re: Tabletop Simulator - Heroscape Adding Maps to A3n's scri
ok. how about in your My Documents folder is there a Tabletop Simulator folder? And does it have any other folders or files in it?
My Maps: Classic; Marvel My Customs: Dr Who | Terrain | Star Wars Card Template | Repaint & Mods | Playing Card sized Cards Helmaverse | Helmaverse League International C3G Links: C3G Super Hero Draft cards | TableTop Simulator C3G Map additions | Heroscape Dice Roller |
|
Thread Tools | Search this Thread |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The Heroscape Tabletop Simulator Mod needs YOUR help. | General J | Software | 80 | November 16th, 2020 10:34 PM |
Tabletop Simulator Heroscape Discord Server | SmashedFinger | Scapers Online | 3 | June 7th, 2018 02:23 PM |
Ultimate Heroscape virtual set for Tabletop Simulator | Markb97402 | Comic Hero Custom Creations | 2 | October 15th, 2017 04:23 PM |
Anyone here play Tabletop Simulator Heroscape? | Razqua | Software | 5 | May 2nd, 2017 03:37 PM |
Tabletop simulator heroscape anyone | Decko | HeroScape General Discussion | 1 | January 21st, 2017 09:25 PM |