Why is our homestar's color always yellow?

Boring!

I don't know if it's different for other races but custom races always have yellow homestars. Other than making a custom map is there a way to change that like in customplanets.xml?
7,550 views 8 replies
Reply #1 Top
i'm not entirely sure, as i've never attempted this before, but if you look at the "Sol" star system (for the terrans), before the first 'planet' string, there's a display name string and a texture string, so maybe if you add those 2 strings (and include the values you want), then you can both name the starand decide which kind of star it is.

i think it'll work ;)

-Dave
Reply #2 Top
I should have mentioned, I tried that. :(
It also seems to ignore the display names for the planets but that can be changed ingame anyway.

Code: xml
  1. <StarSystem Name="Omecron Persei">
  2. <DisplayName>Omecron Persei</DisplayName>
  3. <Texture>gfx/stars/_BlueStar.png</Texture>
  4. <Planet Name="Omecron Persei VIII">
  5. <DisplayName>Omecron Persei VIII</DisplayName>
  6. <Texture>gfx/planets/Toria.png</Texture>
  7. <Class>26</Class>
  8. <PercentOfStarSize>0.60</PercentOfStarSize>
  9. <Rings>gfx/planets/r00.png</Rings>
  10. <InnerRadius>0.2</InnerRadius>
  11. <OuterRadius>15</OuterRadius>
  12. </Planet>
  13. ...
Reply #3 Top
Worst forums ever.

I was trying to show the value under the first
Reply #4 Top
I also tried adding a star of same name to StarTypes.xml (like Sol is listed I think in a mod, High-Resolution Graphics Mod by LogicSequence).

Other changes I have in customplanets.xml worked so I know it's using the file.
Reply #5 Top
I'm afraid the only way to use these 'custom stars' is to define them within a custom map... although, the StarTypes.xml trick does work but it's a random occurance while the galaxy gets created at runtime.
The Dark star of X-Worlds sometimes does show up in some sandbox games but i can put it straight in IF the Home(s) value are detected properly or written in to be given to a specific race setup.
Reply #6 Top


I don't know if it's different for other races but custom races always have yellow homestars. Other than making a custom map is there a way to change that like in customplanets.xml?
End of quote


NO that`s about it. I`ve tried too.

Nasty



Reply #7 Top
"the StarTypes.xml trick does work but it's a random occurance while the galaxy gets created at runtime."

What is the StarTypes.xml trick? I've tried messing with that file some, but never got anything to work, even after a few restarts.
Reply #8 Top
Well, i added "The Dark Star" graphics (distortion halo, blackened texture & UV_slappy boxie) into the corresponding folder in a Mod (..\GFX\Stars) - then, proceeded to edit the actual default StarTypes.xml file by adding the proper values and definition tags (right after "Sol") - gave it the #8 slot for type - lowered the RGB colors to 0.1 - internal named it "Dark" - linked the Texture & Halo lines to the pngs - copied the xml into (..\Data\.in_root.) AND, the result looks like this:



Be patient, since these are always distributed at random (for sandbox mode)... it may take awhile before your get to see yours in action; the bigger maps do actually raise the odds of extra stars being used.