Skip to content

gqqnbig-civ6-mods/civ6schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use

Insert

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../Civ6schema/xml/???.xsd"

to the root element of your XML/mod files.

Introduction

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.

↑highlights incorrect attributes

↑autocomplete required attributes

list all text tags

↑list all valid values

↑LUA function prompt

↑LUA function documentations

↑Detailed explanation on certain topics

↑LUA reference setup

References

Sid Meier's Civilization VI text files

Sid Meier's Civilization VI SDK, ModBuddy

CIVILIZATION 6 MODDING GUIDE by Lee "LeeS" Shipp

List of all icon codes

Lua Objects: Gedemon. Lua Objects. 2016-10-23

Unknown author. Effects, Reqs & Collections

PlotinusRedux. CIv6 ModInfo Schema. 2016-12-05

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages