Hi all.
I made my own czech map and now i have few question about modding / creating towns and industries:
1) in map.lua i set town size, but in game it's different ... after game creating, sometimens is "Praha" the biggest, sometimes is it "Melnik". Is there a way to make size of in game cities how i want?
{pos = { -5218.644, 1649.617 }, name = _("Praha"), sizeFactor = 2},
{pos = { 4840.089, -4083.479 }, name = _("Brno"), sizeFactor = 1},
{pos = { -10707.683, -378.601 }, name = _("Plzen"), sizeFactor = 0,5},
{pos = { -5029.366, 3326.277 }, name = _("Melnik"), sizeFactor = 0,1},
2) Our czech language has special symbols (ě,š,č,ř,ž,ý,á,í,é)... when i set town name
{pos = { -5029.366, 3326.277 }, name = _("Mělník"), sizeFactor = 0,1},
after start TF show an error "Map.lua contains malformed UTF-8 byte sequences...."
It is interesting, that whole TF has czech translation (with this "ř,ž,.. symbols ) and i found mode which replace (for example spanish ) Town names to czech Town names and there ARE č,ř,... symbols too!
Any idea how can i do it?
3) You know when you write
{pos = { 1081.584, -135.215 }, fileName = "industry/oil_refinery.con" },
and this Refinery will be near any town, e.g. Prague, it will be named Prague Refinery
Is there any way to rename industry before game creation ? e.g. Unipetrol Prague
I know i can rename it in game and it will stay in saved game. but new game means rename again...
Thanks for any answer!
CantorCZ