Specifically they refer to the options you choose when starting a new game from the menu. This section describes to the Civ4 engine the game setup parameters. ContextPtr:LookUpControl('/InGame/TopPanel/CurrentTurn'):SetText( str )Īside from the two expansion packs, several additional add-ons are available to add a few more contents. WriteMPMP( GamePlayFileName, str, false ) - Append file WriteMPMP( GamePlayFileName, ' n n n ', true ) - Open file WriteMPMP( textFileName, sDatabase, false) Tag), 'TURN_REMINDER_EMAIL ')) then - to do : encode the HTML tags in those strings. Local query = 'SELECT * FROM Language_en_US ' - to do: select by user language. WriteMPMP( textFileName, ' n n n ', true ) - Create file If valueStr: len() > 0 and valueStr ~= 'nil ' then sDatabase = sDatabase. WriteMPMP( AudioFileName, sDatabase, false) CreateQuery( 'SELECT name FROM sqlite_master WHERE type='table' ORDER BY name ')įor i, tableName in ipairs(audioTableListe) do WriteMPMP( AudioFileName, ' n n n ', true ) - replace file GetActivatedModEntryPoints( 'DiplomacyUIAddin ') do AddUIAddinToMPMP( 'a ', filename)įor addin in Modding. GetActivatedModEntryPoints( 'CityViewUIAddin ') do GetActivatedModEntryPoints( 'InGameUIAddin ') do convert to civfanatics downloaded nameįor addin in Modding. modinfo files to find the correct folder even if it was not conventionnaly named.
#Civ v worldbuilder rivers mods#
to do: pass modID and version, parse the Mods folder in C++ for. Version, 'Name ') įolder = tostring(folder).
#Civ v worldbuilder rivers mod#
ID ~= MPMPMakerModID then - but not this mod ! name 'Type ' and bHasPrimaryKey ) then bUnique = true end name 'ID ' and bIsPrimaryKey ) then bAutoIncrement = true end If bIsPrimaryKey then bHasPrimaryKey = true end If sDefaultValue: len() > 0 and sDefaultValue ~= 'nil ' then sDefaultValue = 'default= ' '. SDefaultValue = string.gsub(sDefaultValue, '' ', ' ') ' AND type!='meta' AND sql NOT NULL AND name NOT LIKE 'sqlite_%' ORDER BY substr(type,2,1), name) ' local query = 'SELECT sql FROM (SELECT * FROM sqlite_master UNION ALL SELECT * FROM sqlite_temp_master) WHERE tbl_name = '. Std::ofstream ofs('output.txt', std::ios::binary) Std::ifstream ifs('input.txt', std::ios::binary) maybe put all frontend custom files in a separate DLC folder, and edit them (no delete/replace) with the content of the modded or original files (still need an uninstall mod for UI files): handle DLL mods that may need renaming (see also limitations as a DLL with the mandatory Game function must be loaded)
#Civ v worldbuilder rivers manual#
create a small additional DLC (optional installation, as this one would require manual desinstallation) to handle automatically the launch of a small game session to configure the MP Modspack when entering the mod's menu
then make sure we are not copying in the DLC folder some files that can't be loaded with mods ! That 'MPModpack desinstallation' mod would be deleted/recreated each time a MP modspack is created create a 'desinstall' mod with a copy of all UI files that are loaded in the MPModspack so that they can be removed if that mod is activated (they should override the DLC UI files). all mods won't work in MP, changing gameplay could cause massive desync issues if not done with MP in mind can't be used with DLL mods without merging both projects (C++ and this lua file as an InGameUIaddin) what if other DLC are activated/deactivated while the modpack is active ? a savegame can't know if a modspack is used you must manually delete the MP_MODSPACK folder in Steamsteamappscommonsid meier's civilization vAssetsDLC if you want to use the normal game again check database.log if the game crashes before the main menu, or if there are errors in the Lua.log start civ5 again, launch a new game from the main menu, the modspack should be activated quit game (not to main menu, completly !) check MPMPMaker.log for errors (but I need to add a lot more in it, actually it can output 'done' even if something goes wrong) after creation activate all desired mods, launch a new game from the mods menu, and from 'MPMP_Maker' context in Firetuner call CreateMP() Cannot retrieve contributors at this time - MPMP_MakerĪllow the creation of a MPModspack folder in assets/DLC to copy (and format) activated mods