DLL v53
Balance v1
CSD/CivIV OFF
Pioneers don't seem to do anything, they provide the same benefit as settlers. I'm guessing they aren't meant to be in the game yet?
DLL v53
Balance v1
CSD/CivIV OFF
Pioneers don't seem to do anything, they provide the same benefit as settlers. I'm guessing they aren't meant to be in the game yet?
It would probably make things a bit easier to track down if the number of extraneous mods you have loaded is at a minimum, maybe even bugtest this mod by itself for a while.
Introducing new mechanics to a system AND taking into account outside modifiers is a lot to ask for part-time developers. Once the mod gets to version 1 then by all means throw everything you have at it, but while it is still in it's infancy we can be a little bit more tender.
It will depend on how that mod identifies a settler. If it uses UNIT_SETTLER it won't work and they'll need to change it, if it uses pUnit:CanFound() then it should work
if (unit:GetUnitType() == GameInfoTypes['UNIT_SETTLER']) then
if (unit:IsFound() or unit:IsFoundAbroad()) then
Also, you may want to use pPlayer:GetWorkPlotDistance() rather than a hard-coded value of 3, as mods can now change this
local iWorkDistance = pPlayer.GetWorkPlotDistance and pPlayer:GetWorkPlotDistance() or 3
It should be as simple as swapping
Code:if (unit:GetUnitType() == GameInfoTypes['UNIT_SETTLER']) then
for
Code:if (unit:IsFound() or unit:IsFoundAbroad()) then
(which will also then work for the Spanish Terc...)
Also, you may want to use pPlayer:GetWorkPlotDistance() rather than a hard-coded value of 3, as mods can now change this
Should lua.log be saying this when the above is used?
[904843.145] Runtime Error: C:\Users\[REDACTED]\Documents\My Games\Sid Meier's Civilization 5\MODS\City Limits (v 4)\CityLimits.lua:45: attempt to call method 'IsFoundAbroad' (a nil value)
Hey, I've been having a lot of issues with the latest version of this mod. Every time I load a save thats been played for more then a few turns, I get a crash to desktop. I've tried removing a lot of mods, clearing caches, re-installing the mods and everything, but no luck. Heres the list of remaining mods (I also use EUI):
I've also attached a mindump file
Alright, I re-did my mods and removed most other ones, and it seemed to work at first,
Please read post #64 in this thread
Never assume anything when something crashes. ALWAYS go back to basics ... "have I got the very latest versions and does it work on its own"