1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

NOVAL invert mirror map script

Discussion in 'Civ5 - Map Scripts' started by Nefliqus, Oct 21, 2011.

  1. Nefliqus

    Nefliqus Chieftain

    Joined:
    Sep 16, 2010
    Messages:
    400
    Location:
    Poland
    This script is not compatible with GAK extension!



    Civ5 multiplayer map script

    Description:
    Another mirrored map for players who like to have ideally equal starting spots. It is script dedicated to 1v1 game with City State, barbs camps, ruins...
    This map uses Leszek Deska invert mirroring algorithm from LDeska_Insidesee.lua script.

    It makes mirror of all element of the game:
    1) landmass, resources, natural wonders...
    2) Players starts positions,
    3) City State starts positions,
    4) Barbs Camps (with active barb warrior),
    5) Ruins,
    6) Players Teams (one team on left , second on right)

    I have added some Advanced Setup menu with options to make MultiPlayer game more attractive:
    1) additional human units from start added by map script.
    2) additional CS units from start added by map script.
    3) El Dorado erasing
    4) uranium, horse, iron, quantity setting
    5) lux types qty setting,
    6) teams positions setting (random or frontline, distance short or long)
    7) permanent war option (game will start with permanent war between human players. ALWAYS_WAR for games without CS and NO_CHNAGE_WAR->PEACE for game with CS.)
    8) "Map setup description" popup window
    9) free road between players start positions as an option
    10) some map configuration option.

    Several landmass types are available:
    1) "Madagascar","Oval flat pangaea without inland sea",
    2) "Small inland sea","Oval pangaea with inland sea",
    3) "Medium inland sea","Oval pangaea with inland sea",
    4) "Huge inland sea","Oval pangaea with inland sea",
    5) "Zorro atoll","Z-shape pangaea",
    6) "Ural","Mountains pangaea without inland sea",
    7) "Fyords","Random pangaea with many fyords.",
    8) "Volcano","Volcano-shape pangaea".
    9) "Cold War", "Two mirrored continents separated by sea. No map wraping."
    10) "Desert Storm","Flat map with huge desert in center. No map wraping."
    11) Random option

    Original thread in polish:
    http://forum.civilization.org.pl/viewtopic.php?p=156421#156421

    Download:
    NOVAL_WAR_ROUTE_v9_1en
    Rar format file in attachment if you need it.

    Changelog:
    v9_1
    -better road creation
    -fixed bug with coldwar/desertstorm map wrapping

    Team roads are created only on this landmass types:
    -inland sea small/med/huge
    -volcano

    V9
    -added road between players start positions as an option
    -added two new landmass type: Cold War and Desert Storm (not wrapped)
    -uranium distribution correction
    -landmass creation correction
    -menu text fixing

    V8_3
    -improved landmass creation -> no more bunker maps
    -improved lux distribution
    -improved team position control
    -improved script stability
    -barbs army option added
    -perm. war option added
    -mirror maps barbs production blocking problem fixed

    Installation: put this map (mapname.lua) into C:\Program Files\Steam\steamapps\common\sid meier's civilization v\Assets\Maps\
    For multiplayer game all players have to upload new map to this folders on own PC.

    Warning: do not put it in "My Documents\..." - it will cause problems when other player will have it in correct location and you will try to play together.
    You have to restart your CIV after you have copied map script file!



    Youtube landmass creation test:
    http://www.youtube.com/watch?v=2soglDNFIv4&feature=player_embedded


    Screens:

    Spoiler :

    v9: cold war map and desert storm map




    v8: teams frontline example


    Menu:


    ALWAYS_WAR option -> no dyplo spying


    Setting notifications:


    v1:






    v1_5:


    v2:


    Without inland sea:


    v5:
    Zorro atoll option:


    Fiords map option with "Map setup description" popup window

    Advanced menu:


    v7: new landmass type option, Volcano:



    New menu element description:


    Spoiler :
    Code:
    					{ --3
    						Name = "Uranium",
    						Values = {
    						{"None","No uranium on map"},
    						{"Rare","You will find same Uranium on map. 1 unit per uranium source"},
    						{"Balanced","Balanced amount of Uranium on map. 1-4 units per uranium source"},
    						},
    						DefaultValue = 2,
    						SortPriority = 6,
    					},
    					{ --4
    						Name = "Landmass Type",
    						Values = {
    						{"Plain without sea","Oval pangaea without sea."},--1
    						{"Small inland sea","Oval pangaea with small inland sea."},--2
    						{"Medium inland sea","Oval pangaea with medium inland sea."},--3
    						{"Huge inland sea","Oval pangaea with huge inland sea."},--4
    						{"Zorro atoll","Z-shape pangaea."},--5
    						{"Ural","Mountains pangaea without sea."},--6
    						{"Volcano","Volcano-shape pangaea."},--7
    						{"Fyords","Random pangaea with many fyords."},--8
    						"Random",
    						},
    						DefaultValue = 9,
    						SortPriority = -80,
    					},
    					{ --5
    						Name = "CitySate Army",
    						Values = {
    						"None",
    						{"+ARCHER","CitySate will start with 1 ARCHER."},
    						{"+ARCHER, HOPLITE","CitySate will start with 1 ARCHER and HOPLITE."},
    						{"+ARCHER, 2xHOPLITE","CitySate will start with 1 ARCHER and 2x HOPLITE."},
    						{"+ARCHER, 2xHOP., ELEPHANT","CitySate will start with 1 CROSSBOWMAN and 2x HOPLITE and ELEPHANT."},
    						{"+ARCHER, 2xHOP., 2xELEPHANT","CitySate will start with 1 CROSSBOWMAN and 2x HOPLITE and 2 x ELEPHANT."},
    						},
    						DefaultValue = 4,
    						SortPriority = 86,
    					},
    					{ --6
    						Name = "Human Army",
    						Values = {
    						"None",
    						{"+SCOUT","Human player will start with Warrior +SCOUT."},
    						{"+SCOUT, WARRIOR","Human player will start with Warrior +SCOUT and Warrior."},
    						{"+SCOUT, WORKER, WARRIOR","Human player will start with Warrior +SCOUT and Worker and Warrior."},
    						{"+SCOUT, WORK., WARR., SETTLER","Human player will start with Warrior +SCOUT and Worker and Warriors and Settler."},
    						},
    						DefaultValue = 2,
    						SortPriority = 87,
    					},
    					{ --7
    						Name = "Barbs. Camps",
    						Values = {
    						{"No barbs camps mirroring"},
    						{"Mirroring & No new units","Barbs camp will not create new barbs units."},
    						{"Mirroring & new units","Standard barbs camps behavior. Barbs camp will create new units."},
    						},
    						DefaultValue = 2,
    						SortPriority = 88,
    					},
    					{ --8
    						Name = "Permanent War",
    						Values = {
    						{"ON","Game starts with permanent war beetwean human players. ALWAYS_WAR for games without CS and NO_CHNAGE_WAR->PEACE for game with CS."},
    						{"Off","Permanent war option is off."},
    						},
    						DefaultValue = 2,
    						SortPriority = 99,
    					},
    					{ --9
    						Name = "Iron&Horse",
    						Values = {
    						"2 units per source",
    						"3 units per source",
    						"4 units per source",
    						"5 units per source",
    						"6 units per source",
    						{"Balanced","2-8 units per source, depend on landmass size."},
    						"Random",
    						},
    						DefaultValue = 1,
    						SortPriority = 7,
    					},
    					{ --10
    						Name = "El Dorado",
    						Values = {
    						{"ON","El Dorado can appear."},
    						{"Off","No El Dorado on the map."},
    						},
    						DefaultValue = 2,
    						SortPriority = 9,
    					},
    					{ --11
    						Name = "Team Setting",
    						Values = {
    						{"Start Anywhere","Random starting positions on one half of the map."},
    						{"Start Together","Team starting positions will form vertical line."},
    						},
    						DefaultValue = 2,
    						SortPriority = 98,
    					},
    					{ --12
    						Name = "Land Wealth",
    						Values = {
    						{"Beggary","Max 2 types of lux resources and Sparse strategy resources."},
    						{"Poverty","Max 3 types of lux resources and Sparse strategy resources."},
    						{"Day-to-day life","Max 4 types of lux resources and Standard strategy resources."},
    						{"Prosperity","Max 5 types of lux resources and Standard strategy resources."},
    						{"Wealthily","Max 7 types of lux resources and Strategy Balanced."},
    						{"Extravagance","Max 9 types of lux resources and Strategy Balanced."},
    						{"Eden","Max 12 types of lux resources and Strategy Balanced."},
    						{"No limit","No limited types of lux resources and Strategy Balanced."},
    						"Random",
    						},
    						DefaultValue = 5,
    						SortPriority = 8,
    					},
    					{ --13
    						Name = "Extra Promotions",
    						Values = {
    						{"None","City States and Barbarians units starts without extra promotions."},
    						{"For City States Only","Only City States units starts game with extra promotions."},
    						{"For Barbarians Only","Only Barbarians units starts game with extra promotions."},
    						{"For CS and Barbs","City States and Barbarians units starts game with extra promotions."},
    						},
    						DefaultValue = 1,
    						SortPriority = 89,
    					},				
    					{ --17
    						Name = "Barbarians Army",
    						Values = {
    						{"None"},
    						{"+1 BRUTE","All Barbarians camps will start with camp defender and one BRUTE. This option is active only with 'Barbarians Camps Mirroring'."},
    						{"+2 BRUTE","All Barbarians camps will start with camp defender and two BRUTEs. This option is active only with 'Barbarians Camps Mirroring'."},
    						},
    						DefaultValue = 1,
    						SortPriority = 88,
    					},
    					{ --15
    						Name = "Frontline Distance",
    						Values = {
    						{"Short","Distance between teams = 9 or more. It works only woth option: 'Start Together'."},
    						{"Medium","Distance between teams = 13 or more. It works only woth option: 'Start Together'."},
    						{"Long","Distance between teams = 17 or more. It works only woth option: 'Start Together'."},
    						},
    						DefaultValue = 2,
    						SortPriority = 99,
    					},
    


    Map size:
    Spoiler :
    Code:
    
    		[GameInfo.Worlds.WORLDSIZE_DUEL.ID] = {36, 22},
    		[GameInfo.Worlds.WORLDSIZE_TINY.ID] = {43, 24},
    		[GameInfo.Worlds.WORLDSIZE_SMALL.ID] = {55, 32},
    		[GameInfo.Worlds.WORLDSIZE_STANDARD.ID] = {55, 32}, --nobody uses it in MP
    		[GameInfo.Worlds.WORLDSIZE_LARGE.ID] = {55, 32}, -- nobody uses it in MP
    		[GameInfo.Worlds.WORLDSIZE_HUGE.ID] = {55, 32}, -- nobody uses it in MP
    
    


    It was tested with patch 1.0.1.383 + hotfix.

    HAVE FUN! :D







     

    Attached Files:

  2. Nefliqus

    Nefliqus Chieftain

    Joined:
    Sep 16, 2010
    Messages:
    400
    Location:
    Poland
    Troubleshooting
    1)
    Q: I have this map in my folder but I can't start a game with my friends?
    A: All players have to use the same version of the map script.
    A: All players have to save map script into good folder C:\Program Files\Steam\steamapps\common\sid meier's civilization v\Assets\Maps\
    A: Restart your civ5.
    A: Delete script from "My Documents\...\maps" folder
    A: Use only the newest version: NOVAL_WAR_ROUTE_v9_1en

    2)

    Q: After 1 turn I see my CIV Screen? WTF?
    A: It is ok. Map will be synchronized with host. Just wait. It is done only ones after 1 turn.

    3)
    Q: I can't load save.
    A: Don't delete old version of the script. To load save you must to have a script in your folder that was use to build map.
    A: Try to load older save.

    4)
    Q: I saved this script in maps folder but i don't see it in game list?
    A: Restart civ5.
    A: Unpack *.rar file and save there a *.lua file.

    5)
    Q: I still have problems. What to do?
    A: Write post with problem description/screenshot and info about version of the map.

    6)
    Q: I dont know how to install it. This map sucks!
    A: Wait for mods support in MP.

    :goodjob:
     
  3. Kyp Durron

    Kyp Durron CP5

    Joined:
    Jun 12, 2009
    Messages:
    418
    Location:
    Charleston, SC
    Works good, looks like league will start using this a bit. Can we get a option without any seas on the map? Similar to Skirmish maps, with the mountain range along the middle.
     
  4. Nefliqus

    Nefliqus Chieftain

    Joined:
    Sep 16, 2010
    Messages:
    400
    Location:
    Poland
    I plan to make mirror of Skirmish map but i'm waiting for next patch/expansion. Before it I'm going to fix only eventual bugs.
     
  5. rkelle7

    rkelle7 Chieftain

    Joined:
    Nov 9, 2011
    Messages:
    90
    Also can you consider making a map that is 4-corners mirrored for ctons? Would be fun. Or even divided into six/eight groupings with a land bridge would be fun. But skirimish would be cool too! Question also can you discover 2 el dorados with it on or just one for this map creator?

    -AwesoMe
     
  6. Lovac

    Lovac Chieftain

    Joined:
    Feb 6, 2010
    Messages:
    1
    hey man good job with the work u ve done here, seems like a lot of people love the map you created...4 corners mirrored map for ctons sounds great as well
     
  7. Nefliqus

    Nefliqus Chieftain

    Joined:
    Sep 16, 2010
    Messages:
    400
    Location:
    Poland
    Everything is mirrored, including natural wonders. So answer is yes. You can switch off el dorados in advanced menu if you want. It is the best solution because el dorado disbalance MP gameplay in my opinion.

    Thx
     
  8. Kyp Durron

    Kyp Durron CP5

    Joined:
    Jun 12, 2009
    Messages:
    418
    Location:
    Charleston, SC

    Sure would be nice :) We can assist in bringing the bugs to your attention.
     
  9. Nefliqus

    Nefliqus Chieftain

    Joined:
    Sep 16, 2010
    Messages:
    400
    Location:
    Poland
    Thx, it could be very helpful.
     
  10. KiffeLesBiffles

    KiffeLesBiffles Do you like dogs?

    Joined:
    Apr 18, 2011
    Messages:
    385
    Location:
    Paris
    Thanks a lot !
     
  11. Silverfuturist

    Silverfuturist Chieftain

    Joined:
    Dec 16, 2010
    Messages:
    684
    Outstanding map! Played a duel with 2 Cerros. Played another game with 2 barrior reefs, so there were 4 wonders. Also tried a 3x3 and two 2x2s. The 3x3 was fun, we had difficult starts so had to plan our cities. It was good, because the other team had the same exact challenge as well.
     
  12. tommynt

    tommynt Chieftain

    Joined:
    Sep 28, 2008
    Messages:
    1,814
    I like all the options it give - like no eldorado :)
     
  13. Nefliqus

    Nefliqus Chieftain

    Joined:
    Sep 16, 2010
    Messages:
    400
    Location:
    Poland
    I'm going to prepare next version of this map next week. If you have any new ideas or change requests just write it now.
    I'm not native english speaker so I could made some spelling or grammar mistake in menu, pls let me know about it too.
     
  14. rkelle7

    rkelle7 Chieftain

    Joined:
    Nov 9, 2011
    Messages:
    90
    Here are the ideas that myselft and others have had so far:

    1.) Make a cton map or a map with 4 corners that are mirrored. And/Or a map with 6 spots mirrored.

    2.) Skirmish map mirrored.

    3.) Maybe a skirmish map with two mountain ranges that wrap around. Like where there is no edge of the map just two mountain chains.

    4.) A lake map where there are predominately lakes.

    By the way thanks a lot for the maps!

    -AwesoMe
     
  15. Kyp Durron

    Kyp Durron CP5

    Joined:
    Jun 12, 2009
    Messages:
    418
    Location:
    Charleston, SC
    Please add more hills to the generator of the map, its too flat in most games. And starting locations for cities are very poor at times, which can be fun, but a river start for cities would be nice atleast :)

    Thanks for the great map!
     
  16. KiffeLesBiffles

    KiffeLesBiffles Do you like dogs?

    Joined:
    Apr 18, 2011
    Messages:
    385
    Location:
    Paris
    Maybe change Lux when mirror. I mean if you have a calendar Lux in one side of mirror set a différent calendar Lux on the other side. It would be the same but hapiness Will be better when conquer a city (nô duplicata Lux). Same for mining and trapping Lux.
     
  17. Nefliqus

    Nefliqus Chieftain

    Joined:
    Sep 16, 2010
    Messages:
    400
    Location:
    Poland
    Download:
    NOVAL_WAR_ROUTE_v9en.lua NOVAL_WAR_ROUTE_v9en

    Changelog:
    V9
    -added free road between players start positions as an option
    -added two new landmass type: Cold War and Desert Storm (not wrapped)
    -uranium distribution correction
    -landmass creation correction
    -menu text fixing
     
  18. rkelle7

    rkelle7 Chieftain

    Joined:
    Nov 9, 2011
    Messages:
    90
    GREAT JOB! Especially on the skirmish maps. I like Madagascar also. Just if we could get a map that wraps and is skirmish on both sides would be great. Maybe a little sea in there too as an option.

    -AwesoMe
     
  19. rkelle7

    rkelle7 Chieftain

    Joined:
    Nov 9, 2011
    Messages:
    90
    I think i heard the road between civs might be buggy. Sometimes it creates it between you and your opponent!

    -AwesoMe
     
  20. Nefliqus

    Nefliqus Chieftain

    Joined:
    Sep 16, 2010
    Messages:
    400
    Location:
    Poland
    :) It is done in purpose. I wanted to create War Route to help attackers. If you don't like it you can switch road off in advance option.
     

Share This Page