New program to help set up VASL scenarios

Will Fleming

Senior Member
Joined
Apr 22, 2003
Messages
4,262
Reaction score
368
Location
Aboard the Pequod
Country
llUnited States
I put the text in the line 2 on the VASL 'label' on some of them. I think that is why it looks 'behind' the counter.

Sorry if any confusion.
 

Will Fleming

Senior Member
Joined
Apr 22, 2003
Messages
4,262
Reaction score
368
Location
Aboard the Pequod
Country
llUnited States
Here is a screenshot showing most everything is fine. I suspect the Romanian setup instructions 'bullet' is just some old text/html from a prior save.

Note: this is how it appears without 'vasl-templates' running. With it running, the image loads.

8531
 

Pacman Ghost

Member
Joined
Feb 25, 2017
Messages
168
Reaction score
98
Location
A maze of twisty little passages, all alike
Country
llAustralia
Here is a screenshot showing most everything is fine. I suspect the Romanian setup instructions 'bullet' is just some old text/html from a prior save.
Thanks, it looks much better (almost). The flags and vehicle/ordnance counters really make a difference :)

I used the "update VSAV" feature to update the scenarios, but it seems to have not realized that that label needed to be updated. I'll take a look at it... :doh: I'm an idiot. I set up 2 vasl-templates scenarios, to get the Romanian and German setup notes for the one player, and that's what's confused the program. No bug :-/
 
Last edited:

Yarlis

Member
Joined
Dec 19, 2003
Messages
113
Reaction score
7
Location
Spain
Country
llSpain
Hi,

here's a screenshot testing v0.10 beta 2.

Getting the images from the internet causes an insignificant delay in VASSAL. It freezes for about 1 second.

Apparently, everything regarding images which previously didn't load is solved.

Just two minor comments:

1. The snippet for the German OB appeared vertical. I would prefer it to be horizontal. Don't know how to change the snippet width here, if possible.

2. The snippet the Turn/track shading could be maybe better visualized if it was darker. (In the image, it is covering turn 6, but it appears somewhat very light).8534
 

Pacman Ghost

Member
Joined
Feb 25, 2017
Messages
168
Reaction score
98
Location
A maze of twisty little passages, all alike
Country
llAustralia
here's a screenshot testing v0.10 beta 2.
Thanks for this. The scenario looks good :)

I note that the labels for the scenario name+ID+date and German set up look a little narrow, so FYI, you can manually set the width for these things e.g. "300px" = 300 pixels.

Getting the images from the internet causes an insignificant delay in VASSAL. It freezes for about 1 second.
Good to hear. My internet is pretty bad right now, so I was hoping that the delays would be not as bad when you have decent internet.

The snippet for the German OB appeared vertical. I would prefer it to be horizontal. Don't know how to change the snippet width here, if possible.
Double-click on the entry in the vasl-templates program, and there will be a field in the bottom-left where you can set the width.

2. The snippet the Turn/track shading could be maybe better visualized if it was darker. (In the image, it is covering turn 6, but it appears somewhat very light).
Change the background attribute in $/data/default-template-pack/extras/turn-track-shading.j2

Note that if you make changes to any of these template files, your changes will be overwritten when you install the next version. However, you can create a custom template pack, by copying the default one, making your changes there, then running the program like this:
Code:
vasl-templates.exe --template-pack ...path-to-your-custom-template-pack...
But then, of course, when you install a new version, you need to carry over any changes that have been made to the default template pack into your custom template pack.

EDIT: I've just made the background color a configurable parameter, so you won't need to fiddle with the template, you'll be able to change it on the fly when you create the snippet (unless you want to change the default value).
 
Last edited:

peterd1973

Member
Joined
Oct 14, 2017
Messages
69
Reaction score
13
Country
llUnited States
Hi,

here's a screenshot testing v0.10 beta 2.

Getting the images from the internet causes an insignificant delay in VASSAL. It freezes for about 1 second.

Apparently, everything regarding images which previously didn't load is solved.

Just two minor comments:

1. The snippet for the German OB appeared vertical. I would prefer it to be horizontal. Don't know how to change the snippet width here, if possible.

2. The snippet the Turn/track shading could be maybe better visualized if it was darker. (In the image, it is covering turn 6, but it appears somewhat very light).
Now we know where your HIP is, muahahaha.
 

peterd1973

