whoward69
DLL Minion
If someone is willing to do the LUA I'm for it...
Borrowing code from the CityBannerManager.lua file, the "discovery of capitals" bit is ...
Code:
function OnHexFOWStateChanged(hexPos, fowType, bWholeMap)
if (bWholeMap) then
-- Will happen on Satellites (or the player uses with FireTuner)
-- Discover any remaining capitals, or perhaps not!
else
if (fowType != 0) then
local pPlot = Map.GetPlot(ToGridFromHex(hexPos.x, hexPos.y))
if (pPlot ~= nil) then
local pCity = plot:GetPlotCity()
if (pCity ~= nil) then
local pPlayer = Players[city:GetOwner()]
if (pPlayer:IsAlive()) then
if (pPlayer:IsMinorCiv()) then
-- Minor capital discovered, do what?
else
-- Major capital discovered, do what?
end
end
end
end
end
end
end
Events.HexFOWStateChanged.Add(OnHexFOWStateChanged)
You'd need to store who's met who into the mod db, and actually give the "reward".
If someone wants to say what the rewards should be, I'll look at doing the rest of the code.
lump sum payment instantly. The number itself is a trival matter and is open to alteration. Also, when you discover a capital city of a new civilization, a
from your capital city to the opposing capital city is established, in addition one random luxury resource from each nation is freely traded between each other and is not discounted in their stocks.
Movement point to all land military units, and becomes available with Plastics. The Millau Viaduct can be downloaded from the Ingame ModBrowser, or from the CivFanatics Download Database, page
