Page 21 of 21

Re: Current Status, Roadmap and General News

Posted: Tue Aug 08, 2017 7:26 am
by Zukero
Your best bet is to use ATCS. The latest version supports all of these. If you prefer to work with text editors, you can still try ATCS, and check out the JSON or XML tab for any element's editor to see how it is done, but I'd advise against it, as the format can be tricky sometimes.

Most of what you ask exists, just look in ATCS. I don't think you can remove a worn item from the inventory, but you can ask the player to unequip it, then use InventoryRemove to take it from him. InventoryWorn will make sure that you have that access-granting necklace around your neck, and not in your bag.

Quest progress is directly related to a quest log: a list of key-value pairs (also known as a Map or Dictionary in programming). The keys are numbers, but you don't increase the progress on a quest numerically, you just reached a step or you didn't. The new feature allows you to remove a quest progress step, to allow for repeatable events. This should only be used for invisible quests as it would be awkward to have the character delete some entries in his quest log.

If you need help with ATCS, I'll gladly help, but make sure to post in that tool's thread.

Re: Current Status, Roadmap and General News

Posted: Wed Aug 16, 2017 3:21 pm
by carceris-magister
Any objections or special requests if we do it by hand? I get easily confused with visual interfaces, but the JSON makes perfect sense to me. :)

Re: Current Status, Roadmap and General News

Posted: Wed Aug 16, 2017 3:52 pm
by Zukero
Not really a problem. I'd suggest at least validating the content with ATCS, either by importing it in a new project or by creating a new project pointing to the game source folder where you integrated your content.
It would be nice to respect the order of the json fields as produced by ATCS, as it gives cleaner diffs upon subsequent editing.

Re: Current Status, Roadmap and General News

Posted: Sun Aug 20, 2017 9:29 am
by Zukero
I recently pushed a couple of new features in the game code:
- Replace areas can now be triggered by all kinds of requirements, while they were previously limited to "questProgress" ones.
- A new "factionScore" requirement type, to be able to make something useful out of the "alignmentChange" reward type.

The latest ATCS (v0.6.6) already supports the first change, and code for the second one is written and pushed to github, but not yet released.

I also began writing the "Content format reference" documentation. It is a daunting task, but it is also a good exercise to find and fix bugs in ATCS. I completed the part about TMX maps, but I doubt I'll make this public before the whole thing is ready (including JSON format for game objects).