DumpingLemur
Chieftain
I can't seem to find this in the steam workshop, is it still there?
I have the rar, just no idea how to install it.
I have the rar, just no idea how to install it.
I would imagine so, since I don't think they edit any of the same code.Is this mod compatible with WHoward's DLL - Various Mod Components?
.rar files aren't like .civ5mod files; you'll actually have to unzip it and manually put the resulting folder in your MODS folder.I can't seem to find this in the steam workshop, is it still there?
I have the rar, just no idea how to install it.
Right. .civ5mod is basically a weird variation of the .7z file extension, IINM.Presumably, just use 7-zip or something comparable, then pop the folder into your mod folder.
I've downloaded this mod from steam and I don't see how you use it? As I understand it (and perhaps I'm wrong) but SOMEHOW you can alter a leader's traits, from the setup, before your start a game. HOW? I'll be damned if I can figure it out. Am I missing something? Or is this mod no longer functional. Please explain. Thanks.
You enable it in the mods section then you'll see the traits added to each civ when you try to select them. You can't alter a leader's traits in game. If you are looking to alter a certain leader's traits you can do that inside the mod's files.
Find the mod's folder, and find a file called SetLeaderTraitPolicy.lua. It can be opened with a text editor like notepad.Oh... Ok, that makes sense, because I do see the traits for the civ's, but I thought there was a way to change those traits IN GAME, my mistake. So IF I do want to change a civ's traits is there a file/readme etc. to tell me HOW to make those changes? Apologies for the noob question but I'm not a modder, but I'd like to try to make changes to civ's if it's not too difficult.
function SetLeaderTraitAmerica (playerID)
local player = Players[playerID]
if player:GetCivilizationType() == GameInfoTypes.CIVILIZATION_AMERICA then
if not player:HasPolicy(GameInfoTypes["POLICY_EXPANSIVE_X"]) then
player:SetNumFreePolicies(1)
player:SetNumFreePolicies(0)
player:SetHasPolicy(GameInfoTypes["POLICY_EXPANSIVE_X"], true)
if player:GetCivilizationType() == GameInfoTypes.CIVILIZATION_AMERICA then
if not player:HasPolicy(GameInfoTypes["POLICY_CHARISMATIC_X"]) then
player:SetNumFreePolicies(1)
player:SetNumFreePolicies(0)
player:SetHasPolicy(GameInfoTypes["POLICY_CHARISMATIC_X"], true)
end
end
end
end
end
GameEvents.PlayerDoTurn.Add(SetLeaderTraitAmerica);
...
player:SetHasPolicy(GameInfoTypes["POLICY_EXPANSIVE_X"], true)
...
player:SetHasPolicy(GameInfoTypes["POLICY_CHARISMATIC_X"], true)
...