Modding?

LARulz

Chieftain
Joined
Oct 10, 2012
Messages
24
Hi,

I'm fairly new to all this and have followed the instructions, as in changing the FrontEnd file but no luck, I copied the InstallPanel.xml over but no luck there either. I downloaded Gods and Kings from steam so not sure if that has an impact. There is a modding folder I noticed with several files, should I change anything on this file, ModsMenu.Iua?:

----------------------------------------------------
-- Mods Menu
----------------------------------------------------
include( "InstanceManager" );


g_InstanceManager = InstanceManager:new( "ModInstance", "Label", Controls.ModsStack );


--------------------------------------------------
-- Navigation Routines (Installed,Online,Back)
--------------------------------------------------
function NavigateBack()
UIManager:SetUICursor( 1 );
Modding.DeactivateMods();
UIManager:DequeuePopup( ContextPtr );
UIManager:SetUICursor( 0 );
end

----------------------------------------------------
-- UI Event Handlers
----------------------------------------------------
function OnSinglePlayerClick()
UIManager:QueuePopup( Controls.ModdingSinglePlayer, PopupPriority.ModdingSinglePlayer );
end
Controls.SinglePlayerButton:RegisterCallback(Mouse.eLClick, OnSinglePlayerClick);
----------------------------------------------------
function OnMultiPlayerClick()
UIManager:QueuePopup( Controls.ModMultiplayerSelectScreen, PopupPriority.ModMultiplayerSelectScreen );
end
Controls.MultiPlayerButton:RegisterCallback(Mouse.eLClick, OnMultiPlayerClick);
----------------------------------------------------------------------
Controls.BackButton:RegisterCallback(Mouse.eLClick, NavigateBack);


--------------------------------------------------
-- Show/Hide Handler
--------------------------------------------------
ContextPtr:SetShowHideHandler(function(isHiding)
if(not isHiding) then
local supportsSinglePlayer = Modding.AllEnabledModsContainPropertyValue("SupportsSinglePlayer", 1);
local supportsMultiplayer = Modding.AllEnabledModsContainPropertyValue("SupportsMultiplayer", 1);

Controls.SinglePlayerButton:SetDisabled(not supportsSinglePlayer);
Controls.MultiPlayerButton:SetDisabled(not supportsMultiplayer);

--if(supportsSinglePlayer and not supportsMultiplayer) then
--OnSinglePlayerClick();
--elseif(supportsMultiplayer and not supportsSinglePlayer) then
--OnMultiPlayerClick();
--end

g_InstanceManager:ResetInstances();

local mods = Modding.GetEnabledModsByActivationOrder();

if(#mods == 0) then
Controls.ModsInUseLabel:SetHide(true);
else
Controls.ModsInUseLabel:SetHide(false);
for i,v in ipairs(mods) do
local displayName = Modding.GetModProperty(v.ModID, v.Version, "Name");
local displayNameVersion = string.format("[ICON_BULLET] %s (v. %i)", displayName, v.Version);
local listing = g_InstanceManager:GetInstance();
listing.Label:SetText(displayNameVersion);
listing.Label:SetToolTipString(displayNameVersion);
end
end
end
end);
--------------------------------------------------
-- Input Handler
--------------------------------------------------
ContextPtr:SetInputHandler( function(uiMsg, wParam, lParam)

if uiMsg == KeyEvents.KeyDown then
if wParam == Keys.VK_ESCAPE then
NavigateBack();
end
end

return true;
end);

Controls.MultiPlayerButton:SetHide(true);
 
Hi, welcome :wavey:

If your Mods menu doesn't show up it's probably because you have only edited one of the two MainMenu.lua files. See my post in this thread for details
 
You have to find, download and install mods manually. You can't use the Steam Workshop to install them, as Aspyr haven't included that capability in the Mac versions.

Ingame Editor is published as a downloadable mod in these forums. Download it, expand it, and place the expanded folder in ~/Documents/Aspyr/Sid Meier's Civilization 5/MODS/
 
That one. I gave you a link to the forum thread for it.
 
Back
Top Bottom