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
equeuePopup( 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);
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

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);