Update Building Art?

Contribute, display and discuss art and tilesets for use in Freeciv here.
Post Reply
MinchinWeb
Posts: 3
Joined: Thu Jun 05, 2025 2:30 am

Update Building Art?

Post by MinchinWeb »

I've been poking around the tilesets (and rulesets), and considering making my own graphics.

However, I haven't been able to figure out if you can change out the buildings art the same way you can swap out the unit art. Can someone point me to where in the tileset spec needs adjusting to do this?

Or do you have to define the building art as part of the ruleset?
Dino the Dinosore
Hardened
Posts: 193
Joined: Sun Dec 31, 2017 3:41 am

Re: Update Building Art?

Post by Dino the Dinosore »

Here's how I do it it my custom dino2 ruleset (viewtopic.php?t=91837), using my added grocery store building graphic as example. My dino2.tilespec has a line in the "files =..." section -
"dino2/buildings-large.spec",
The file "dino2/buildings-large.spec" has a line in the "sprites =" section -
"b.grocery_store", "dino2/grocery_store"
The file "dino2/grocery_store.png" is the graphic image (GPL v2 license).
The tag "b.grocery_store" is used in my "buildings.ruleset" file -
[building_50]
name=_("Grocery Store")
genus="Improvement"
graphic="b.grocery_store"
XYZ
Elite
Posts: 439
Joined: Fri Jan 31, 2014 12:00 pm

Re: Update Building Art?

Post by XYZ »

MinchinWeb wrote: Thu Jun 05, 2025 3:03 am I've been poking around the tilesets (and rulesets), and considering making my own graphics.

However, I haven't been able to figure out if you can change out the buildings art the same way you can swap out the unit art. Can someone point me to where in the tileset spec needs adjusting to do this?

Or do you have to define the building art as part of the ruleset?
Its easier to simply alter existing buildings by slicing, stitching and colouring things. You also keep the style. Here is an example of a mercantile exchange I made for longturn a while ago. I simply put one story on top of the other building, made smaller improvements and gave it a paint job. Et voila you got a new building within the Freeciv style. You can add anything but I like to keep the style. I also added other examples of buildings I made.
Attachments
occupation building3.png
occupation building3.png (5.19 KiB) Viewed 1142 times
Flying School2.png
Flying School2.png (4.57 KiB) Viewed 1142 times
flying school.png
flying school.png (3.67 KiB) Viewed 1142 times
mercantile_exchange.png
mercantile_exchange.png (4.87 KiB) Viewed 1143 times
bank.png
bank.png (5.05 KiB) Viewed 1143 times
Post Reply