PDA

View Full Version : Help Creating a Tile Pack with LOS



darrenan
August 22nd, 2022, 00:04
Hi, I am preparing an adventure that takes place entirely on a train. There are only 8 types of train cars, but many of each type. To keep the LOS work to a minimum, I thought it would be convenient to define each train car as a tile with LOS info, and then in the main campaign build up the entire train from these tiles. My initial attempt is not working. I have attached the beginnings of the asset module below, which I think I have built correctly according to these pages in the wiki: Making an Asset Pack (Tiles, Symbols, Brushes, Decorations) (https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996645724/Making+an+Asset+Pack+Tiles+Symbols+Brushes+Decorat ions) and Developer Guide - Extracting LOS Data for Modules (https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996645681/Developer+Guide+-+Extracting+LOS+Data+for+Modules).

Currently, the assets module only has LOS defined for the locomotive tile as a proof of concept, as well as having grid sizes defined for the tracks and one of the other car tiles.

When I load this module and use the stamp tool to put the locomotive on a new map, I don't see any LOS being added.

To start with, could someone look at the module and make sure I created it correctly? Once that is confirmed, then we can troubleshoot the way I'm trying to use the tiles.

54061

Thanks.

darrenan
August 22nd, 2022, 00:07
P.S. When I open up the locomotive image in the campaign where I loaded the module, I do see the LOS information if I switch to LOS mode. It's only when I try to use the locomotive asset as a stamp that it's not working.

Griogre
August 22nd, 2022, 16:00
You need to create the "car" maps as assets (ie make each train car a seperate map with LOS) and then just drop them into a map to make the train. I don't think you can stamp the cars and get LOS.

darrenan
August 22nd, 2022, 16:09
When you say "drop them into a map" you mean as tokens? I don't understand what you mean.


I don't think you can stamp the cars and get LOS.

I'm pretty sure I watched a video where Doug does exactly this.

LordEntrails
August 22nd, 2022, 16:19
Stamps can have LOS included with them. I've used such. But, I don't know how to create them.

edit: I'm looking into the steps and your mod now, but probably going to take me most of the day as I will only be able to work on it in small time slots.

Griogre
August 22nd, 2022, 16:25
Actually you are correct I just never did it that way since I seldom have a case like your train. :) If you drag an asset with LOS into the stamp box It seems to work fine. I never use it since its just one extra step to drag from asset to stamp then click, when I could just drag and drop onto the map.

darrenan
August 22nd, 2022, 16:32
Ok, seems like drag/dropping assets onto a map preserves the LOS, while stamping does not. I didn't realize you could just drop an asset onto the map; I thought you needed to use stamp or brush to do that.

LordEntrails
August 22nd, 2022, 17:33
Probably won't matter, but I did notice that in your definition.xml file you have an encoding different than that in the wiki example (and a few other tags, but those shouldn't matter.)

<?xml version="1.0" encoding="utf-8"?>
I also noticed in your images files, you only have LOS (.xml files) for three of the image assets. Though I think that is intentional.

darrenan
August 22nd, 2022, 18:03
That was generated by FG, I just did a module export from within FG. The three xml files is intentional. Wanted to figure out how it worked before doing the LOS work on all the images.