How to install "clear Skies"?

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

Moderators: winston, another_commander

User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: How to install "clear Skies"?

Post by Gimi »

Capt. Murphy wrote:
Maybe we need a overide_universal flag for such projects so OXPs that want to change these settings for individual systems are not overwritten by OXP's that include universal settings in the planetinfo. It would also be nice if the log file reported if there are multiple OXP's with universal settings and report which one 'won'.
My understanding was that, this is exactly how the universal setting works. I haven't tested that part though. Wildblood's Sensible SUN uses the universal setting, and in his read me he states that the OXP will be overridden by any OXP that specifically addresses a system. Can anyone confirm my understanding.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2458
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: How to install "clear Skies"?

Post by Wildeblood »

Gimi wrote:
Capt. Murphy wrote:
Maybe we need a overide_universal flag for such projects so OXPs that want to change these settings for individual systems are not overwritten by OXP's that include universal settings in the planetinfo. It would also be nice if the log file reported if there are multiple OXP's with universal settings and report which one 'won'.
My understanding was that, this is exactly how the universal setting works. I haven't tested that part though. Wildeblood's Sensible SUN uses the universal setting, and in his read me he states that the OXP will be overridden by any OXP that specifically addresses a system. Can anyone confirm my understanding.
Correct. I created Sensible Sun shortly after the episode I described above. I prefer smaller than default suns, but on that occasion I wanted one, and only one, system to have a larger than normal sun. I was frustrated by Farsun (which uses javascript, not planetinfo settings) moving my star further away, after I had specifically defined it to be closer.

If the player, or OXPs like Sensible Sun, Lights Down or Clear Skies, alter the universal defaults in planetinfo, they don't interfere with OXPs like "Tianve" that re-style one specific system. There's no need to maintain a list of exceptions or over-rides as there is with the javascript OXPs like Farsun, System Redux etc.
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: How to install "clear Skies"?

Post by Gimi »

Thanks Wildblood, good to know.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
Cmdr. Maegil
Sword-toting nut-job
Sword-toting nut-job
Posts: 1294
Joined: Tue Feb 27, 2007 10:28 pm
Location: On the mend in Western Africa

Re: How to install "clear Skies"?

Post by Cmdr. Maegil »

The reason I don't use anything that changes the space globally is precisely because of these incompatibilities - not only among themselves but also (at least previously) with some missions.
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: How to install "clear Skies"?

Post by DaddyHoggy »

Gimi wrote:
I have put together a replacement for this written in openstep rather than XML. It' an easy little script for a beginner, like me, to start with, and it should be easy for the player to adjust values to his or her liking. I will publish later today or tomorrow under the name Darkspace.oxp. Just need to write the read-me and pack it up. Murgh will be duly credited as the origin of the idea.
Don't forget to include a license... :roll: :wink:
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: How to install "clear Skies"?

Post by Gimi »

Cmdr. Maegil wrote:
The reason I don't use anything that changes the space globally is precisely because of these incompatibilities - not only among themselves but also (at least previously) with some missions.
If I understand Wildblood and the "universal" setting correct, it will be overwritten by any OXP targeting that specific setting. Thus, incompatibility should only occur when another OXP uses "universal" with the same settings. So for something like clearskies.oxp or darkspace.oxp it's perfect.

From the Wiki
Universal settings

Some options can be applied to the entire universe, such as ambient lighting levels, eg.

<key>universal</key>
<dict>
...
</dict>

Universal options can be overriden by specifying the same option for a specific system or location in interstellar space. Obviously, not all options make sense to apply to the whole universe.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
Okti
---- E L I T E ----
---- E L I T E ----
Posts: 700
Joined: Sun Sep 26, 2010 1:51 pm
Location: A GH shop, near witchpoint to Oresrati in Galaxy 8

Re: How to install "clear Skies"?

Post by Okti »

Gimi wrote:
Cmdr. Maegil wrote:
The reason I don't use anything that changes the space globally is precisely because of these incompatibilities - not only among themselves but also (at least previously) with some missions.
If I understand Wildblood and the "universal" setting correct, it will be overwritten by any OXP targeting that specific setting. Thus, incompatibility should only occur when another OXP uses "universal" with the same settings. So for something like clearskies.oxp or darkspace.oxp it's perfect.

From the Wiki
Universal settings

Some options can be applied to the entire universe, such as ambient lighting levels, eg.

<key>universal</key>
<dict>
...
</dict>

Universal options can be overriden by specifying the same option for a specific system or location in interstellar space. Obviously, not all options make sense to apply to the whole universe.
The main problem is, oxp's can not change the data at planetinfo easily. It is much better to do them by script and providing a way for special systems to be excluded is a better idea. The reason I posted that is currently as a team we are working on an OXP which will have specific behaviors for a certain system. And if we can not find a OXP way of overriding that behaviour we will end up writing this mission OXP is not compatible with such and such OXP, and I think it is not fare to tell the player they can not have their favorite OXP's to play the mission.
My OXP's
And Latest Mission Coyote's Run
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

Re: How to install "clear Skies"?

Post by Kaks »

What about if you set the system info via js while exiting witchspace? That should override all plists.
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Post Reply