Well I'ts not very realistic but it would give some meaning to locations 'in the field'. For now the planetary option and the repairs are a bit expensive in comparison with the benefits from it. But I agree. There are some good mission writers out here who could generate some great missions.
The "in the field" locations were designed to be "useless". They don't appear that often (it's only 2% chance iirc for the built-in ones) and are just there to provide a little variety. It's to keep the realism, that it's not always going to be possible to trade or equip everywhere you land.
The whole idea of planetfall was to make the planets something a little more than just something to remember not to crash into. All of the built-in locations have their own commodities.plist, so you can get (sometimes) better deals on stuff there than at the main station, and equally some locations have better tech level than their systems.
Plus as you say it's written to be expandable, so OXP mission writers can use it as a base location for offering or staging missions.
Eric Walch wrote:
The JS command runMissionScreen does try to clear the image immediately after showing. Maybe it does not clear memory when an image is at display.
Anyhow, in the past it was always necessary to clean the screen first before showing a mission screen. runMissionScreen does that by itself by passing a null picture when none is defined. In legacy the script must always do that itself.
Thanks for the info. I put a little catch-code into the taxi mission to ensure that if the scripted launch/mission background image bug is triggered then the script resets the background to null. I might add that code into the main script too at the next revision. But at the moment it's called via the runMissionScreen command, so should work as you describe anyway.
Small update to the script, now at version 1.1.2. Two reasons:
Bugfix to stop the planet scanning in interstellar space. With thanks to Eric for the catch.
Little addition to the code, with a new variable worldScripts.PlanetFall.planetFallOverride, which if set to true will only allow external OXP locations, removing all the others.
The new variable is designed so that PlanetFall can be an effective host for locations for other OXPs and missions without the default locations getting in the way. Just don't forget to reset it to false once you're done with it please OXP and mission writers!
Alternatively for those with 1.1x, you can just patch it with this script file (use it to replace the existing one in the config folder of the 1.1x OXP).
Oh and the link in the wiki will of course now not work for downloading, as it's read-only at the moment and I can't change it.[/color]
Last edited by Thargoid on Sun Feb 08, 2009 3:07 pm, edited 1 time in total.
I did not progress on making more locations a.t.m. but I will. I did however made a nice Zadies texture for the next FP pack. Locations pack will be seperate.
Planetfall is great! I'm running Oolite 1.72.2 and the latest Planetfall oxp. As I understand the oxp, the Taxi mission allows for a local taxi-ride to a local body based on what is in a given planetary system. I am not running the System Redux oxp, however I've docked at the station orbiting Learorce in Galaxy One. I accepted a Taxi fare to travel to Learorce Minor. There is no Learorce Minor- or could the script be interpreting another oxp's station as the Minor locale?
Bug?
Dunno.
Can't really take the fare anywhere, or am I just daft - yeah, likely the latter, but... .
Will provide list of oxps if needed.
As for the user name...
It is what happens when Thargoids become identity thieves and having ravaged an account to fund their war-efforts, leave your empty coffers and account profiles with re-engineered and totally Thargodized (a new verb?) name.
It should only offer trips to "Minor" and "Moon of" locations if they exist in the system as you say (it scans for planets, so OXP stations aren't included). So either you have something else that's adding those (system redux isn't the only one that does), or there is a glitch yes.
But if you want to ditch the mission just go to another system and dock somewhere. Your rather indignant passenger will get off the ship.
Anyway I'll have a look over the taxi mission script as it may be that it needs a little refining somewhere.
It offers a similar escort mission to that in Oo-Haul, but going the other way - from planet to witchpoint (or constore with YAH installed). Full details are in the Oo-Haul thread linked above, to save me writing everything twice
The link on the wiki is broken and links to the older version. I wanted to edit it, but got this error message: You need to be logged in to edit pages.
So I tried to create an account and:
You are not allowed to create an account
To be allowed to create accounts in this Wiki you have to log in and have the appropriate permissions.
Return to Main Page.
The wiki is read only at the moment, as it's having hardware problems with its server (there's a thread about it here). Hence I can't update the link there to point to the correct place. Or to be fully exact the hardware problems were briefly fixed and I did update it, but then they recurred and Winston had to put everything back on his own back-up server under read-only again and with the old version).
The current location of all my OXPs is on box.net, via the link in my sig below. Once the wiki gets sorted out (again) I'll update my links page accordingly (again). But thanks for the consideration to post it anyway.
Great job Thargoid.
Sorry about my absence . It seems that this RL disease is contagious and since lately I was in a very close proximity with Doc Nil …….
I think I've discovered a nasty typo in script.js. You forgot to put {} in line 126 and 251.
No, it is correct. Without {} after the else only one statement after else is executed. In this case the if statement in line 127. But that single if statement itself runs until line 251.
Thanks for pointing it out though. As Eric says it does actually work as it is, although in terms of programming style it's inconsistent so not a good code example.
That said the script there is basically a multi-nested set of if...then...else statements anyway, so isn't the nicest example to read through.
I'll add the brackets in next time I need to update things, but in itself I don't think is a necessary update on its own.