全面战争:战锤2

全面战争:战锤2

Totally Random Total War Generator: Warhammer II
Red Wizard 2018 年 7 月 26 日 上午 11:34
TRTWG and Climates
Was wondering if someone might be able to direct me to which portion of the mod to alter to remove the preferred climates bias for the various races. I'm currently using the "No Climate Penalties" mod in addition to this and would love the option to at least have "truly random" starts for my own playthroughs.

I'm pretty novice to modding, but I think I've found it below, under script > export_helpers_randomized_start.lua, but if anyone can assist, I would greatly appreciate it.


-- returns suitability for given "faction" and "region"
--v function (faction: string, region: CA.region) --> suitability: string
function Roy_Get_Climate_Suitability(faction, region)
--out("ROY | Region: "..tostring(region));
local resolvedFaction = cm:get_faction(faction);

local climate = region:settlement():get_climate();
--out("ROY | climate: "..tostring(climate));

local suitability = resolvedFaction:get_climate_suitability(climate);
--out("ROY | suitability: "..tostring(suitability));

return suitability;
end;

Thanks in advance!
< >
正在显示第 1 - 1 条,共 1 条留言
Ubermorgen  [开发者] 2018 年 8 月 5 日 下午 1:19 
Sorry for the late reply but i just saw this post today.

To remove climate suitability, just comment out the whole while loop in the function Roy_Get_Next_Region(regionList, faction, i) from "while not resolvedRegion:is_abandoned()" to "end;" right before "return region;" by putting -- in front of each line
最后由 Ubermorgen 编辑于; 2018 年 8 月 5 日 下午 1:19
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50