Light Style© by Fisana

Jump to content


Photo

Random Map Script:Guadalquivir River


  • Please log in to reply
11 replies to this topic

#1 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 594 posts

Posted 06 January 2012 - 09:56 AM

Hello again. Here is the Iberian rms. I want to do a Carthaginian one next time but I have no idea about it. So your help is appreciated.
Players start near the shores of the Mediterranean sea and the river flows between them. The map is nearly flat without hills. I'm looking for any bugs or problems you find.

Posted Image

Link to Download
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#2 JuliusColtranePille

JuliusColtranePille

    Sesquiplicarius

  • Donator
  • 129 posts

Posted 06 January 2012 - 01:17 PM

Hello again. Here is the Iberian rms. I want to do a Carthaginian one next time but I have no idea about it. So your help is appreciated.
Players start near the shores of the Mediterranean sea and the river flows between them. The map is nearly flat without hills. I'm looking for any bugs or problems you find.

Posted Image

Link to Download



i'm glad to see your random map scripts coming...

unfortunately i do not have the time currently to learn how to make them, although i am very thankful for your description. next holidays i will begin to study it!

continue please making those great RMSs!


regards
  • 0
"Jazz means Freedom."

Miles Davis

#3 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 594 posts

Posted 06 January 2012 - 01:37 PM

darn it I can't tolerate the circular shape of the land. I've made a little bit random but it may be unstable and your can end up in the middle of the sea. So it is up to your choice. Play the safe circular shape or the pleasant unsafe random shape.

Posted Image

Link to download

Edited by Spahbod, 06 January 2012 - 01:38 PM.

  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#4 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 594 posts

Posted 07 January 2012 - 07:56 AM

you can create a Meditteranean random map ?


Mediterranean sea did border three other civs too. Although it is not a bad Idea for an rms at all.
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#5 Cassador_Chris

Cassador_Chris

    Duplicarius

  • Community Members
  • PipPipPip
  • 224 posts

Posted 07 January 2012 - 08:29 PM

For the Carthagian one...

One prospect might be to do a central Mediterranean map. You could have "Sicily", a large roughly triangular island in the center with plenty of resources, and then thin strips of land to the south and north on which most of the players are based. Players would then have to compete for the large central island. The intention would be to mimic the colonization conflict the Carthaginians had with the Greeks.

Another thing you could possibly do (especially for larger games) is to start a few players on the central island to mix things up. These players would have the advantage of starting on the resource-laden island, but they'd suffer because they'd be the center of everyone's attention.

Edited by Cassador_Chris, 07 January 2012 - 08:54 PM.

  • 0
"Allies in Shogun 2 are among the most traitorous that I have ever seen. Do not trust them, but declare war on them at the first opportunity." - Sun Tzu

#6 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 594 posts

Posted 08 January 2012 - 04:25 AM

I want something pure Carthaginian. But your idea is not a bad one and if I don't find a better one I'll probably create it.
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#7 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,967 posts

Posted 08 January 2012 - 08:52 AM

Maybe use the Atlas Mountains as the basis?
  • 0

#8 Cassador_Chris

Cassador_Chris

    Duplicarius

  • Community Members
  • PipPipPip
  • 224 posts

Posted 08 January 2012 - 08:07 PM

Maybe use the Atlas Mountains as the basis?


Yeah, if you're going for a purely Carthaginian map, I guess you're left with North Africa. Maybe you could do a two-thirds land and one-third water map, and have almost all the resources concentrated on the coast, while having it get progressively barren inland. Perhaps some mountains dividing the fertile area with the barren one.

What you'll end up with, hopefully, would be a very lateral map in which players would compete intensely with their rivals to the east and west for limited resources, while fish (and perhaps wooded islands) to the north and metal/stone to the south would provide strategic players with other options.
  • 0
"Allies in Shogun 2 are among the most traitorous that I have ever seen. Do not trust them, but declare war on them at the first opportunity." - Sun Tzu

#9 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 594 posts

Posted 09 January 2012 - 09:40 AM

Thanks. It is a good Idea. I'm going to make it.:D
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#10 wraitii

wraitii

    Primus Pilus

  • WFG Programming Team
  • 1,664 posts

Posted 22 February 2012 - 04:49 PM

Could the end of the river running toward the sea be enlarged? It would look more natural. Otherwise very good.
  • 0
Lancelot de Ferrière le Vayer [ aka Wraitii ]
Wildfire Games Programmer, AI developer, auxiliary map designer, dealing with anything water.
Contact me: wraitii@wildfiregames.com

Also the world's only three-dimensional poodle.

#11 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 594 posts

Posted 23 February 2012 - 06:52 AM

Could the end of the river running toward the sea be enlarged? It would look more natural. Otherwise very good.


Unfortunately no. For that we need to know where the river "ends". But because of the random map shape, we can't be sure where it does.
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#12 wraitii

wraitii

    Primus Pilus

  • WFG Programming Team
  • 1,664 posts

Posted 23 February 2012 - 07:41 AM

Gave a look at your code, I see why it would be fairly complicated... Given the way the map is designed though (river starting from the top going to the bottom and the sea is at about 2/3 of the map), perhaps you could factor in a "WATER_WIDTH * Math.max(1,(iz - (mapSize*0.6) / 10.0))" instead of simply "WATER_WIDTH", which would effectively enlarge the width after you reached 6/10 of the map's height.
(I'm not sure this code is clear to you, I think I used your variables, if you have any questions, do ask).

edit: giving this a try... For now it flooded the whole map, which was fairly fun but not very playable.

edit 2: gave this a few tries... it's possible using a finely tweaked "1/(-x+2)^3" sort of function, but given that the lowest part of the island is not always exactly on the same spot, can't be done every single time.

Edited by wraitii, 23 February 2012 - 08:50 AM.

  • 0
Lancelot de Ferrière le Vayer [ aka Wraitii ]
Wildfire Games Programmer, AI developer, auxiliary map designer, dealing with anything water.
Contact me: wraitii@wildfiregames.com

Also the world's only three-dimensional poodle.