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

Alternative Map for DOC

Discussion in 'Rhye's and Fall - Dawn of Civilization' started by Bautos42, Jul 11, 2017.

  1. TJDowling

    TJDowling Prince

    Joined:
    Jul 7, 2012
    Messages:
    560
    Also, is there a way I can see the most up to date map? So I'm not throwing around outdated suggestions?
     
  2. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,469
    Gender:
    Male
    Location:
    Leblanc
    I'll post some screenshots soon.
     
    trevor, Steb, 1SDAN and 2 others like this.
  3. merijn_v1

    merijn_v1 Black Belt

    Joined:
    Dec 29, 2008
    Messages:
    5,641
    Location:
    The city of the original vlaai
    This issue only appears when you place (horizontally) adjacent island tiles. (So not placing adjacent island tiles easiest way to solve it)

    You could use the code below. It get rids of the islands on the wrong tile. However, when you have a cluster of island tiles, it does not place many islands. (This can be solved by combining some of the current nif files. This is not hard, but it takes some time.) But I assume that there aren't many locations that have adjacent island tiles, so this is probably not an issue.

    You can always test the code below and decide if you like the result.

    Code:
            <FeatureArtInfo>
                <Type>ART_DEF_FEATURE_ISLANDS</Type>
                <bAnimated>0</bAnimated>
                <bRiverArt>0</bRiverArt>
                <TileArtType>TILE_ART_TYPE_HALF_TILING</TileArtType>
                <LightType>LIGHT_TYPE_SUN</LightType>
                <fScale>0.3</fScale>
                <fInterfaceScale>1.0</fInterfaceScale>
                <Button>Art/Interface/Buttons/TerrainFeatures/Button_Islands.dds</Button>
                <FeatureVariety>
                    <FeatureArtPieces>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island0.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_nw.nif</ModelFile>
                            <Connections>NW</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island0.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_ne.nif</ModelFile>
                            <Connections>NE</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island1_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_ne.nif</ModelFile>
                            <Connections>NW NE</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island0.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_se.nif</ModelFile>
                            <Connections>SE</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island1_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_se.nif</ModelFile>
                            <Connections>NW SE</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island1_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_se.nif</ModelFile>
                            <Connections>NE SE</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island1_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_se.nif</ModelFile>
                            <Connections>NW NE SE</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island0.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_sw.nif</ModelFile>
                            <Connections>SW</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island1_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_sw.nif</ModelFile>
                            <Connections>NW SW</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island1_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_sw.nif</ModelFile>
                            <Connections>NE SW</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island1_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_sw.nif</ModelFile>
                            <Connections>NW NE SW</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island1_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_sw.nif</ModelFile>
                            <Connections>SE SW</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island1_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_sw.nif</ModelFile>
                            <Connections>NW SE SW</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island1_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_sw.nif</ModelFile>
                            <Connections>NE SE SW</Connections>
                        </FeatureArtPiece>
                        <FeatureArtPiece>
                            <ModelFile>Art/Terrain/Features/Islands/island1_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_nw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_ne.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_se.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island1_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island2_sw.nif</ModelFile>
                            <ModelFile>Art/Terrain/Features/Islands/island3_sw.nif</ModelFile>
                            <Connections>NW NE SE SW</Connections>
                        </FeatureArtPiece>
                    </FeatureArtPieces>
                    <FeatureDummyNodes/>
                    <bGenerateRotations>0</bGenerateRotations>
                    <VarietyButton>Art/Interface/Buttons/TerrainFeatures/Button_Islands.dds</VarietyButton>
                </FeatureVariety>
            </FeatureArtInfo>
    
     
    1SDAN likes this.
  4. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,469
    Gender:
    Male
    Location:
    Leblanc
    Yeah, that's what I meant. You would probably have to fix this on a NIF level.
     
  5. DC123456789

    DC123456789 Deity

    Joined:
    Feb 24, 2012
    Messages:
    3,073
    Location:
    Canada
    PEI is already in as an island tile, I'm pretty sure. I made sure of that.
     
    TJDowling likes this.
  6. merijn_v1

    merijn_v1 Black Belt

    Joined:
    Dec 29, 2008
    Messages:
    5,641
    Location:
    The city of the original vlaai
    The code I provided already fixes the issue you mentioned. (I added missing connections with multiple cardinal directions, like >NE NW<) You can implement this and see if you are happy with the result.

    The issue with this fix is that it doesn't place many islands when there are clusters of island tiles. This can be fixed by editing the nif files. But if the result of the fix above is good enough it can save the effort of creating some new nif files.
     
    1SDAN likes this.
  7. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,469
    Gender:
    Male
    Location:
    Leblanc
    Does it place less islands in clusters than with the current configuration?
     
  8. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,469
    Gender:
    Male
    Location:
    Leblanc
    Sorry, I think it's better to focus my time on getting the branch ready to be published. I don't have any map changes that I want to make anymore, so it's only some graphical adjustments and preparing the code for some collaborative aspects. Might get this done over the weekend, depends on the weather.
     
  9. merijn_v1

    merijn_v1 Black Belt

    Joined:
    Dec 29, 2008
    Messages:
    5,641
    Location:
    The city of the original vlaai
    Less then I expected.

    I do notice that both configurations can lead to empty tiles, even though the tile has islands.

    If you have islands on a tile, and none of the adjacent tiles have islands, there is no change at all between the old and new configuration. Only when adjacent tiles have islands as well there is a change.

    Spoiler New configuration :


    Spoiler Old configuration :
     

    Attached Files:

    Last edited: May 25, 2018
    need my speed, Publicola and 1SDAN like this.
  10. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,469
    Gender:
    Male
    Location:
    Leblanc
    Huh, intuitively the new configuration looks better overall, especially if it also definitely removes false positives. I think what we should do is a quick review of existing islands on the map and see if the new config introduces any negative side effects for them specifically. There aren't that many cases where islands border each other but the Aegean and French Polynesia especially come to mind. I suggest you keep this prepared for when I publish the recent state of the map.
     
  11. merijn_v1

    merijn_v1 Black Belt

    Joined:
    Dec 29, 2008
    Messages:
    5,641
    Location:
    The city of the original vlaai
    For the special cases in which the island tiles border each other, I can combine some nif files so that bordering island tiles have more islands.
     
  12. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,469
    Gender:
    Male
    Location:
    Leblanc
    Let's wait and see if that's actually necessary.
     
  13. TJDowling

    TJDowling Prince

    Joined:
    Jul 7, 2012
    Messages:
    560
    Hey, someone was working on a lake feature a while back. Crazy idea, not sure how feasible, but would it be possible to re-purpose the island feature as a lake feature. Somehow invert it so that the texture of the land is water and the water is land. That way the lake tiles would not be identical even with many instances side by side. I'm guessing the hardest part would be that islands are raised and lakes shouldn't be raised but it's an idea.
     
  14. merijn_v1

    merijn_v1 Black Belt

    Joined:
    Dec 29, 2008
    Messages:
    5,641
    Location:
    The city of the original vlaai
    That might even work. Let me try.

    EDIT:
    I really don't like the results I was able to create.
     
    Last edited: May 26, 2018
    BasilBerylium, 1SDAN and TJDowling like this.
  15. Bautos42

    Bautos42 Warlord

    Joined:
    Jan 16, 2015
    Messages:
    174
    Would it be possible for you to upload the files you changed in order to create this effect? I really love the look of it and I think it adds far more options to map design than it creates obstacles.
     
    1SDAN and Publicola like this.
  16. merijn_v1

    merijn_v1 Black Belt

    Joined:
    Dec 29, 2008
    Messages:
    5,641
    Location:
    The city of the original vlaai
    No problem. Here it is. Do note that this is a very rough version. I very roughly changed the heightmap and only changed 1 of the 6 diagonal textures, so many straits will not have water color. (You can edit that in the XML, but then you do not have much variety)
     

    Attached Files:

    1SDAN and Bautos42 like this.
  17. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,469
    Gender:
    Male
    Location:
    Leblanc
    I have been thinking about Islands a bit more and it would also be nice to allow building Forts (or an equivalent improvement) on Islands, thinking of the importance of naval bases in places like Malta. This could become especially useful later in development when I have time to expand on Fort rules. But we should think about including this already. In this context, is anyone willing to attempt to create art for this? The way the game usually works is that an improvement is a completely separate object that may move around the existing islands (think of placing a Fort in a forest), so placing something "on" one of the islands may not be possible. But I would already like improvement art that looks like one of the islands with fortification on top of it.
     
  18. merijn_v1

    merijn_v1 Black Belt

    Joined:
    Dec 29, 2008
    Messages:
    5,641
    Location:
    The city of the original vlaai
    Something like this? (I expected the fort to be smaller compared to the island it is on. But this ratio can easily be edited.)

    Spoiler :
     

    Attached Files:

    borhap88, need my speed and Publicola like this.
  19. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,469
    Gender:
    Male
    Location:
    Leblanc
    I'd use a somewhat smaller fort but otherwise it looks good.
     
  20. merijn_v1

    merijn_v1 Black Belt

    Joined:
    Dec 29, 2008
    Messages:
    5,641
    Location:
    The city of the original vlaai
    I made the fort smaller. The field of view of all screenshots are the same.
    1. Original size
    2. About 80% fort size
    3. About 60% fort size
    Spoiler :
     

    Attached Files:

    Publicola likes this.

Share This Page