Split: Re-scaling experiment
Moderators: winston, another_commander
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4888
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Split: Re-scaling experiment
Redspear, you mention commenting out the “sun radius” bits of planetinfo.plist. Was the intention to change these to a different number (I.e multiplying then by 3), or just leaving them commented out?
- Redspear
- ---- E L I T E ----
- Posts: 2731
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance, looking through a telescope with the lens cap on
Re: Split: Re-scaling experiment
Hi phkb, I think I've owed you an update on this got quite a while. My apologies. I'll need to look at it again to be sure but IIRC...
Earlier iterations made the planets larger and then the suns scales accordingly. More recent ones also increased sun size directly (in the source code) , making them much bigger but not cooperating with the set values of planetinfo.plist. I effectively sacrificed their proportional variability relative to their planets on order to make them much, much bigger.
Incidentally, do you know the thinking re moving away from the seeded procedural system for the planets and moving to a text based one? It seems that the details stayed the same so presumably it was for some benefit moving forward?
Earlier iterations made the planets larger and then the suns scales accordingly. More recent ones also increased sun size directly (in the source code) , making them much bigger but not cooperating with the set values of planetinfo.plist. I effectively sacrificed their proportional variability relative to their planets on order to make them much, much bigger.
Incidentally, do you know the thinking re moving away from the seeded procedural system for the planets and moving to a text based one? It seems that the details stayed the same so presumably it was for some benefit moving forward?
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4888
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Split: Re-scaling experiment
I think the reason was that, by having all the text/config for a system laid out in a file, it is much easier to search/debug/mod. And it allows for the possibility of access to one galaxies data from another. Not totally sure, though, as it was before my time on the dev team.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4888
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Split: Re-scaling experiment
Just to confirm: you're code tweaks on page 44 of this thread don't make any changes to OOSunEntity.m or OOSunEntity.h. Is the sun size purely related to the planet size?
- Redspear
- ---- E L I T E ----
- Posts: 2731
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance, looking through a telescope with the lens cap on
Re: Split: Re-scaling experiment
Yeah, I recalled that after I'd written my first reply...
I've done quite a bit of work since and perhaps the biggest change was to make the sun bigger independently from the planet and then to make the planet bigger too (which would further increase the sun size). I'm pretty sure that I did make a change to one of those files in order to achieve it.
I found that made a very satisfying difference to planetary approach in particular as I think some of my screenshots demonstrated. Make it too big and the game can struggle to create a system or outright crash so the whole thing was a balancing act.
I should have some time on my hands next month, after precious little over the last year, so I'll gather my latest code changes together and see where I got up to. Some of the later ideas around gas giants and so on hadn't been implemented and were starting into oxp territory but I think they were relevant. I mean, this all started as an experiment so why not?