Planetfall OXP
Moderators: winston, another_commander
Have you ever tried to buy stuff from a farmer, compared to a supermarket? Economies of scale old chap, economies of scalepagroove wrote:Some other thing I noticed was that products on the surface are more expensive than on the station.
I bought food at 2.4 credits on the surface and it was 2.0 on the station. Shouldn't this be reversed. If you buy food directly from a farmer it should be cheaper than if it is transported to the station.
As the good commander says, it's not something that's easy to do something about. There are sometimes some good deals to be had on-planet for equipment (and sometimes some bad ones), but commodities is more by luck...
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
I've get the point
A bit random is allright
A bit random is allright
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Is it possible to apply a background image when landed instead of the black background. I remember to that the GRS demo had some background images. In that way I could do background images for the famous planets.
I have Terragen and could render some nice backgrounds then.
Sorry for doing so many suggestions. But this script you made is terrific!
I have Terragen and could render some nice backgrounds then.
Sorry for doing so many suggestions. But this script you made is terrific!
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
I must admit there I have no idea. The trick used is to actually spawn and dock the player with a station when they cross the planet surface event boundary, so they never actually get to the "planet proper". But as you're docked with a specific station, there may be some possibility. I'll have to leave it to people who know the mechanics of the game better to give some input there.pagroove wrote:Is it possible to apply a background image when landed instead of the black background. I remember to that the GRS demo had some background images. In that way I could do background images for the famous planets.
I have Terragen and could render some nice backgrounds then.
No problem at all. Many of the suggestions are being noted and incorporated into plans for a second OXP which will potentially give more specific planetary places to go visit, and may well need a little more skill to reach.pagroove wrote:Sorry for doing so many suggestions. But this script you made is terrific!
My script was just a little utilisation of an event opportunity. Indeed I'm a little surprised it hasn't been thought of before (including by me ).
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
You could quickly check whether function setBackgroundImage(backgroundImage : String) works without showMissionScreen.Thargoid wrote:I must admit there I have no idea. The trick used is to actually spawn and dock the player with a station when they cross the planet surface event boundary, so they never actually get to the "planet proper". But as you're docked with a specific station, there may be some possibility. I'll have to leave it to people who know the mechanics of the game better to give some input there.pagroove wrote:Is it possible to apply a background image when landed instead of the black background. I remember to that the GRS demo had some background images. In that way I could do background images for the famous planets.
I have Terragen and could render some nice backgrounds then.
I seem to recall that in poorly legacy-scripted mission screens that background image could stick even after you left the mission screen, which indicates that background images do not need a mission screen all time. So if JS doesn't do it, a legacy script could do the trick. The background image would then be visible on all screens while docked on the surface. I think it should be worth some trials.
Good stuff Thargoid - it's just the kind of simple yet effective scripting trick that makes Oolite so fun to work with. It opens up some good possibilities for mission writing as well.
Download Resistance Commander plus many other exciting OXPs HERE
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Yes, Commander McLane thats exactly the effect I had in for example the GRS Demo. It had a nice background. It could be nice to have a sort of background to show that you are on the surface.Commander McLane wrote:You could quickly check whether function setBackgroundImage(backgroundImage : String) works without showMissionScreen.Thargoid wrote:I must admit there I have no idea. The trick used is to actually spawn and dock the player with a station when they cross the planet surface event boundary, so they never actually get to the "planet proper". But as you're docked with a specific station, there may be some possibility. I'll have to leave it to people who know the mechanics of the game better to give some input there.pagroove wrote:Is it possible to apply a background image when landed instead of the black background. I remember to that the GRS demo had some background images. In that way I could do background images for the famous planets.
I have Terragen and could render some nice backgrounds then.
I seem to recall that in poorly legacy-scripted mission screens that background image could stick even after you left the mission screen, which indicates that background images do not need a mission screen all time. So if JS doesn't do it, a legacy script could do the trick. The background image would then be visible on all screens while docked on the surface. I think it should be worth some trials.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
It doesn't work under Javascript, the image only shows up when you set the showMissionScreen (and disappears again when you leave it).Commander McLane wrote:You could quickly check whether function setBackgroundImage(backgroundImage : String) works without showMissionScreen.
I seem to recall that in poorly legacy-scripted mission screens that background image could stick even after you left the mission screen, which indicates that background images do not need a mission screen all time. So if JS doesn't do it, a legacy script could do the trick. The background image would then be visible on all screens while docked on the surface. I think it should be worth some trials.
I'll give a legacy script a try, but I'm a bit loathed to start mixing up too many scripts and making things too complex.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
All legacy components to set up a mission screen have a equivalent JS version. Until 1.71 you had to do build up the screen yourself in JS. But it didn't take long before all 3 "pioneers" in Oolite-JS (Kaks, Svengali and myself) build a JS function to do the job for you. For 1.71 this JS function was build into Oolite. But you still can call the underlying methods like: mission.setBackgroundImage('myScreen.png')Thargoid wrote:It doesn't work under Javascript, the image only shows up when you set the showMissionScreen (and disappears again when you leave it).
I just don't know if you can add a picture on a normal screen with it. Like McLane said: In the past the picture could stay stuck as background. I remember the trumble offer screen being there for forever on the normal F5 screen when you launched from within the mission screen. But, actually this was a bug and could have been fixed by now.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
That's what I tried. The image doesn't appear until you invoke the actual mission screen (where it appears as the background as expected), and it goes again when you close the mission screen and go back to the main ones.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Looks like a bug that we actually did not want to be solved
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- Dr Beeb
- Dangerous
- Posts: 127
- Joined: Sun Mar 23, 2008 10:28 pm
- Location: Mt. Vista, Oosa, Biarge System, Galaxy 1
this is very cute - although I admit I did tip-toe towards the planet surface wondering what I was supposed to be looking for - and then some very nice-coloured docking rings I dont know how others want to progress this but how about a site - a derelict Krait ? - with a short-range beacon next to it that can be found on the advanced space compass, then we have an easter-egg hunt sort of OXP ?
White dots were so much easier to hit
There are plans afoot, some experimentation is due in the next couple of weeks about adding planetary locations. The odd city or shipyward or major agricultural superfarm etc (depending on planet type and tech level).
The Krait idea would suffer from the same issue as Eric's thoughts on a landing strip, in scale terms if you could see it on the planet, it would be hoooooooooooooooooooooooooge!
The Krait idea would suffer from the same issue as Eric's thoughts on a landing strip, in scale terms if you could see it on the planet, it would be hoooooooooooooooooooooooooge!
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
I disagree. A landing strip can me made quite small at a realistic size.Thargoid wrote:.... would suffer from the same issue as Eric's thoughts on a landing strip, in scale terms if you could see it on the planet, it would be hoooooooooooooooooooooooooge!
Just to show a landing strip can be made and need not to be huge I added it to thargoid's planetfall.oxp.
- Below every mainstation it adds a landingstrip. Just launch and head towards the surface (don't hit the buoy please!).
- Halfway the surface your radar will pick up the tower near the strip.
- The strip itself will be hidden by clouds. At a height of a few hundreds meter you will break through the clouds and see the tower with strip.
- Landing speed must be below 30% of maximum speed and landing angle should be less than 45 degree.
- I didn't add a distance check so you still can ignore the strip and land everywhere. Just watch your speed and angle.
Planetfall.oxp with landingstrip
EDIT:
I forgot. My added code only works with 1.72. (It could even can crash 1.71)
Last edited by Eric Walch on Wed Dec 24, 2008 11:34 am, edited 2 times in total.
UPS-Courier & DeepSpacePirates & others at the box and some older versions