Member
Joined
Oct 14, 2017
Messages
69
Reaction score
13
Country
llUnited States
The vehicle/ordnance counters are there because those tables provide useful information about what capabilities they have. What information would you want to see for squads?
LATW to hit ranges, PF and THH quantities, and counter images for quantities and a place to stack the counters for setup.
 

Pacman Ghost

Member
Joined
Feb 25, 2017
Messages
168
Reaction score
98
Location
A maze of twisty little passages, all alike
Country
llAustralia
LATW to hit ranges
Already done e.g. on the German OB page, there are buttons to create snippets for PF, ATMM and PSK.
PF and THH quantities
Already done - in the Extras tab, there is a template called "Count remaining".
and counter images for quantities
There is no need for this - when you set up a scenario, you're going to set up the pieces as well, so you don't need a label telling you how many of each squad and SW there are.
and a place to stack the counters for setup.
Already done - it's implied that counters go underneath the "OB setup" labels. Also, a new feature has already been added for the next release that creates a grid, which is useful for scenarios that have an OB that says e.g. "pick one of these 3 groups of counters".
 

Pacman Ghost

Member
Joined
Feb 25, 2017
Messages
168
Reaction score
98
Location
A maze of twisty little passages, all alike
Country
llAustralia
Version v0.10 has been released here.

I had a bit of time over the past few weeks to work on this, so a quick turn-around for this release and, to make up for the lack of wow! in the last release :), there are 2 very cool new features in this one.

First, the ability to have your scenarios download images from the internet, rather than this program. This means that you no longer need to have this program running when loading scenarios in VASSAL and, in particular, you can play these scenarios with someone who doesn't have this program. Turn this on in the User Settings dialog.
Note that VASSAL is slow loading images, so there may be a delay when loading a scenario, and it will look like VASSAL is hung, but be patient, and it will eventually come back.

Second, integration with ROAR has been added. You can search the ROAR database for scenarios, and the information there will be used to get your scenario setup started. You will also be shown the latest results each time you open the scenario in vasl-templates.
8602

Other changes of note:
  • Fixed a problem that was stopping images from showing properly in VASSAL when using certain versions of Java (thanks to Will for figuring out what was going on here).
  • Added extras templates to generate snippets for a grid (useful for OB's that have a "choose one of these 3 groups of counters" component), and for Victory Points.
  • Made the background color configurable in the Turn Track shading extras template.
  • Tightened up validation and error handling of server configuration.
Check out the release notes for the full list of changes.

Thanks to everyone who helped beta test this release; please check the User Settings dialog and review the configuration, since things have changed a bit there.
 
Last edited:

Pacman Ghost

Member
Joined
Feb 25, 2017
Messages
168
Reaction score
98
Location
A maze of twisty little passages, all alike
Country
llAustralia
With the impending release of the VASL extension for Forgotten War, if there's anyone who would like to see it added to this program, and doesn't mind doing a bit of the work importing the data, please send me a PM. It's not difficult, just a bit tedious, and I've already done some of it... :)
 
Last edited:

ramzon

Member
Joined
Feb 2, 2003
Messages
99
Reaction score
27
Location
Palmer, Ma
Country
llUnited States
I have found using Version 0.10 that I can not use the less than symbol (<) in the OB set up, it does not appear when pasting the snippet. Anyone else have this issue?

8630 8631
 

Pacman Ghost

Member
Joined
Feb 25, 2017
Messages
168
Reaction score
98
Location
A maze of twisty little passages, all alike
Country
llAustralia
I have found using Version 0.10 that I can not use the less than symbol (<) in the OB set up, it does not appear when pasting the snippet.
What you type in gets inserted as HTML, so if you put a lone <, it looks like the start of an HTML tag, but since there's nothing following it, VASSAL just ignores it. To get < to show up, you have to type in &lt;

You can find a full list of these "HTML entities" here e.g. type &reg; to get a circled R symbol.
 

ramzon

Member
Joined
Feb 2, 2003
Messages
99
Reaction score
27
Location
Palmer, Ma
Country
llUnited States
What you type in gets inserted as HTML, so if you put a lone <, it looks like the start of an HTML tag, but since there's nothing following it, VASSAL just ignores it. To get < to show up, you have to type in &lt;

You can find a full list of these "HTML entities" here e.g. type &reg; to get a circled R symbol.
Thanks
 
Top