piątek, 27 listopada 2015

Dialogues Astah Plugin

As I promised here comes plugin to astah, which allows you to convert state machine diagrams into nice JSON which later can be imported into Unreal. To compile it you have to download AstahSDK and execute in console 'astah-build' and next 'astah-launch'. If this doesn't work you can follow tutorial for plugins or write comment here. Ok so how this work. You should do as follow:

  1. Open astah and create nice diagram of dialogues (must be state diagram). It should start with initialState and finish with finalState. Actually you can have several final states, it depends how you build your tree of dialogues.
  2. Save diagram (or diagrams). And then select from tool menu plugin.
  3. In directory where you saved astah project you will find 2 new files. One is JSON other one is TXT. Plugin also do basic checks of your diagram:
    1. If all paths of dialogue have final state
    2. If all dialogues starts with NPC speech.
    3. It builds you list of all variables used in conditions and exec sequences.
At this moment tool is very useful, I already found few things which I didn't finish, and few about which I forgot. When you doing one dialog a day, after week it's easy to forget that you had some great idea and you already putted some variables to achieve this. 
Another thing is, that internal structure of data for dialogues evolved, I found some problems with previous one... So I need to rewrite some parts of my blueprints, which probably will be pain in the ass. Thug life...



Brak komentarzy:

Prześlij komentarz