Skip to content

LovamKicsiGazsii/tiled-cdda-map-extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

oops, I've undone some features in a bad merge :grimace: hang on.

Tiled extension for Cataclysm: Dark Days Ahead

Add the extension and extras folder to your Tiled extensions folder. Check out the Tiled docs for more information

The 'extras' folder contains png images for the extension tileset. This adds relative tiles like region groundcover.

======= tiledcddaextension

tiled_screenshot

Menu Actions

File > Import CDDA Tileset

Import tilesets installed in CDDA folder by folder path.

  • Takes a bit of time.

File > Import CDDA Map

Import a CDDA map by its path, based on imported tileset. Must have imported tileset.

  • Takes a bit of time.

import_map_gif

File > Export As... > CDDA map format

Export the current map as a json for CDDA.

  • Furniture and Terrain (items, monsters, and other entities not quite)
  • Map must be open in Tiled

export_results_gif

Tileset > Find CDDA Tile (ctrl+shift+f)

Jump to tile with CDDA id, such as "t_floor".

Tileset > Add Sprite to Favorites (ctrl+shift+d)

Add sprite to 'Favorites' sprite sheet for easy access.

favorites_gif

File > Change Project Path

Change path to project as seen by CDDA extension (project path is not yet accessible to API)

=======

What works

  • Import CDDA Tilesets
    • Chosen tileset is imported and each matching cdda id has a unique tile for easy stamping.
    • Find tile by its cdda id with 'ctrl+f'.
    • Save a copy of the tile to a 'favorites' tileset for easy access.
    • Use palettes
      • palettes are defined in the properties of a layer group under cdda_palette_0 and if you want to assign more you have to add a property cdda_palette_1, etc, until I make it more elegant

What kind of works

  • Import and Export CDDA map
    • Maps missing some definitions (results in empty tiles).
    • Export a file that might load in CDDA.
    • Handles { object : { place_[object type] : {} } } alright.
    • Missing { object : { items : {} } }.
    • Missing { object : { toilets : {} } }.
    • Missing { object : { vendingmachines : {} } }.
    • Missing { object : { toilets : {} } }.
    • Missing { object : { vehicles : {} } }.
    • Missing { object : { NPC : {} } }.
    • Missing { object : { zones : {} } }.

About

Import and export Cataclysm: Dark Days Ahead (CDDA) maps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%