Elefant wrote: ↑Fri Jan 20, 2023 3:54 pm
Did you add the spec file to the .tilespec file that defines the tileset?
I did. However, the .spec files are okay. However, the image files are not loaded though :/
I work with two open windows. To the left, my own ruleset and on the right, another ruleset as example.
What I don't need to write, is copied via drag and drop from right to left.
My .tilespec file from the data directory
files =
; Amplio2 graphics... from amplio2.tilespec
; "amplio2/units.spec", ; Defined in /modern/units.spec
"modern/units.spec",
"modern/modern_units.spec",
"modern/more_units.spec",
"modern/extra_units.spec", ; Replacement graphics from amplio2/extra_units
"modern/buildings/buildings-large.spec",
"modern/wonders/wonders-large.spec",
"modern/terrain/terrain3.spec" ; New Resources: i.e. Coffee and Salt
Defined new graphics
[extra]
sprites = {
"tag", "file"
"ts.coffee", "modern/terrain/ts_coffee"
"ts.rice", "modern/terrain/ts_rice"
"ts.salt", "modern/terrain/ts_salt"
"ts.uranium", "modern/terrain/ts_uranium"
}
Here's two examples:
Extra Resource: Coffee
Image uses coal

- 2023-01-27__resource_coffee_present.png (7.72 KiB) Viewed 27222 times
Resource image should be using coffee beans

- ts_coffee.png (1.79 KiB) Viewed 27222 times
Unit: Delta Force (type)
Image uses paratroopers

- 2023-01-27__unit_airassault_present.png (6.77 KiB) Viewed 27222 times
Image should be using another sprite

- u_air_assault.png (1.46 KiB) Viewed 27222 times
For purpose, I created a stripped down ruelset version, no extra graphics used.
