[TOOL] eWCCT | Empyrion Web Content Creator Tool

Discussion in 'The Hangar Bay' started by RexXxuS, Apr 27, 2020.

  1. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    Hi Empyrion Quest and RP Adventurer!

    Alpha 12 implemented the Dialogue and Token System which is or will be the most underrated feature in my opinion. To show you the real power of it and boost the whole Empyrion game to the next level, I have decided to release a third Web Tool for you, to dive more easily into a world full of adventures!
    Let me say though, that this tool or well, it contains two tools in one, were yet again not that easy to program.

    [​IMG]

    eWCCT | Main Features
    • Create, Import and Export Dialogues files (ecf & csv)
    • Create, Import and Export TokenConfig file (ecf)
    • Import and Export Localication.csv file
    • Reading BlocksConfig.ecf, ItemsConfig.ecf and Localization.csv file (for translated auto item suggestions)
    • Language chooser to easily translate your Dialogues to all supported languages
    • Remove, Rename, Duplicate, Reorder Dialogues
    • Remove, Rename, Duplicate, Reorder Tokens
    • Easy colorpicker and other bb-code and TextMeshPro formats for your texts
    • ItemHelper for Dialogues
    • Suggestions, Copy&Paste feature and more to master Dialogues

    eWCCT | How to use?

    This is a Web tool, a website you can just visit with your Browser (Google Chrome recommended). That means nothing else is really required.
    Go to the following website to start your eWCCT journey:

    https://empyrion-homeworld.net/tools/ewcct

    Note:
    Even though this is a website it does not mean you work in any way remotely. All of your files are stored locally in your browser where nobody else has access to - it makes use of your browsers local indexed database.

    eWCCT | Tutorials

    To get you started I've created a comprehensive all-inclusive video tutorial going step by step with you through certain stages of the Dialogues and Tokens in the tool and in the game, illustrated with an example.


    • Yes, it is a long video. Yes, I could talk faster if I would have made it in my mother language german. You can use the speed feature of Youtube though.
      An die Deutschen: bitte nutzt den Untertitel modus von Youtube. Ich habe mir Mühe gegeben alles noch mal ins Deutsch zu übersetzen.

    eWCCT | Impressions

    Choose the Dialogues or Token Tool
    upload_2020-4-27_20-34-25.png

    Slick interface (Dialogues)

    upload_2020-4-27_20-35-14.png

    Slick interface (Token)
    upload_2020-4-27_20-37-18.png

    Translations on the fly

    upload_2020-4-27_20-36-15.png

    Convenience Features

    upload_2020-4-27_20-38-25.png

    eWCCT | Contribution


    This tool is still in development! Feedback, Suggestions and bug reports are more than welcome!
    IF you are using our tool in your Scenario or Server, we really would appreciate to hear from you - especially if it turns out that our hundreds of hours helped you. A "Thanks" motivates us to keep working on eWCCT!

    Big thanks to Hayawen and his incredible coding skills helping me with the Dialogues Tool!

    Just in case you like our work or even find it useful, I would really appreciate a little "give back" for our time :)
    https://www.paypal.me/homeworldserver

    Disclaimer:
    eWCCT is provided “as-is”, without any warranty, and empyrion-homeworld.net or its owners disclaim any liability for damages or data losses resulting from its use.

    eWCCT is provided for FREE but accepting Donations to keep it up to date. There is NO guarantee that I will maintain eWCCT forever. This tool is NOT allowed for people who doing malicious things with it. For example creating Quests that intentionally ruins the experience of players or working on stolen content and claim it as yours with the help of this tool.
     

    Attached Files:

    #1
    Last edited: Jan 31, 2022
  2. Dr. Dark

    Dr. Dark Ensign

    Joined:
    Dec 31, 2016
    Messages:
    9
    Likes Received:
    5
    Really cool tool, but I have a couple questions.
    Is it possible somehow to collect player input and store that as a variable.
    And second, can the tool do math.

    (I'm Dr. Dark, but I'm not allowed to change my own username for some reason.)
     
    #2
    SoakADankFrog and RexXxuS like this.
  3. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,291
    Likes Received:
    11,942
    Yes, but it's not the tool itself that does this but the dialog system as a whole.
    If you open up the default dialog file from the main game, you can see examples of how to use variables and how to do math with dialog.
     
    #3
    SoakADankFrog, RexXxuS and Dr. Dark like this.
  4. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    Watch the video for your answer ;)

    Instead of the default game file comments, I've also implemented that documentation in eWCCT right away where needed:
    upload_2020-4-27_22-26-46.png

    upload_2020-4-27_22-27-18.png
     
    #4
    SoakADankFrog, Dr. Dark and ravien_ff like this.
  5. Dr. Dark

    Dr. Dark Ensign

    Joined:
    Dec 31, 2016
    Messages:
    9
    Likes Received:
    5
    Thanks for the help Ravien.
    I've figured the math part out, but how would I collect user input?

    Edit:
    Damn you're fast. Replied before I even asked again :p (Me being 57 min slow.)

    And by user input, I don't mean options. I mean allow the user to insert a number like... 9 if they wanted.
     
    #5
    SoakADankFrog likes this.
  6. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,291
    Likes Received:
    11,942
    I actually did exactly this. :D

    Basically, you need to set up a variable for that number, and then have dialog options to allow the player to raise or lower that number. You can print the number back to the player in the dialog so they see what their currently chosen number is. You can even restrict the player to a specific number range if you want (such as 0-9), or allow them to increase it to whatever they want.
     
    #6
    Dr. Dark, RexXxuS and SoakADankFrog like this.
  7. Apan Loon

    Apan Loon Lieutenant

    Joined:
    Jun 7, 2018
    Messages:
    91
    Likes Received:
    52
    This looks like a great tool.

    Am I correct in assuming that the project isn't open source and just provided on the server as-is? I am asking because I would like to have a robust ecf read/write library. The one I started to make myself is far from robust and far from generic enough and I wonder if you have a better approach to it.
     
    #7
  8. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    Thanks!

    Right now it's on my private github repository, right. Maybe in the future, if I see more interest, I'll change it.

    You are also asking because you saw in eWPDA und eWCCT, that I import the Config.ecf file?
    Well, for now we implemented a parser in Javascript to read the file. We don't write anything in it.
    In terms of robust: hard to say, because there are now all the separate ecf files (ItemConfig.ecf, BlocksConfig.ecf, Templates.ecf, etc.)
    I would need to write a parser for all of them, because I think some day the Config_Example.ecf will be gone (redundant). I don't know.

    Overall the original intention of eWCCT was to have a sub tool inside for all ecf files Empyrion has to offer (NPCTraderConfig, GalaxyConfig, etc.)
    But time was and is missing.
     
    #8
  9. Apan Loon

    Apan Loon Lieutenant

    Joined:
    Jun 7, 2018
    Messages:
    91
    Likes Received:
    52
    I understand.

    Yes, I saw the read ecf file option and currently, my epb tools could probably benefit from reading the BlocksConfig.ecf and the BlockShapesWindow.ecf but someone was asking for me to add a function that computes the resource cost of a blueprint and for that I would also have to read Templates.ecf and maybe others too. The ecf code I wrote before pretends to be capable of reading just about any of the ecf files that were exposed before A12, but I don't think that it really can and now there is even more. Some of the structure didn't make sense to me when trying to generalise the format and I think I lost the energy to continue working on it right about when I realised this.

    Edit: It sounds as if your intentions for this project are similar to mine concerning my tool ECFLab, of course you are miles ahead of that.
     
    #9
  10. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    Your tool was written in Python or Javascript as well? I understand you about "lost energy" though...
    Maybe we can work together to have a full fletched out write/read ECF tool in eWCCT :)

    Right now I just have to concentrate on Alpha 12 content though. I procrastinated for months now with reworking the whole eWPDA tool and create even a new eWCCT tool
     
    #10
    ravien_ff likes this.
  11. Apan Loon

    Apan Loon Lieutenant

    Joined:
    Jun 7, 2018
    Messages:
    91
    Likes Received:
    52
    My tools are all made in C# .Net which is my language and framework of choice, but it would be nice to have the rules of the file format pinned down. I am not sure that I will find more time or energy any time soon, but when the A12 hype train slows down perhaps we can compare notes. :)
     
    #11
  12. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    07.05.2020 | v1.1.0
    • Added new documentation hint about the d-type for messages and delta function.
    • Dramatic performance boost when working with Chrome Dev Tools.
    • Same as eWPDA. Fixed the most annoying empty breakline addition for texts and exports. Any newline will get removed at the end now.
    • Fixed empty input fields got polluted with generic CSV keys, when you duplicated them.
    • Fixed empty NPCName exports

    You have to press F5 (reload the page) every time a patch comes out to apply the changes.
     
    #12
    Last edited: May 7, 2020
    ravien_ff likes this.
  13. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    A bigger patch for eWCCT regarding formatting your text.
    Please use carefully and try not to use too many styles in one input field. At least the new ones like line height or text align.

    upload_2020-5-24_19-21-33.png

    24.05.2020 | v1.2.0
    • Added new TextMeshPro for styling your text. It's like customizing text in the LCD Projector now, with a lot of new possibilities. However(!) please note, that you have to be careful with too many styles in one input field. If you for example try to align one sentence center and combine it with line height, it will fail / bug out. We "hacked" our own Text Editor feature in there, so be gentle. Once TextMeshPro reaches also eWPDA, we might just grab an editor plugin.
    • Added GetInstanceTicket for making unique checks within Instances.
    • Added dbglobal_int variable to store values for every player.
    • Updated documentation.
    • Fix ScrollIntoView error. The left sidebar tree scrolls now into view, if you start to type a text in Output for example.
    • Fix for double quotes within texts.
    • Cleanup code.

    You have to press F5 (reload the page) every time a patch comes out to apply the changes.
     
    #13
    [BB]Drifter, ravien_ff and Taelyn like this.
  14. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    27.05.2020 | v1.2.2

    • Updated documentation.
    • Fix for empty text align div output.

    You have to press F5 (reload the page) every time a patch comes out to apply the changes.
     
    #14
    ravien_ff, [BB]Drifter and Taelyn like this.
  15. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    31.05.2020 | v1.2.6
    • Added possibility for Token Name to colorize the text.
    • Updated jQuery.
    • Fixed wrong color styling for the Token Tool. Dialogues = new MeshPro text editor. Token = old BB code text editor. At the cost of a page reload once you choose a tool...
    • Fixed critical exception regarding sidebar coloring. This improves performance as well.

    You have to press F5 (reload the page) every time a patch comes out to apply the changes.
     
    #15
    ravien_ff and [BB]Drifter like this.
  16. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    Hey Story Writers,

    after 5000+ lines and hundreds of Dialogue states there was the need to manage all of that in a better way.
    Just use the filter at the top and to get back to your state the button right next to it. See Screenshot:

    upload_2020-6-9_23-9-46.png

    09.06.2020 | v1.3.0
    • Added Filter for Dialogue list.
    • Added Scroll into View Button.
    • End state is now at the top of the list.
    • Cleanup code a bit.

    You have to press F5 (reload the page) every time a patch comes out to apply the changes.
     
    #16
    Last edited: Jun 12, 2020
    [BB]Drifter, ravien_ff and Germanicus like this.
  17. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    11.06.2020 | v1.4.0
    • Filter is now persistent! Whatever you set in your filter is stored in your localstorage. That boosts productivity a LOT!

    You have to press F5 (reload the page) every time a patch comes out to apply the changes.
     
    #17
    [BB]Drifter and ravien_ff like this.
  18. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    11.07.2020 | v1.5.0
    • Added 24 hour timer. If you have the tab opened for so long it will automatically reload the page. Simple version of an "auto updater".
    • Fixed broken Export by trying to handle broken vanilla Dialogues.ecf export...

    You have to press F5 (reload the page) every time a patch comes out to apply the changes.
     
    #18
    ravien_ff likes this.
  19. Fenra369

    Fenra369 Commander

    Joined:
    Apr 5, 2016
    Messages:
    350
    Likes Received:
    141
    Would like to see support for containers.ecf
     
    #19
  20. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    One day...
     
    #20

Share This Page