Save Anywhere & Planetfall don't work together

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

Moderators: winston, another_commander

Post Reply
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

Save Anywhere & Planetfall don't work together

Post by Lestradae »

Hey,

Just tried it out, I could save my game with Save Anywhere when in a planetfall station, but when trying to reload the savegame, I came out in a somewhat reduced station (the name was shorter, for example) and when I tried to launch, I was launched into the planet's surface.

I just attempted this for fun, the main station isn't that far away anyways, but considering that Frame's future Solar Systems oxp might have more uses for Save Anywhere, that's perhaps relevant information.

Cheers

L
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

I had a feeling that may be the case, due to how PlanetFall uses its stations (they're only temporary, and their name gets adjusted on docking to add the system's name to it). I already mentioned this to Frame and asked him if for the next version of Save Anywhere he could exclude the PlanetFall stations from ones that SA worked with.

But thanks for the confirmation anyway :)

Editted to add - having given it some thought, it should be fixable. Save Anywhere will just need to ensure that for when the game is reloaded the PlanetFall temporary station is spawned with the correct role. Then the PF script should detect it and perform the necessary actions on launch (moving and re-orienting the players ship to avoid the crash into the planet surface).
User avatar
Frame
---- E L I T E ----
---- E L I T E ----
Posts: 1477
Joined: Fri Mar 30, 2007 8:32 am
Location: Witchspace

Re: Save Anywhere & Planetfall don't work together

Post by Frame »

Lestradae wrote:
I was launched into the planet's surface.
Uhm nice... a new way of executing the player....

mission screen:you have been condemned to death by Collision... :lol:

Anyway, next version of save anywhere will be taking this into account... but it will be totally rewritten to move the station to the player and not vice versa... of course docking at the main station, will still include player movement....
Bounty Scanner
Number 935
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Save Anywhere & Planetfall don't work together

Post by Thargoid »

Frame wrote:
Uhm nice... a new way of executing the player....
:lol: :lol: :lol:
Precisely why I put the launch boost into PF, as just setting the player loose without re-orienting and moving them was rather risky to their health and ongoing existence. ;)
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

I think I've now got PlanetFall ready to work with Save Anywhere (if the player has the equipment "EQ_FRAME_SAVE" then the player isn't moved after PF launch and the station isn't nuked).

Unfortunately I can't get Save Anywhere itself to work (v0.2) with my WinXP Oolite v1.72.1 (having added a couple of []'s to the script to get rid of the JS console warnings). Every time I try to use it I end up in front of the main station and rather dead.

Is v0.2 supposed to work with Oolite 1.72.1, or have I to wait for v0.3?
User avatar
Frame
---- E L I T E ----
---- E L I T E ----
Posts: 1477
Joined: Fri Mar 30, 2007 8:32 am
Location: Witchspace

Post by Frame »

Thargoid wrote:
I think I've now got PlanetFall ready to work with Save Anywhere (if the player has the equipment "EQ_FRAME_SAVE" then the player isn't moved after PF launch and the station isn't nuked).

Unfortunately I can't get Save Anywhere itself to work (v0.2) with my WinXP Oolite v1.72.1 (having added a couple of []'s to the script to get rid of the JS console warnings). Every time I try to use it I end up in front of the main station and rather dead.

Is v0.2 supposed to work with Oolite 1.72.1, or have I to wait for v0.3?
I haven't begun rewriting save anywhere for 1.72.1 yet... due to the fact im working on the solar oxp... and save anywhere oxp is going to be rewritten again for solar oxp... which is why i'm not rewriting it yet.

EDIT: forgot

Erich Walch submitted this bug recently

http://developer.berlios.de/bugs/?func= ... up_id=3577

So there is a bug that needs fixing in 1.72 anyway, since it is still open, i doubt it has been fixed for 1.72.1
Bounty Scanner
Number 935
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

I saw that error one in my logs, but the launch itself seemed to work fine (including event triggers, as the ones in Planetfall are what I need to disable for an SA launch to get the two compatible).

Anyway I'll leave it in that if the player ship has the "EQ_FRAME_SAVE" equipment present then the PF launch scripts don't act on it (move the ship and remove the temporary station) and you can then catch-up with your SA code once you've finished solar system and hopefully our two oxps will play nicely together...
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 »

Thargoid wrote:
... hopefully our two oxps will play nicely together...
They really should, I mean, Frame's option of a whole solar system should by all means be combined with the option of planetfall, shouldn't it? :wink:

I guess you two would have to iron out some things though, as in that it doesn't make a lot of sense to land on a gas planet or brown dwarf object the same way you do on an earthlike or plutoid body ...

Just my 0.2 Cr

L
Post Reply