vasl-developers / vasl

Virtual Advanced Squad Leader
http://vasl.info/
GNU Lesser General Public License v2.1
65 stars 27 forks source link

Overlay dx6 & dx7 J123 request #580

Open bkemp01 opened 5 years ago

bkemp01 commented 5 years ago

From GS post

Another set of missing/desired set up options. This is for something I hope to play soon (J123 Charging Chaumont), though its playable without them:

Board g: Needs out-of-season grain, and paved roads.

Overlays dx6 & 7: Need 'mud' colors, and dx7 needs out-of-season orchard.

(And I will say this is far better than the last time Patch and I looked at this, when the deluxe overlays weren't working. Thanks all!)

[Edit: hedges to barbed-wire would be nice, but that's a scenario-specific overlay at that point.]

derimmer commented 3 years ago

I was just trying to add some deluxe overlays (dx1, dx9) to bdg using the traditional method (Board Picker) and in both cases the overlays were too small. Is this a known issue? Had we solved it?

BigAl737 commented 3 years ago

Known issue. Not solved. Won't be by me :-) This issue drove the development of the Overly Extension.

However, I can add the terrain transforms to the overlays the Brian mentions in the OP.

The dx board transforms are doable as well but they don't follow the color standard of geo boards so those board picker terrain transforms won't work. Either the dx boards need to be recolored to match the geo's or more overlays need to be created for SSO's. I'd prefer overlays to handle these SSR board transforms. I can do those too if there's agreement to adopt this option.

BTW, we've already had a request to make the plowed filed of the dx boards look less like LVL 1 hills.

749

derimmer commented 2 years ago

I have been looking at the deluxe overlays 1-9, which as per the above are not working. I went back to 6.5.1/3.2.17 and they weren't working with those versions either.

I think problem is that the deluxe overlays are sized as normal overlays, expecting that they would be magnified on the deluxe boards. However, the deluxe boards are built using larger hex height and width parameters and so do not use magnification when opened in VASL. Thus any overlays added via boardpicker are not magnified either. And thus appear too small unless they use the larger hex size parameters.

I took a couple of the dx overlay .gifts and scaled them 300% and then stuck them back in the ovrdx file. Worked perfectly. Both the deluxe board and the overlays zoom in and out as they should when using the zoom controls. So, I think I can fix this bug. Only 37 more .gifs to scale.