Forums
April 24, 2024, 11:44 AM

Author Topic: EasyTerrain - custom terrain creation made easy  (Read 522 times)

0 Members and 1 Guest are viewing this topic.

Offline nizikawa

EasyTerrain - custom terrain creation made easy
« on: January 05, 2022, 06:45 PM »
EasyTerrain simplifies terrain creation process by automatically slicing a template image with terrain assets and converting them to format ready for SpriteEditor.

Fill supplied template.png with assets of your terrain, save it as input.png (using indexed mode with transparency or as normal PNG in RGBA mode) and run the script. Terrain files ready for conversion will be created in output/ directory. Convert the files with supplied SpriteEditor.exe to create Level.dir and icon.img (rename it to text.img in Worms Armageddon/DATA/Level/YourTerrain directory).

See provided input.png for example how to put your assets.

Sample gradient.img.bmp and icon.img.bmp have been provided in data/ directory to make the terrain work out of the box, but you will need to customize them manually.

Debris sprite must be transparent and use a 1px stroke outside its bounding box. Sample debris sprites have been provided in debris samples.png. If your debris animation exceeds the available vertical space, you can simply resize the template image. Remember to update data/debris.spr.spd with width, height and frames used in your debris animation.


Source code: https://github.com/nizikawa-worms/EasyTerrain
Download (win32 exe bundle): https://github.com/nizikawa-worms/EasyTerrain/releases/download/v1.0.0/easyterrain_v100_exe_bundle.zip

Offline Edoardo Moretti

  • Sr. Member
  • ****

  • Italy Italy
  • Posts: 418
  • Wacky Asperger and creator of War'n'Guns.
    • View Profile
Re: EasyTerrain - custom terrain creation made easy
« Reply #1 on: January 05, 2022, 10:22 PM »
Finally I can make terrains without problems!

Thanks nizikawa!

Oh...one more thing: Once you finished this project, will you return to work on the wkJellyworm module? I've also send the icon for the Worm Strike.