CivilizationAce
Warlord
- Joined
- Jan 17, 2017
- Messages
- 240
So far I've used xml and sql to make changes that are isolated to the situation as the game starts.
However, I have no idea how to alter things on the fly during play.
Re SQL so far I only see configuration tables, not run-time.
I've noticed some stuff about LUA (most noticeably this: https://forums.civfanatics.com/threads/lua-basic-modding-guide-for-civ5.533853/) but it all seems quite cryptic. Is there a reference to LUA re Civ VI? I'm not bothered about the syntax of LUA itself yet (not that I'd turn down links to such), but I'd like to know what events Civ VI throws and what objects LUA recognises.
However, I have no idea how to alter things on the fly during play.
Re SQL so far I only see configuration tables, not run-time.
- Are existing units, buildings, acquired techs etc in the game represented in a database?
- If so is there a database schema for that or a way I can access it to see what's there once a game is running?
I've noticed some stuff about LUA (most noticeably this: https://forums.civfanatics.com/threads/lua-basic-modding-guide-for-civ5.533853/) but it all seems quite cryptic. Is there a reference to LUA re Civ VI? I'm not bothered about the syntax of LUA itself yet (not that I'd turn down links to such), but I'd like to know what events Civ VI throws and what objects LUA recognises.