Question on generation of suns

Forum for discussing various mods for the VS-engine based upon Privateer. (Please play nice now, and extinguish all flaming materials.
Sincerely, The Management)

Question on generation of suns

Postby Andy » Tue Feb 05, 2013 5:37 pm

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...
Andy
Merchant
Merchant
 
Posts: 32
Topics: 7
Joined: Tue Dec 04, 2012 12:52 pm

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Re: Question on generation of suns

Postby loki1950 » Tue Feb 05, 2013 6:56 pm

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 :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 18/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 DELL E6400 4GB ram/100 GB HD Mint 17.3 6
User avatar
loki1950
The Shepherd
 
Posts: 5706
Topics: 51
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa

Re: Question on generation of suns

Postby klauss » Wed Feb 06, 2013 10:10 am

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.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: Question on generation of suns

Postby Andy » Wed Feb 06, 2013 11:18 am

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...
Andy
Merchant
Merchant
 
Posts: 32
Topics: 7
Joined: Tue Dec 04, 2012 12:52 pm

Re: Question on generation of suns

Postby klauss » Wed Feb 06, 2013 11:53 am

Andy 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...


It is calculated like that
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: Question on generation of suns

Postby Andy » Wed Feb 06, 2013 12:12 pm

...great minds... ;)
Andy
Merchant
Merchant
 
Posts: 32
Topics: 7
Joined: Tue Dec 04, 2012 12:52 pm

Re: Question on generation of suns

Postby klauss » Wed Feb 06, 2013 12:31 pm

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.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: Question on generation of suns

Postby Andy » Wed Feb 06, 2013 12:57 pm

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...
Andy
Merchant
Merchant
 
Posts: 32
Topics: 7
Joined: Tue Dec 04, 2012 12:52 pm

Re: Question on generation of suns

Postby klauss » Wed Feb 06, 2013 1:33 pm

src/starsystem_xml.cpp I think
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: Question on generation of suns

Postby Andy » Wed Feb 06, 2013 1:43 pm

src/starsystem_xml.cpp I think


Oh, sorry, I can't be of help with original code programming... I thought it is somewhere in the .py files...
Andy
Merchant
Merchant
 
Posts: 32
Topics: 7
Joined: Tue Dec 04, 2012 12:52 pm

Re: Question on generation of suns

Postby Andy » Wed Feb 06, 2013 3:31 pm

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?
Andy
Merchant
Merchant
 
Posts: 32
Topics: 7
Joined: Tue Dec 04, 2012 12:52 pm

Re: Question on generation of suns

Postby klauss » Wed Feb 06, 2013 3:43 pm

Just go here and hit "Add new". Describe it, and that's it.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina



Return to Privateer Universe

Who is online

Users browsing this forum: No registered users and 1 guest