The same can happen if a mod is updated and the update is incompatible with your saved game - one of the reasons not to use Steam.
Copy your MODS folder somewhere, eg the desktop
Unsubscribe from everything on Steam
Steam will delete all the mods for you (but not the copies on your desktop)...
I'm no longer modding Civ V and rarely play it, so don't hold your breath for anything from me.
Also, I'd be against changing the existing line of code as 1) you don't know if any mods are using this in an unexpected and clever way and 2) the name "CanSaveUnit" itself is flawed
CanSaveUnit...
religionForBelief[GameInfoTypes.BELIEF_PAGODAS] = GameInfoTypes.RELIGION_TAOISM
overwrites
religionForBelief[GameInfoTypes.BELIEF_PAGODAS] = GameInfoTypes.RELIGION_BUDDHISM
same for the second and third
religionForBelief[GameInfoTypes.BELIEF_CATHEDRALS]
assignments, so while you think you have 6...
Grab "My Changes Mod" (link in sig) as a starting point. You then need to track down a tutorial on how to use XML to update a value in the Building (or Buildings - so long, can't remember) table - think LeeS has one linked from his sig.
Read both your post three times and really don't understand what you're asking as you contradict yourself.
" I mean, if you can add a dll" - you cannot add a DLL, you can only change the code in the game's DLL that we have the source code for and make it load that version instead of the vanilla...
Because anyone modding the DLL, took it, made their changes and checked those in. When Firaxis updated the source code, those changes were merged in to the modded DLL and checked in.
With a modded DLL (mine or one based on it), pretty much all of that can be achieved with Lua in one form or another (but think tile improvement rather than building placed outside the city hex)
However, there is no way that the AI is going to understand that it must build something in a city...
All the ways I can think of doing it with Lua almost certainly break the path-finding code (as cities can be used like canals on a narrow isthmus).
You could do it in the DLL - that would also remove the ability of cities to be used as canals, but wouldn't break the path-finding code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.