Continent art style LUA question ?

Zanyez

Chieftain
Joined
Jan 12, 2014
Messages
2
Hi pros, since the begin of civ5 i realy dislike the multiple continent art style (asia, american, african and european).. maybe because im colorblind or just because african style is so much more beautiful to watch... i dont know !

in the past i was using this LUA script to fix it:

function DetermineContinents()

-- CONTINENTAL ART SETS
-- 0) Ocean
-- 1) America
-- 2) Asia
-- 3) Africa
-- 4) Europe

--[[
for i, plot in Plots() do
if plot:IsWater() then
plot:SetContinentArtType(0);
else
plot:SetContinentArtType(3);
end
end
]]--
end

But for a reason, maybe the last patch... it doesnt work anymore... atleast correctly. 70% of the tiles ll be african looking and 30% ll be a mix of other art style.

any pro know why ?
 
found it !

function DetermineContinents()
for i, plot in Plots() do
if plot:IsWater() then
plot:SetContinentArtType(0);
else
plot:SetContinentArtType(4);
end
end
end

have to be type like that to work correctly.
 
Does this actually work in-game? Or does it have to be run in the map script?

I'm just wondering because many plot related graphics don't update once you are in the game.


Edit: Answered my own question: No, it does not work in-game.
 
Back
Top Bottom