Deep Horizon - Systems (Thread Renamed)

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
Cmd. Cheyd
---- E L I T E ----
---- E L I T E ----
Posts: 934
Joined: Tue Dec 16, 2008 2:52 pm
Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...

Post 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.
User avatar
Cmd. Cheyd
---- E L I T E ----
---- E L I T E ----
Posts: 934
Joined: Tue Dec 16, 2008 2:52 pm
Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...

Post 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';
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post 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
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post 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
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post 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
User avatar
Cmd. Cheyd
---- E L I T E ----
---- E L I T E ----
Posts: 934
Joined: Tue Dec 16, 2008 2:52 pm
Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...

Post by Cmd. Cheyd »

Just to keep folks interested...
The Laeninian Alignment...
Image
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Post 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 :)
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
Cmd. Cheyd
---- E L I T E ----
---- E L I T E ----
Posts: 934
Joined: Tue Dec 16, 2008 2:52 pm
Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...

Post 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.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Post by Cody »

That's a great pic, Cmd. Cheyd.
Certainly whets the appetite.

It's amazing what random can do.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Cmd. Cheyd
---- E L I T E ----
---- E L I T E ----
Posts: 934
Joined: Tue Dec 16, 2008 2:52 pm
Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...

Post by Cmd. Cheyd »

Introducing Moon #5
I know the dent looks big, but I promise, the engine runs great. :P

Image
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Post by pagroove »

Fantastic work 8)
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post 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)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Ace Garp
Dangerous
Dangerous
Posts: 86
Joined: Sun Mar 02, 2008 7:15 am
Location: Lancashire, UK
Contact:

Post 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:
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

I only thought it (Oh come on we all did), but it took a brave man to actually admit it!
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Post 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
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Post Reply