1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. Photobucket has changed its policy concerning hotlinking images and now requires an account with a $399.00 annual fee to allow hotlink. More information is available at: this link.
    Dismiss Notice
  3. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  4. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  5. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  6. Dismiss Notice
  7. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

[Map Script] SpiralGalaxy.py for Final Frontier

Discussion in 'Civ4 - Map Scripts' started by cephalo, Feb 12, 2008.

  1. cephalo

    cephalo Chieftain

    Joined:
    Jul 26, 2007
    Messages:
    1,919
    Location:
    Missouri, USA
    This map creates a random spiral galaxy for Final Frontier. Most of the resources are toward the center of the galaxy, while most of the habitable planets are toward the ends of the spiral arms.

    Download here

    Put this file in Civilization4\Beyond the Sword\Mods\Final Frontier\PrivateMaps folder. Also, this map requires the default map FinalFrontier.py to be in the same directory, as it uses the starting plot code from that script.



    Version History:
    1.01 - Fixed a multiplayer bug
     

    Attached Files:

  2. GeoModder

    GeoModder Chieftain

    Joined:
    Nov 29, 2005
    Messages:
    7,512
    Looks nice. :cooool:
    Do you reckon it will decrease the amount of solar systems? They seem to cluster around the arms (which is normal of course).
     
  3. cephalo

    cephalo Chieftain

    Joined:
    Jul 26, 2007
    Messages:
    1,919
    Location:
    Missouri, USA
    There still might be some adjustments needed in regards to the default number of players vs. the map size. I've played through some exploratory phase games, and it seemed ok. In comparison to the default map, this map has alot more unusable map tiles, so it needs to be somewhat bigger.

    One concern I still have is the value of starting near the center vs. starting on the outside. I haven't determined how big of an advantage it is to start near the resource rich center. The idea is that the planets will be fewer and farther apart in the middle, but maybe that's not nearly as much of a hindrance as having few resources.
     
  4. deanej

    deanej Chieftain

    Joined:
    Apr 8, 2006
    Messages:
    4,859
    Location:
    New York State
  5. cephalo

    cephalo Chieftain

    Joined:
    Jul 26, 2007
    Messages:
    1,919
    Location:
    Missouri, USA
    Absolutely.
     
  6. Stormwaltz

    Stormwaltz Chieftain

    Joined:
    Oct 8, 2007
    Messages:
    12
    Outstanding. I've wanted a map like this for a long time, but the thought of making it daunted me.
     
  7. lobosan

    lobosan Chieftain

    Joined:
    Mar 30, 2003
    Messages:
    79
    Thank you cephalo! I was looking for a spiral galaxy map but a map script is much better :)
     
  8. Arctem

    Arctem Chieftain

    Joined:
    Dec 6, 2007
    Messages:
    85
    Looks sweet. I can't wait to try it. If this is as good as PerfectWorld and Creation, I'll have to go sleepless for a long time.
     
  9. GeoModder

    GeoModder Chieftain

    Joined:
    Nov 29, 2005
    Messages:
    7,512
    Cephalo, is it possible to change this to a 'global' maptype?
     
  10. cephalo

    cephalo Chieftain

    Joined:
    Jul 26, 2007
    Messages:
    1,919
    Location:
    Missouri, USA
    You mean a public map? Right now it does need the starting plot code from FinalFrontier.py, but if you wanted you could probably put both of those files anywhere that you need them. I probably should just copy and paste the needed code right out of FinalFrontier.
     
  11. GeoModder

    GeoModder Chieftain

    Joined:
    Nov 29, 2005
    Messages:
    7,512
    No, global like in when going off the map on the westside with a unit you enter on the eastside with it.
    I know there's little need with the way the nebula forms on this maptype, but a small passage (or even several passages through the middle of the nebula) would be nice. :please:
     
  12. cephalo

    cephalo Chieftain

    Joined:
    Jul 26, 2007
    Messages:
    1,919
    Location:
    Missouri, USA
    Hmm, that wouldn't make much sense for a spiral galaxy, but if you want, you can modify the getWrapX and getWrapY functions and set them to return 'True'. That should give you what you are looking for.
     
  13. jkp1187

    jkp1187 Unindicted Co-Conspirator

    Joined:
    Aug 29, 2004
    Messages:
    2,494
    Location:
    Pittsburgh, Pennsylvania
    This looks great...I may have to fire up Final Frontier again just to try it out.
     
  14. Zuul

    Zuul Mod lister!

    Joined:
    Nov 13, 2005
    Messages:
    1,117
    Location:
    Sweden
    Cool idea :). Maybe add shpere galaxy option? :)
     
  15. ZB2

    ZB2 New wave Ideology

    Joined:
    Aug 1, 2006
    Messages:
    678
    Location:
    Europe
    Cephalo must have had a vision with the Civilization god to tell him to make this script.

    Behold for it is the best. FF mod firing up!
     
  16. xMikex

    xMikex Chieftain

    Joined:
    Aug 21, 2007
    Messages:
    11
    very nice.

    any chance we might see bar galazies and spherical galaxies?
     
  17. GoodGame

    GoodGame Red, White, & Blue, baby!

    Joined:
    Dec 17, 2004
    Messages:
    13,725
    Just a thought, maybe balance resource density with pirates. Make the rate of pirate appearance directly proportional to resource density. And if possible have the pirates seek to move towards areas rich in resources, and make them less likely to appear on the fringe arms.

     
  18. Premier Valle

    Premier Valle FF: Babylon 5 Mod Team

    Joined:
    Sep 9, 2007
    Messages:
    675
    Location:
    Ich bin in Mexico Stadt
    :trophy2:Great work Cephalo!!!:trophy2:

    I just test-played it and is a very good map script!, I'm working in a team making a Babylon 5 mod for FF, and wanted to ask for your permission to distribute your map script with the mod (proper credit given of course).

    And I also ask for other galaxy types scripts.

    :cheers:
     
  19. cephalo

    cephalo Chieftain

    Joined:
    Jul 26, 2007
    Messages:
    1,919
    Location:
    Missouri, USA
    Go ahead and use it, and thanks for the compliment!
     
  20. Arexack_heretic

    Arexack_heretic Chieftain

    Joined:
    Oct 10, 2006
    Messages:
    1,119
    Location:
    Lugdunum
    Nice.
    I'll play with it some too. :)
     

Share This Page