Civ6 modding. What is possible...

Has anyone managed to get lua files to load and run using a .modinfo? I've gathered as much that you need an xml file with a LuaContext tag, and I got that xml file to load, but haven't really gotten any further from there. Either it's not loading/running or it's not running at the right time. I can't seem to make anything visible at least. I've confirmed my code works by altering base files but can't seem to get it done with new ones
Yes, you can do that, I've just posted a small guide from what I've collected for the modinfo here: http://forums.civfanatics.com/threads/modinfo-structure.600766/
 
The Civ5 mod tools where released a week after the game it's probably the same for Civ6.
But what worries me a bit is the silence about it


I hope that they release the source code for the gamecore dll earlier then they did for Civ5.
 
Any idea yet if it will be possible to change the max camera zoom setting? My gf found the combination of camera distance + animation style to be too busy for her, to the point of giving her a headache, and I had a bit of a poke around but my brain isn't working well enough to take it the whole way. WorldInput.lua has functions for touchpad two-finger scroll, mouse wheel and keyboard shortcut zoom which call UI.SetMapZoom after obtaining the current setting from UI.GetMapZoom. There are 3 parameters for SetMapZoom, but only the first seems to vary with any of these functions and doesn't have any check for a max zoom setting - that appears to happen in the UI.SetMapZoom function which has me feeling pessimistic.

Ok and I now got Firetuner up while typing the post to test the function, UI.SetMapZoom happily accepts commands and adjusts within values between 4.7683715820313e-07 and 0.99999952316284 (with those being max zoom in and max zoom out respectively), numbers outside this range don't generate an error, but are capped to these values. Doesn't look promising at all.

I too have been looking into how to adjust max zoom. There seems to be an upperbound in UI.SetMapZoom. Do you know where UI.SetMapZoom lives? I've tried grepping for the function but I can't find it. I'm guessing its in a binary somewhere. Would you happen to know? I'm new to civ modding but work and have a degree in CS. I'm looking forward to modding a civ game, finally :)

Thanks
 
Back
Top Bottom