Volcano terrain

Do you want to help out with Freeciv development? Then check out this forum.
Post Reply
VulcanScout
Posts: 11
Joined: Tue Nov 19, 2019 7:50 am

Volcano terrain

Post by VulcanScout »

Hi,

I have a problem with the volcano sprites.
https://freeciv.fandom.com/wiki/NEWS-3. ... %20amplio2
I add the volcano sprites from the 'volcano.spec' in the amplio2 directory,
to my game.

The volcano should appear as:
volcano.png
volcano.png (7.08 KiB) Viewed 536 times
In 'terrain.ruleset'

Code: Select all

[terrain_volcano]
name                 = _("Volcano")
graphic              = "volcano"
graphic_alt          = "mountains"
…
The game is stubborn though, it gives me the image for mountains. I add the
image a single sprite to the game.

Code: Select all

[extra]
sprites = {
  "t.volcano", "modernized/terrain/volcano"
}
Result 🔂

Screenshot of the terrain editor
2025-10-07 (1).png
2025-10-07 (1).png (34.41 KiB) Viewed 536 times
Volcano as it appears in a test game
2025-10-07 (2).png
2025-10-07 (2).png (590.98 KiB) Viewed 536 times
I try because the volcano would be a nice addition to the terrain, it’s a
better requirement for a wonder in my ruleset than mountains.

In 'buildings.ruleset'

Code: Select all

[building_pompeii_site]
name    = _("Pompeii")
reqs    = {
  "type", "name", "range"
  "Tech", "Archaeology", "Player"
;  "Terrain", "Volcano", "City"
; Volcano is commented out, because the sprite doesn’t work correctly,
; use mountains instead.
  "Terrain", "Mountains", "City"
}
…
helptext = _("\
The Pompeii site excavation adds 33% science in a city without a\
 University, and 50% in a city with a University.\
"),_("\
All nations that have discovered the University will get a 10% bonus\
 in science.\
"),_("\
Pompeii was an ancient city.
 Pompeii, along with Herculaneum the city and the surrounding area,\
 was buried under 4 to 6m of volcanic ash and pumice.
Making it possible for later generations, to discover an almost intact\
city of the Roman Empire.\
")
\\//_ Live long and Prosper
cazfi
Elite
Posts: 3405
Joined: Tue Jan 29, 2013 6:54 pm

Re: Volcano terrain

Post by cazfi »

You're missing tileset parts. First of all, see terrain graphics definitions in the .tilespec file.
Post Reply