Modding.GetEvaluatedFilePath (Civ5 API)
This page is a part of the Lua and UI Reference (Civ5).
This function is a member of Modding. This is a static method, invoke it with a dot. |
Usage
unknown Modding.GetEvaluatedFilePath(string myModId, unknown myModVersion, string customImage)
Returned Value
- No description available.
Parameters
myModId: No description available. myModVersion: No description available. customImage: No description available.
Source code samples
Redundant occurences have been removed.
CityView.lua
UI/InGame/CityView/CityView.lua
2315
|
local addinFile = Modding.GetEvaluatedFilePath(addin.ModID, addin.Version, addin.File); |
CustomMod.lua
UI/FrontEnd/Modding/CustomMod.lua
0033
|
local customSetupFile = Modding.GetEvaluatedFilePath(entry.ModID, entry.Version, entry.File); |
0081
|
local customImageFile = Modding.GetEvaluatedFilePath(customMod.ModID, customMod.Version, customImage); |
FoRScenarioLoadScreen.lua (G&K)
DLC/Expansion/Scenarios/FallOfRomeScenario/FoRScenarioLoadScreen.lua
0051
|
local scenarioMap = Modding.GetEvaluatedFilePath(myModId, myModVersion, "FoRScenario.Civ5Map"); |
MedievalScenarioLoadScreen.lua (G&K)
DLC/Expansion/Scenarios/MedievalScenario/MedievalScenarioLoadScreen.lua
0109
|
local randomMap = Modding.GetEvaluatedFilePath(MOD_ID, myModVersion, "Europe_Scenario.lua"); |
0180
|
local historicalMap = Modding.GetEvaluatedFilePath(MOD_ID, myModVersion, "MedievalWorld.Civ5Map"); |
MongolScenarioLoadScreen.lua - DLC_01 DLC
DLC/DLC_01/Scenarios/Mongol Scenario/MongolScenarioLoadScreen.lua
0051
|
local file = Modding.GetEvaluatedFilePath(myModId, myModVersion, "MongolScenario.Civ5Map"); |
ScenariosMenu.lua
UI/FrontEnd/ScenariosMenu.lua
0105
|
local foregroundImageFile = Modding.GetEvaluatedFilePath(customMod.ModID, customMod.Version, customImage); |
The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.