Page 3 of 3

Re: Art, worth it?

Posted: Wed Jan 23, 2019 11:31 am
by Ignatus
Corbeau wrote:Oh, nice! Thanks!

I presume there is no particular magic with adding a unit image into the tileset? Just add the image into the main .png and add the unit name with the corresponding coordinates in the units.spec?
There are more sophisticated ways to do it, but yes, this one works.

And yes, thanks for the pictures!

Re: Art, worth it?

Posted: Wed Jan 23, 2019 11:33 am
by Corbeau
Ignatus wrote:
Corbeau wrote:Oh, nice! Thanks!

I presume there is no particular magic with adding a unit image into the tileset? Just add the image into the main .png and add the unit name with the corresponding coordinates in the units.spec?
There are more sophisticated ways to do it, but yes, this one works.

And yes, thanks for the pictures!
If it doesn't involve specific knowledge of programming or installing some additional packages, do share.

Re: Art, worth it?

Posted: Wed Jan 23, 2019 3:02 pm
by Ignatus
You can have in a

Code: Select all

[grid]
section a

Code: Select all

tiles
table that reads from file.gfx by grid or

Code: Select all

[extra]
sections that load sprites from separate files. These data are saved in arbitrary xxx.spec files in any data/ subdirectory, that should be listed in your_tileset.tilespec files table. And also there are

Code: Select all

*include
directives. Not that I know well all these mechanics.

Re: Art, worth it?

Posted: Wed Jan 23, 2019 3:38 pm
by Wahazar
Reading from grid is rather for whole game/modpack distribution, if you need to add few extra images, "extra" statement is more convenient.
Important is, that cleint need to have:
png file with graphics
spec file with graphic handle definition
modified tileset file with spec file included.
You can either modify existing tileset file and ask users to overwrite old one, or make additional tileset based on existing one (that was my way).

Re: Art, worth it?

Posted: Wed Jan 23, 2019 6:37 pm
by Corbeau
Thanks!

Yes, I believe it will be necessary to have both old and new PNGs together (duplicating the onld ones, basically) for simplicity. Slightly redundant, but more simple for people who are not at ease with grabbing into their files and changing something, better to prepare a package with everything.

Re: Art, worth it?

Posted: Mon Jan 28, 2019 12:39 pm
by nef
Wahazar wrote:Reading from grid is rather for whole game/modpack distribution, if you need to add few extra images, "extra" statement is more convenient.
I believe this could be misunderstood. As I understand it [extras] styles = is for defining how terrain extras should be interconnected. Not relevant to units if I've got this right.
Important is, that cleint need to have:
png file with graphics
spec file with graphic handle definition
modified tileset file with spec file included.
You can either modify existing tileset file and ask users to overwrite old one, or make additional tileset based on existing one (that was my way).
My reading too:
Have one (or more) .png's, one .spec for each, and for each add one entry in [tilespec] files = <csv>. If you add your own to the end you can reuse the same tags as in the distro. [ *include is for additional tilespec fields such as the (undocumented?) misc/colors.tilespec - but presumably you could use it within the files = <csv> list if you had a heap of .specs listed in a separate file. Just watch out for the trailing non comma?]

Re: Art, worth it?

Posted: Sun Feb 03, 2019 7:01 pm
by Ignatus
Turned your Unit30.png into a tileset. This one should be compatible with LT47 game, and I tried to make it compatible with variant2 ruleset (though it is 2.6 while the tileset is 2.5, only compatibility strings probably have to be changed). Some missing units are extracted from augmented2 modpack. There are question marks in the Unit30.spec files where my education was not enough to understand what is pictured or I was not sure if the graphic tag is appropriate. Sorry if some image authors specified are wrong.

Update 2020-02-16: new Units30.spec file to cover LT51 units

Re: Art, worth it?

Posted: Mon Feb 04, 2019 5:21 am
by XYZ
Turned your Unit30.png into a tileset. This one should be compatible with LT47 game, and I tried to make it compatible with variant2 ruleset (though it is 2.6 while the tileset is 2.5, only compatibility strings probably have to be changed). Some missing units are extracted from augmented2 modpack. There are question marks in the Unit30.spec files where my education was not enough to understand what is pictured or I was not sure if the graphic tag is appropriate. Sorry if some image authors specified are wrong.
Cool, thanks! Im already at Units52 but it doesnt matter since the whole doc keeps being in flux and again Ive been starting to add new units and rearranging positions before I finished matching trident and amplio units first... Im even considering adding mammoths...

Anyhow, I will update the spec file myself to explain what I had in mind in a not too distant future but it will still take time.

Re: Art, worth it?

Posted: Sat Apr 20, 2019 7:31 pm
by XYZ
No update in a long time and far from done but I found some Heroes of might and magic stuff that you can easily modify and that looks decent at the same time. I like to stay in the realms of reality but a dragon hidden in a scenario might be a fun easter egg...
I also thought a mammoth for a possible stone age mod might be a cool thing.