[Vanilla] XML Schema and LUA definitions (civ6schema)

gqqnbig

Chieftain
Joined
Apr 15, 2020
Messages
26
See and download the files at https://github.com/gqqnbig-civ6-mods/civ6schema

Inspired by PlotinusRedux CIv6 ModInfo Schema, I'm not sure if anyone has done something similar, but I created civ6 schema, which defined all valid XML elements/attributes, and LUA methods/classes/constants.

This project is only 5% complete, but has helped me a lot when I wrote my mods. If the project is a duplicate, or someone has a better way in writing mods in a guided manner, certainly let me know! Otherwise please star/fork/contribute to this open source project. All comments are appriciated!

civ6schema works in Intellij Idea environment, provides auto-prompt, auto-completion, XML validation, documentation.

See the screenshot for details.

find%20incorrect%20attributes.png

highlights incorrect attributes


autocomplete%20required%20attributes.gif

autocomplete required attributes


list%20all%20tag%20names.png

list all text tags


list%20possible%20attribute%20values.png

list all valid values


LUA%20autocomplete.png

LUA function prompt


method%20documentations.png

LUA function documentations




detailed%20descriptions.png

Detailed explanation on certain topics



LUA%20reference%20setup.png

LUA reference setup
 
Last edited:
i am not much of a coder, and so your work looks very useful to me. Looking forward to see it grows more complete, cause you said its only 5% completed by now. Looks so cool, especially the detailed explanation for lua stuff, will download your first version later. Thanks for sharing! :)
 
Back
Top Bottom