JWizzleWaggle
Chieftain
- Joined
- Oct 25, 2016
- Messages
- 15
Hey all!
I've been a lurker for literally more than a decade, but Civ mods are a big part of why I went into software engineering for my career. I loved Rhye's Civ 4 overhaul, and I've been eagerly waiting for a similar mod for civ6. Gedemon's got their big project, but as far as I can tell, historical spawn dates aren't a priority. So I'm going to try my hand at it. All this to say: I'm a good dev, but very much a beginner in civ 6 modding.
Lua's giving me a hard time with populating the GameInfo.HistoricalSpawnDates when I copy over the scripts into my own project, even though my project config is identical to the original I'm forking off. Apparently that's still nil when I'm calling it.
I'm kinda pulling out my hair. How do I debug this? Is there a place with some documentation on what GameInfo is, what its properties are, and how to populate/debug it?
TL;DR
A function under GameInfo is nil even though I'm populating it through the In-Game actions.
What is the best way to debug this?
I've been a lurker for literally more than a decade, but Civ mods are a big part of why I went into software engineering for my career. I loved Rhye's Civ 4 overhaul, and I've been eagerly waiting for a similar mod for civ6. Gedemon's got their big project, but as far as I can tell, historical spawn dates aren't a priority. So I'm going to try my hand at it. All this to say: I'm a good dev, but very much a beginner in civ 6 modding.
Lua's giving me a hard time with populating the GameInfo.HistoricalSpawnDates when I copy over the scripts into my own project, even though my project config is identical to the original I'm forking off. Apparently that's still nil when I'm calling it.
I'm kinda pulling out my hair. How do I debug this? Is there a place with some documentation on what GameInfo is, what its properties are, and how to populate/debug it?
TL;DR
A function under GameInfo is nil even though I'm populating it through the In-Game actions.
What is the best way to debug this?