Page 6 of 7

Posted: Wed Nov 04, 2009 5:55 pm
by Cmd. Cheyd
L-
As your log states - that's "System Redux 1.1 beta". Not this project, nor any of my code. You'd need to speak with CaptKev or Kaks.

My script is already compatible with 1.73.4 and the eventual 1.74 (as best as my crystal ball allows me to predict such).

Edit-
Yes, the project is still going. My latest texture was finished this past weekend. And the texture before that was posted just last week. Still have a long ways to go though. When my next texture is finished, or gets close enough I don't mind it being publically seen, I'll post another screenshot. It's proving to be a much harder one to translate from my brain into Photoshop though.

Also, I'm working currently at breaking my pseudo-random number generator out of the main SR2 script and putting it into a "utility" script so I (or anyone else) can leverage that or any other functions it contains. I think I have it successfully done. Just looking for bugs now.

Posted: Wed Nov 04, 2009 6:06 pm
by Cmd. Cheyd
A quick peek at that code...

Replace line 101 with the following two, and I think you'll be good... If one of the more skilled coders here could verify, I would appreciate it.

Code: Select all

		if (0 < oolite.compareVersion("1.74")) system.mainPlanet.setTexture('home_planet' + (((system_info[galaxyNumber * 256 + system.ID] & 0xF000) >> 12) + 1) + '.png');
		else system.mainPlanet.texture = 'home_planet' + (((system_info[galaxyNumber * 256 + system.ID] & 0xF000) >> 12) + 1) + '.png';

..

Posted: Wed Nov 04, 2009 6:08 pm
by Lestradae
Very good to hear - and as said, looking forwards to this becoming a reality.

The screenshots you posted look very promising & teasing already :D

Cheers

L

Posted: Wed Nov 04, 2009 6:19 pm
by Kaks
Edit:
What Commander Cheyd wrote is perfect if you want to be fully compatible with both 1.73.x & 1.74 & get no warning in either.

To just avoid the deprecation warning in trunk you all you'd need is to change

Code: Select all

system.mainPlanet.setTexture('home_planet' + (((system_info[galaxyNumber * 256 + system.ID] & 0xF000) >> 12) + 1) + '.png');
to

Code: Select all

system.mainPlanet.texture='home_planet' + (((system_info[galaxyNumber * 256 + system.ID] & 0xF000) >> 12) + 1) + '.png';
as per the Progress thread, a few weeks back.

However, doing this will make the code incompatible with 1.73.x

..

Posted: Wed Nov 04, 2009 7:42 pm
by Lestradae
Thanks, Kaks.
However, doing this will make the code incompatible with 1.73.x
I don't actually care, as I do this for the Oolite Extended Project and here I try to be realistic and say I develop it for 1.74 Oolite already, as OE simply won't be done before that one's release!

Cheers :D

L

Posted: Tue Nov 10, 2009 7:36 pm
by Cmd. Cheyd
Just to keep folks interested...
The Laeninian Alignment...
Image

Posted: Tue Nov 10, 2009 8:41 pm
by pagroove
Very nice. Where is Laeninan. It's not the same as the FP2.0. system I assume?

BTW I still have to look at the script you sent me :oops:
But I added new planets since the first time I sent you the script. Those are probably not in your 'updated script'.

But I promise I take a look at it VERY soon :)

Posted: Tue Nov 10, 2009 9:54 pm
by Cmd. Cheyd
It's Laenin from G1. I don't have FP installed on my USB stick that I develop on. I had 20 minutes to kill the other night (not enough to do texture work for me) so I decided to play an "Ironman" character that I've been slowly building. Well, he jumped into Laenin and all the randomness just happened to put the main planet, the main planet's moon, and an extra planet all in alignment with my in-jump point. Literally, that shot is seconds after exiting witchspace.

As for your script, if you add the additional planets into the array that was originally set up, my script addtion will pick up the changes as I recycle the array for my stuff.

Posted: Tue Nov 10, 2009 11:25 pm
by Cody
That's a great pic, Cmd. Cheyd.
Certainly whets the appetite.

It's amazing what random can do.

Posted: Thu Nov 12, 2009 8:34 pm
by Cmd. Cheyd
Introducing Moon #5
I know the dent looks big, but I promise, the engine runs great. :P

Image

Posted: Thu Nov 12, 2009 8:38 pm
by pagroove
Fantastic work 8)

Posted: Fri Nov 13, 2009 12:05 am
by DaddyHoggy
Cmd. Cheyd wrote:
Introducing Moon #5
I know the dent looks big, but I promise, the engine runs great. :P

Image
Fabberooney!! (oh dear - too much Tweeneies with the little one)

Posted: Fri Nov 13, 2009 12:35 am
by Ace Garp
Cmd. Cheyd wrote:
Introducing Moon #5
I know the dent looks big, but I promise, the engine runs great. :P

Image
Image

"That's no moon!"


sorry :oops:

Posted: Fri Nov 13, 2009 12:49 am
by DaddyHoggy
I only thought it (Oh come on we all did), but it took a brave man to actually admit it!

Posted: Fri Nov 13, 2009 1:03 am
by Cody
Hi Cmd. Cheyd

If you need an idea for a moon, how about something like this:

http://antwrp.gsfc.nasa.gov/apod/ap090809.html