![]() Local sMinorCivType = pPlayer:GetMinorCivType() if (ContextPtr:LookUpControl("/InGame/CityStateGreetingPopup"):IsHidden()) then if (ContextPtr:LookUpControl("/InGame/CityStateDiploPopup"):IsHidden()) then If (not (ContextPtr:LookUpControl("/InGame/CityStateDiploPopup"):IsHidden())) thenĮlseif (not (ContextPtr:LookUpControl("/InGame/CityStateGreetingPopup"):IsHidden())) thenĮ( OnGameDataDirty ) G_control = "/InGame/CityStateGreetingPopup/"Įlseif (popupInfo.Type = ButtonPopupTypes.BUTTONPOPUP_CITY_STATE_MESSAGE) thenĮ( OnEventReceived ) G_control = "/InGame/CityStateDiploPopup/"Įlseif (popupInfo.Type = ButtonPopupTypes.BUTTONPOPUP_CITY_STATE_GREETING) then If (popupInfo.Type = ButtonPopupTypes.BUTTONPOPUP_CITY_STATE_DIPLO) then Author: Nutty, based on Gedemon's Ynaemp Leaders for City States Added decode for random city-states start locations. Added optional checkbox "convert with improvements". in function nORbConvWorld:MoveStartPos() added worker in "starting package".in function nORbConvWorld:MoveStartPos() added shoshone/aztec/polynesia units for start.function nORbConvWorld:GetMinorCivStartPlot() optimized.function nORbConvWorld:GetCivStartPlot() optimized.Sorry, but it is Civilization 5 trouble, not my. You think about multiplayer? Just give your lua-script to your friends for install.īut if map is very huge, you (and your friends) need good hardware (RAM, usually) for start and stable play. Set max count City-States for your game (how much you want, but script drop some City-States if need).World size setting not affect to true game size (map size is locked by script).Select Map Type "xxxxx" (where xxxxx - "Name" of your lua-script map).Press "Advanced Setup" for open advanced game create options.Run game client, create game (single or multiplayer).Just open file in notepad, find "function GetMapScriptInfo()" and change value for "Name" and "Description" variables. And change information about this script in body. If all goes well, you will see a window with congratulations. For template you can use my example for one good map: Play The World Extended BNW MARATHON.xmlĬoordinates for "start locations" you can find by Sid Meier's Civilization V SDK (World Builder).Īfter all just run "civ5map2lua.exe", select your civ5map file and press "START". If you need lua-script with true start locations, с reate a xml-file with the same name as yours civ5map-file. I recommend (before start) to copy the map-file (civ5map) to a folder "map". lua\ - folder for results (lua-scripts). ![]() (with example "Play The World Extended BNW MARATHON") map\ - folder for civ5map-files and xml-files (for TSL).(some bugs can be fixed by changes in this file) Sorry for typo, english is not my native language. Little program for convert civ5map files to lua-scripts with "true start locations". ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |