[UPDATED RELEASE] - Escort Contracts OXP - 1.5.6 (07/05/12)
Moderators: winston, another_commander
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.4.2 (20/11/
Well this looks a great mod Captain Murphy. I'm just discovering the joys of Oolite as a new user, but when I follow the download link for the escort contracts OXP, it shows as a size of 27k, and the zip file only contains the readme. Is the zip or the link broken?
Cheers
Roke
Cheers
Roke
- Capt. Murphy
- Commodore
- Posts: 1127
- Joined: Fri Feb 25, 2011 8:46 am
- Location: UK South Coast.
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.4.2 (20/11/
I've just downloaded from http://www.box.com/s/fqux5e4dpq3s5asp3euq and it's all there as it should be. The zip should have the readme and another folder named
Escort_Contracts_1.4.2_2011-11-20.oxp
, which is the one that needs to be copy/pasted into your AddOns folder. Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.4.2 (20/11/
Hmm, bizarre. I download the zip just fine, but don't see the folder you refer to, only the readme. I take it that the 27k size is correct then?
Perhaps I'll try a different zip program...
Perhaps I'll try a different zip program...
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.4.2 (20/11/
The readme.rtf is 29k in size. When compressed it would just be 8k in size, so your unzipper seems to loose a file. Never heard of it. It could be the name of the oxp (Roke wrote:Hmm, bizarre. I download the zip just fine, but don't see the folder you refer to, only the readme. I take it that the 27k size is correct then?
Perhaps I'll try a different zip program...
Escort_Contracts_1.4.2_2011-11-20.oxp
) that is full of '-' and '.' symbols that are illegal as filename in some os systems.UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.4.2 (20/11/
Great!!!Capt. Murphy wrote:Without testing it looks fairly straight-forward to include a check formissionVariables.framesave === "MoveToOxpStation"
, or for the presence of "EQ_FRAME_SAVE" in the players equipment both of which appear to be true just prior to Save Anywhere's scripted docking with the mainStation, and then suppress Escort Contract's mission screens if it is set to that value.
But...
I'm led to think (without having actually looked... ) thatCapt. Murphy wrote:... a check for ... the presence of "EQ_FRAME_SAVE" in the players equipment ... which appear to be true just prior to Save Anywhere's scripted docking with the mainStation ...
[color=#0000FF]"EQ_FRAME_SAVE[/color]
" merely relates to the OPTION of saving being offered to the player, which is presented just like one more item in the purchasable equipment list (and NOT to an actual save operation which might be taking place). So if I'm right on this, it would mean only that the player has SA installed and is selecting equipment to purchase, but NOT that he would have already triggered a save.Just my 2 centavos worth...
Cheers
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.4.2 (20/11/
I used a different unzip program and it worked fine. Thanks for checking it out!
- Capt. Murphy
- Commodore
- Posts: 1127
- Joined: Fri Feb 25, 2011 8:46 am
- Location: UK South Coast.
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.4.2 (20/11/
Not quite, the act of 'purchasing' the free the equipment item starts the voodoo so at the point the player is docked to the main station and other OXP's mission screens can kick in a check to see if the player has it installed should be a valid way to check if it's a Save Anywhere scripted docking event.sdrubble wrote:I'm led to think (without having actually looked... ) that[color=#0000FF]"EQ_FRAME_SAVE[/color]
" merely relates to the OPTION of saving being offered to the player,
I've also suggested a small code tweak to Frame that should allow other mission OXP's to easily disable Save Anywhere on a temporary basis.
Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
- CommonSenseOTB
- ---- E L I T E ----
- Posts: 1397
- Joined: Wed May 04, 2011 10:42 am
- Location: Saskatchewan, Canada
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.4.2 (20/11/
This all sounds familiar. On the first version of the snipercamersystem, before I realized the synchronization of huds to custom views was still getting out of sync, I was using this piece of code to prevent SaveAnywhere from unsynchronizing things:
Good luck and thanx to Capt. Murphy and Frame for any efforts to find a good comprehensive solution to this problem.
Code: Select all
if((missionVariables.framesave !== "MoveToOxpStation") && (missionVariables.framesave !== "MoveToMainStation"))
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.4.2 (20/11/
you should also check for "MoveToMainStation". "IDLE" seems self explanatory
I'm writing a tweaked version as we speak, so you can suppress SA, if you need.. with [worldscript].suppress_save_anywhere.
Set that to anything but false and it will not even show the Equipment trigger... Delete when done or set to false...
this.name has been altered to not be changed for future releases...
As bonus info, [worldscript].bannedStations (with a very misdirecting name, contains a list of stations where surroundings up to 50000 kms will be saved additionally when you save a game..
A real banned list will be introduced in a future version, so that future OXPers, just need to add [worldscript].BannedStationsList.push(stationrole), at startup.
the tweaked version will be out before Xmass.. Happy holydays..
Cheers Frame...
Cheers Frame..
I'm writing a tweaked version as we speak, so you can suppress SA, if you need.. with [worldscript].suppress_save_anywhere.
Set that to anything but false and it will not even show the Equipment trigger... Delete when done or set to false...
this.name has been altered to not be changed for future releases...
As bonus info, [worldscript].bannedStations (with a very misdirecting name, contains a list of stations where surroundings up to 50000 kms will be saved additionally when you save a game..
A real banned list will be introduced in a future version, so that future OXPers, just need to add [worldscript].BannedStationsList.push(stationrole), at startup.
the tweaked version will be out before Xmass.. Happy holydays..
Cheers Frame...
Cheers Frame..
Bounty Scanner
Number 935
Number 935
- Capt. Murphy
- Commodore
- Posts: 1127
- Joined: Fri Feb 25, 2011 8:46 am
- Location: UK South Coast.
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.4.2 (20/11/
Thanks Frame.
Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.4.2 (20/11/
Could you add a script_info key as well?
Maybe it's also not a bad idea to document this. A while ago I've created a category on the WIKI OXPDoc in the scripting category to hold OXP related stuff for developers.
Maybe it's also not a bad idea to document this. A while ago I've created a category on the WIKI OXPDoc in the scripting category to hold OXP related stuff for developers.
- Capt. Murphy
- Commodore
- Posts: 1127
- Joined: Fri Feb 25, 2011 8:46 am
- Location: UK South Coast.
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.5 (28/01/12
1.5 is now availaible for download - apologies for the delay in release. First post updated with readme and download link.
Changelog
Changelog
Version 1.5 (28/1/12)
Made JS strict mode compatible.
Made Save Anywhere OXP compatible.
Reduced use of missionVariables.
Tweaked calculation of contract rewards - average is 25% lower than previous versions but with significant random variation.
Kills are only counted by the mother if the player is within 3 x her scanner range.
If mother is 'abandoned' by the player for any length of time there is a chance she will be ambushed by pirates - frequency is higher in more dangerous government types.
Added a little randomness to some of the comms messages from the mother.
Eliminated unneccesary and irritating repeat comms messages, particulary the 'Jump Drive Synchronised' message.
Added a background image to mission screens.
Made the code to remove mother ship from ooniverse on contract failure more robust.
Found and fixed a few potential bugs if the player does something 'weird' such as not dock to collect the reward at the end of a contract.
Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.5 (28/01/12
EXCELLENT Oxp. Love it. Had a good time escorting trader Orve. A question: can this be expanded with escorting liners out of the Liners.oxp or the Orisis Carriers?
Fighting an escort screen for a late liner with synchronized jump drive would be cool. Giving you a sort of Battlestar Galactica feeling.
But compliments for the already impressive oxp.
Fighting an escort screen for a late liner with synchronized jump drive would be cool. Giving you a sort of Battlestar Galactica feeling.
But compliments for the already impressive oxp.
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
- Capt. Murphy
- Commodore
- Posts: 1127
- Joined: Fri Feb 25, 2011 8:46 am
- Location: UK South Coast.
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.5 (28/01/12
Cheers PA.Groove - at the simplest level its fairly trivial to include a like_ship to any oxp ship in the Escort Contracts shipdata.plist and have it use the Escort Contracts 'mother' AI. For something like liners though I think it would need a bit more in terms of hook, mission screens etc. Aren't most of the liners dockable? Perhaps a little add-on oxp that results in liners offering escort work when docked with would be good.
Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: [UPDATED RELEASE] - Escort Contracts OXP - 1.5 (28/01/12
An add-on. oxp would be cool!.Capt. Murphy wrote:Cheers PA.Groove - at the simplest level its fairly trivial to include a like_ship to any oxp ship in the Escort Contracts shipdata.plist and have it use the Escort Contracts 'mother' AI. For something like liners though I think it would need a bit more in terms of hook, mission screens etc. Aren't most of the liners dockable? Perhaps a little add-on oxp that results in liners offering escort work when docked with would be good.
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