Question on generation of suns
-
- Merchant
- Posts: 32
- Joined: Tue Dec 04, 2012 7:52 pm
Question on generation of suns
Hi everybody.
I just noticed that the suns that are generated by the system files are not static. That means every time I start the game (PGG) the look of the sun of a specific system might vary from flare1.png to flare6.png.
Can the look of the sun be defined somehow in the system file? IMO this would add to the immersion factor since you really could recognize a system just by the look (and colour) of the star. That's not possible atm...
I just noticed that the suns that are generated by the system files are not static. That means every time I start the game (PGG) the look of the sun of a specific system might vary from flare1.png to flare6.png.
Can the look of the sun be defined somehow in the system file? IMO this would add to the immersion factor since you really could recognize a system just by the look (and colour) of the star. That's not possible atm...
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
Re: Question on generation of suns
The system generation only happens when you load a new game not from saved games but since the whole WC universe is quite set only a few systems are actually generated randomly,not any of the systems where the story happens.
Enjoy the Choice
Enjoy the Choice
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Question on generation of suns
He means the sun flare, the texture is indeed random I think.
I've been thinking about improving how those flares work too, although I haven't thought of it in quite this POV. I guess I should.
I guess the flare texture could be specified on the XML, that would be easy to code.
I've been thinking about improving how those flares work too, although I haven't thought of it in quite this POV. I guess I should.
I guess the flare texture could be specified on the XML, that would be easy to code.
-
- Merchant
- Posts: 32
- Joined: Tue Dec 04, 2012 7:52 pm
Re: Question on generation of suns
Yes, that would be cool and would allow to create really unique systems. If this could be implemented somehow, maybe also the size of the flare should be adjustable, or it should be calculated from the radius of the sun given in the system file...
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Question on generation of suns
It is calculated like thatAndy wrote:Yes, that would be cool and would allow to create really unique systems. If this could be implemented somehow, maybe also the size of the flare should be adjustable, or it should be calculated from the radius of the sun given in the system file...
-
- Merchant
- Posts: 32
- Joined: Tue Dec 04, 2012 7:52 pm
Re: Question on generation of suns
...great minds...
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Question on generation of suns
Please, create a feature request tracker item to remind me of this (adding the xml option), if it's only on the forums it's quite certain I'll forget.
-
- Merchant
- Posts: 32
- Joined: Tue Dec 04, 2012 7:52 pm
Re: Question on generation of suns
Better idea: tell me what the relevant files are and I could have a try by myself. I also would need an example like for the planet texture for instance...
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Question on generation of suns
src/starsystem_xml.cpp I think
-
- Merchant
- Posts: 32
- Joined: Tue Dec 04, 2012 7:52 pm
Re: Question on generation of suns
Oh, sorry, I can't be of help with original code programming... I thought it is somewhere in the .py files...src/starsystem_xml.cpp I think
-
- Merchant
- Posts: 32
- Joined: Tue Dec 04, 2012 7:52 pm
Re: Question on generation of suns
klauss wrote:Please, create a feature request tracker item to remind me of this (adding the xml option), if it's only on the forums it's quite certain I'll forget.
How can I do that?
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Question on generation of suns
Just go here and hit "Add new". Describe it, and that's it.