Art, worth it?

Contribute, display and discuss art and tilesets for use in Freeciv here.
Ignatus
Hardened
Posts: 230
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: Art, worth it?

Postby Ignatus » Wed Jan 23, 2019 11:31 am

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!

User avatar
Corbeau
Elite
Posts: 1039
Joined: Mon Jan 13, 2014 11:13 pm

Re: Art, worth it?

Postby Corbeau » Wed Jan 23, 2019 11:33 am

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.

Ignatus
Hardened
Posts: 230
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: Art, worth it?

Postby Ignatus » Wed Jan 23, 2019 3:02 pm

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.

Wahazar
Hardened
Posts: 252
Joined: Mon Jul 02, 2018 1:49 pm

Re: Art, worth it?

Postby Wahazar » Wed Jan 23, 2019 3:38 pm

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).

User avatar
Corbeau
Elite
Posts: 1039
Joined: Mon Jan 13, 2014 11:13 pm

Re: Art, worth it?

Postby Corbeau » Wed Jan 23, 2019 6:37 pm

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.

nef
Hardened
Posts: 166
Joined: Mon Jun 25, 2018 5:01 pm

Re: Art, worth it?

Postby nef » Mon Jan 28, 2019 12:39 pm

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?]

Ignatus
Hardened
Posts: 230
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: Art, worth it?

Postby Ignatus » Sun Feb 03, 2019 7:01 pm

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.
Attachments
amplio_var2.zip
LT47/variant2 2.5 tileset
(314.7 KiB) Downloaded 39 times

User avatar
XYZ
Elite
Posts: 343
Joined: Fri Jan 31, 2014 12:00 pm

Re: Art, worth it?

Postby XYZ » Mon Feb 04, 2019 5:21 am

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.

User avatar
XYZ
Elite
Posts: 343
Joined: Fri Jan 31, 2014 12:00 pm

Re: Art, worth it?

Postby XYZ » Sat Apr 20, 2019 7:31 pm

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.
Attachments
Mammoth-trident.png
Mammoth-trident.png (752 Bytes) Viewed 1264 times
Mammoth.png
Mammoth.png (3.99 KiB) Viewed 1269 times
dragons-trident.png
dragons-trident.png (4.37 KiB) Viewed 1269 times
dragons-amplio.png
dragons-amplio.png (11.83 KiB) Viewed 1269 times