Custom sprites
Replacing graphics
Section titled “Replacing graphics”All of Razdor’s graphics are placeholder tokens for now. You can replace them with your own pictures.
- Put PNG files in a folder, for example
assets-local/. - Name each file by the
Key=of a warrior or item in the game data:knight.png,archmage.png,ranger.png,spearman.png,archer.png,swordsman.png,healer.png,bandit.png,bandit_archer.png,bandit_chief.png,short_sword.png, and so on.
Running with local pictures
Section titled “Running with local pictures”To make Razdor take the pictures from your folder, set the RAZDOR_ASSETS variable to its path. From the source code it looks like this:
RAZDOR_ASSETS=./assets-local cargo run --releaseBuildings on the map
Section titled “Buildings on the map”Buildings on the map are not PNG files: they are in Graphics/Objects/Objects.ugs in the game folder. How to replace them, and how they look in 2.5D, in first and third person and with lighting, is in Mod art: buildings and light.