Carc Central Community > JCloisterZone FAQ, Suggestions & Bug Reports

How to create addons?

(1/1)

Scott:
I installed the latest version of the software to see how it's coming along, and I have questions.

1. I see a note in the settings menu that "Additional artworks may by provided by add-ons." How can I make an artwork addon?
2. How do you switch between different artwork?
3. How do you make fan expansions to add new tiles?

Linkback: https://www.carcassonnecentral.com/community/index.php?topic=5710.0

Bumsakalaka:
Addons for JCZ is mine idea how to add new tiles into JCloisterZone.
The Path was long and was started before 5.x branch was released. This caused some changes which makde different answer for your questions due to changed logic in 5.x and 4.x.



--- Quote from: Scott on January 26, 2022, 07:12:36 PM ---1. I see a note in the settings menu that "Additional artworks may by provided by add-ons." How can I make an artwork addon?

--- End quote ---
Addons have specific file structure which includes:
1. Tiles distribution
2. Logo
3. Tiles definitions includes features and interaction between them (city - field for farmer counting, wagon move for C1, tunnels, inns, etc)
4. Dependencies
5. Finally shapes for each tile for placement and complete feature shape
6. Direction to JCZ if need to turn on some capabilities or elements in JCZ Client or Engine 
Answer is - you can learn code from existing addons which we do from original 5.x JCZ artwork or you can make them in Fancarpedia which is tool which creates Fan expansions tile database which export to JCZ as addon.


--- Quote from: Scott on January 26, 2022, 07:12:36 PM ---2. How do you switch between different artwork?

--- End quote ---
Currently not supported by JCZ 5.x. Due to first artwork which has requested design is used. This approach solve also issue to prevent different definitions of tiles - imagine Tile RRRF with Inn which has different rule about counting Inn in C1 and C2.



--- Quote from: Scott on January 26, 2022, 07:12:36 PM ---3. How do you make fan expansions to add new tiles?

--- End quote ---
You can join Fancarpedia (send me PM), upload there your tiles, made shapes for features and made export.
This works for Vanilla tiles which has features supported in current version of JCZ.
If your tiles will have something new, this need to contact me and probably we find a way (probably we will need to make update of JCZ - which can take a while).

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks SEO Pro Mod