Light Style© by Fisana

Jump to content


Photo

Preparation of Random map scripts for Alpha 9


  • Please log in to reply
10 replies to this topic

#1 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 590 posts

Posted 23 February 2012 - 01:46 PM

I'm going to gather last updates of all of my random maps into a file for alpha 9. But there is something to consider. I tweaked the formation of starting units for random maps into a more tidy one. I want to know your opinion about it should I implement it into all random maps (Including the existing ones) or not so that I'll upload a full pack of old and new random maps.
New Formation.PNG

Edited by Spahbod, 23 February 2012 - 01:48 PM.

  • 0
Omid Davoodi [ aka Spahbod ]

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


Support Wildfire Games!

#2 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,967 posts

Posted 23 February 2012 - 05:30 PM

Yes, a more organized starting position for units would look a lot better. (y)
  • 0

#3 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,465 posts

Posted 23 February 2012 - 10:53 PM

I'm going to gather last updates of all of my random maps into a file for alpha 9. But there is something to consider. I tweaked the formation of starting units for random maps into a more tidy one. I want to know your opinion about it should I implement it into all random maps (Including the existing ones) or not so that I'll upload a full pack of old and new random maps.
New Formation.PNG

If you don't commit them directly (now that you're on the team (y)), then please make patches for any existing maps you change, it makes the changes easier to understand :)
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com

#4 k776

k776

    Centurio

  • WFG Retired
  • 724 posts

Posted 23 February 2012 - 10:56 PM

Yup, I like the more organised starting positions.

Also, if you have code shared between random maps (like hill generation, starting unit positions, tree seeding etc), I'd really like it extracted into a reuable library that others can use in their own random maps. The less duplicated code per random map script, the better!
  • 0

Kieran P [ aka k776 ]


#5 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,465 posts

Posted 24 February 2012 - 12:27 AM

The biome selection should become a part of rmgen, maybe in classes as vaguely documented here. But just moving them into a single global function would be a reasonable start :)
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com

#6 howlingflute

howlingflute

    Discens

  • Community Members
  • Pip
  • 59 posts

Posted 24 February 2012 - 05:49 PM

I just checked out your new random maps. Awesome! :victory: I think you did a great job! It would be awesome in the future to be able pick a specific biome or random option from the gui, for the maps that randomly change biomes. Also it might be nice to indicate which maps have the randomly generated biomes and which one are fixed biomes. Otherwise awesome job :D.
  • 0

#7 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,967 posts

Posted 24 February 2012 - 06:27 PM

I think desert environmental settings should be closer to this:

Posted Image

Right now, on the Nile River map for example, the settings blow out the textures. :) You're doing an increasingly good job on these, though! Other than the environment settings, the Nile River map looks pretty awesome.
  • 0

#8 k776

k776

    Centurio

  • WFG Retired
  • 724 posts

Posted 24 February 2012 - 07:02 PM

I saw your commit. Nice work on all the new random maps.

But you copy and paste the same starting unit positions code, and there is probably lots of other duplicate code (like the terrain randomizing stuff).

Can you please clean this up into a single file? The cleaner these random maps can be, and the more reusable the code, the better.

IF we have a ingle file with different functions for starting positions, random terrain, tree placement etc, it'll be easier for new users to make random maps.

See what you can do. Thanks.
  • 0

Kieran P [ aka k776 ]


#9 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 590 posts

Posted 25 February 2012 - 12:24 PM

I saw your commit. Nice work on all the new random maps.

But you copy and paste the same starting unit positions code, and there is probably lots of other duplicate code (like the terrain randomizing stuff).

Can you please clean this up into a single file? The cleaner these random maps can be, and the more reusable the code, the better.

IF we have a ingle file with different functions for starting positions, random terrain, tree placement etc, it'll be easier for new users to make random maps.

See what you can do. Thanks.


This is one of the things I'm going to fix for sure. It is really boring to do a change in 8 different files (not mentioning the high chance of mistakes) and it is making the files harder to read.

I think desert environmental settings should be closer to this:

Posted Image

Right now, on the Nile River map for example, the settings blow out the textures. :) You're doing an increasingly good job on these, though! Other than the environment settings, the Nile River map looks pretty awesome.


Fixed. I'll commit it after I organized the duplicated codes.

I just checked out your new random maps. Awesome! :victory: I think you did a great job! It would be awesome in the future to be able pick a specific biome or random option from the gui, for the maps that randomly change biomes. Also it might be nice to indicate which maps have the randomly generated biomes and which one are fixed biomes. Otherwise awesome job :D.


Thanks. There is a ticket closely related to the first suggestion. But it isn't very important and I think we won't be seeing this feature in any alpha version. For the second one, michael once had an idea of having a different sort of maps called "generic".
  • 0
Omid Davoodi [ aka Spahbod ]

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


Support Wildfire Games!

#10 Pureon

Pureon

    Primus Pilus

  • 0 A.D. Art Team
  • 3,652 posts

Posted 25 February 2012 - 12:45 PM

Brilliant work!
  • 0

Pureon
0 A.D. Part time Designer / Texturer / 3D Artist
Contact email:
pureon{@}wildfiregames.com


#11 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 590 posts

Posted 25 February 2012 - 04:04 PM

I removed the duplicated codes from the scripts and added them into rmgen libraries.

@Michael
I changed the nile map. I also added those "reeds" to the map. But they looked ugly for small and tiny maps and I used a smaller one which is still ugly. Can you make a smaller version of these? Perhaps 2/3 of the current one's width and length?
  • 0
Omid Davoodi [ aka Spahbod ]

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


Support Wildfire Games!