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

Soalr system without planets.

Discussion in 'Civ4 - Final Frontier Plus' started by D_Toccs, Aug 8, 2010.

  1. D_Toccs

    D_Toccs Chieftain

    Joined:
    Aug 8, 2010
    Messages:
    21
    Hi, I've been working a mod for Final Frontier for a few weeks now. I'm just wondering if it is at all possible to add in a solar system without any orbiting planets so it is just a sun.

    So far I have set up the xml files by duplicating the FEATURE_SOLAR_SYSTEM related things and naming mine as FEATURE_SOLAR. This shows up in world builder but I have the issue that happens with solar systems in un-modded FF where the sun or planets don't appear.

    I know that this was corrected in the modified worldbuilder but I don't know enough of the python code to make the needed changes to get it to spawn a sun.

    Any help would be appreciated.
     
  2. D_Toccs

    D_Toccs Chieftain

    Joined:
    Aug 8, 2010
    Messages:
    21
    All good, turns out it wasn't a python issue. I have just created a feature with the sun texture and placed it ingame.
     
  3. TC01

    TC01 Deity

    Joined:
    Jun 28, 2009
    Messages:
    2,216
    Location:
    Irregularly Online
    Well, I guess you've already solved this, but this is the problem: it would not be possible to simply duplicate the FEATURE_SOLAR_SYSTEM in XML.

    Because FEATURE_SOLAR_SYSTEM on it's own contains no planets or sun (these are feature dummy tags or something like that- I really don't understand how the XML solar system graphics work...), you would need to manually add the sun to the system, in the same way that the sun and planets of a solar system are added to the system in CvSolarSystem.py.

    Your solution is the only one that can work without lots of Python coding- and, it's a good idea. If/when you release your mod, that might be something I'd be interested in merging.
     

Share This Page