[RELEASE] Towbar OXP v1.0

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

Moderators: winston, another_commander

Post Reply
milinks
Deadly
Deadly
Posts: 164
Joined: Sun Jun 27, 2004 9:19 pm

Re: [RELEASE] Towbar OXP v0.96

Post by milinks »

Norby wrote:
Towbar is a fixed hardware by default, if you buy it then always show in the aft view right when you undock, but there are two related option in Scripts/towbar.js:

Code: Select all

this.$TowbarFixed = true; //show towbar if no towed ship also, false works as retractable
this.$TowbarShow = true; //false change it to an invisible tractor beam
I think you will change the first to false.
Thats Brilliant :) Thanks Norby!
Bogatyr
---- E L I T E ----
---- E L I T E ----
Posts: 281
Joined: Sun Feb 24, 2013 11:52 am

Re: [RELEASE] Towbar OXP v0.96

Post by Bogatyr »

Tried towbar in an Adder before I knew about the mass limitations. The tow attach failed, but the call for help message has kept on spamming me even after leaving that system.
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: [RELEASE] Towbar OXP v0.97

Post by Norby »

Bogatyr wrote:
the call for help message has kept on spamming me even after leaving that system.
Thank you for the report, please update to the new Towbar v0.97 and you will get a mission failed message after you jump out from the system.
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: [RELEASE] Towbar OXP v0.97

Post by Norby »

My suggestions regarding SteveKing's darwin award:
-go to Interfaces (F4), select "Primable equipment" in Ship Systems, set Towbar as first fast activation (defensive) equipment, then just press the "Tab" key in the case of emergency release instead of rolling the primeable list with Shift+N (I tend to overroll the searched equipment if I run),
-buy Towbar Compatible Injectors as soon as you can afford it.
User avatar
SteveKing
---- E L I T E ----
---- E L I T E ----
Posts: 258
Joined: Tue Apr 15, 2014 9:09 am
Location: DownUnder (W Aus)

Re: [RELEASE] Towbar OXP v0.97

Post by SteveKing »

Thanks Norby, at the time I knew that I could do all of those things, but in the heat of the moment, ie "pirates bearing down from 9 o'clock, red alert", it all went out of my head. Part of me when I'm playing hates the idea of pressing the pause button to 'consult the manual' - seems a bit like cheating. This way means hopefully I'll remember better the next time! :D

As posted in 'Tales...' I'm enjoying the oxp... and thanks for all the little tweaky oxp's you've created. they all seem to fit in someones ooniverse :)

Regards,
SteveKing
(not quite the author)
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: [RELEASE] Towbar OXP v0.97

Post by Switeck »

I seem to be missing an OXP to make this work correctly (Background Set OXP maybe?):

Code: Select all

12:16:09.750 [files.notFound]: ----- WARNING: Could not find texture file "bgs-i_equipship.png".
12:16:09.750 [script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (towbarmissions 0.97): mission.runScreen(): texture "bgs-i_equipship.png" could not be found.
12:16:09.750 [script.javaScript.warning.ooliteDefined]:       C:\Oolite-Trunk/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Norby.Towbar.oxz/Scripts/towbarmissions.js, line 150.
12:16:09.750 [script.javaScript.stackTrace]:  0 (towbarmissions.js:150) <anonymous function>
12:16:09.750 [script.javaScript.stackTrace]:     this: [Script "towbarmissions" version 0.97]
12:16:09.750 [script.javaScript.stackTrace]:     p: 1000
12:16:09.750 [script.javaScript.stackTrace]:     sh: 1
12:16:09.750 [script.javaScript.stackTrace]:     bg: undefined
12:16:09.750 [script.javaScript.stackTrace]:     datakey: "morayMED"
12:16:09.750 [script.javaScript.stackTrace]:     title: "First Aid Mission Successful"
12:16:09.750 [script.javaScript.stackTrace]:     mi: 0
12:16:09.750 [script.javaScript.stackTrace]:     msg: "Thank you very much! Now the kits help healing wounds in the hospital.\nHere is your reward: 1000 credits.\n\nThis is the 1. ship in your salvager carreer."
12:16:09.750 [script.javaScript.stackTrace]:     r: [Script "towbar" version 0.97]
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: [RELEASE] Towbar OXP v0.98

Post by Norby »

Thanks for the report, fixed in v0.98:
-Player get score if force a pilot to eject.
-Small fixes for Oolite 1.81 and without BGS.
User avatar
Vincentz
Deadly
Deadly
Posts: 174
Joined: Sun Mar 22, 2015 11:26 pm

Re: [RELEASE] Towbar OXP v0.98

Post by Vincentz »

There might be a bug when player already have escort deck when buying the towbar.
The first mission (Moray Medicical boat) will make the MM boat stick to Escortdeck instead of towbar, so when returning it have become an escort instead.
"There is a single light of science, and to brighten it anywhere is to brighten it everywhere." - Isaac Asimov
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: [RELEASE] Towbar OXP v0.98

Post by Norby »

Vincentz wrote:
the MM boat stick to Escortdeck instead of towbar
Thanks for spotting, until fixed you can release from the deck (prime, select with mode key then activate) and approach the boat without target lock. In this way the deck will not pick up but towbar will.
User avatar
Vincentz
Deadly
Deadly
Posts: 174
Joined: Sun Mar 22, 2015 11:26 pm

Re: [RELEASE] Towbar OXP v0.98

Post by Vincentz »

Got another problem. I just bought the Towbar and went for the moray, but had forgotten I shouldnt target it, so I reloaded autosave, and mission is there on F5, and messages show, but ASC marker and ship is not there.
"There is a single light of science, and to brighten it anywhere is to brighten it everywhere." - Isaac Asimov
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: [RELEASE] Towbar OXP v0.98

Post by Norby »

You can restart the mission if you change the value of TowbarMission1 to 0 in your .oolite-save file:

Code: Select all

<key>mission_$TowbarMission1</key>
<string>0</string>
Bogatyr
---- E L I T E ----
---- E L I T E ----
Posts: 281
Joined: Sun Feb 24, 2013 11:52 am

Re: [RELEASE] Towbar OXP v0.98

Post by Bogatyr »

I can never scoop precious gems/platinum/gold containers that result from tug drone cargo dumping (the small "gel capsule" containers). They just bounce right off the first time I try to scoop them, then are destroyed on the 2nd attempt. The big multi-ton rectangular containers can be scooped OK (but leave "undefined" contents in the remainder containers if it all can't fit in your cargo bay).
User avatar
Cmd Northgate
Competent
Competent
Posts: 53
Joined: Thu Nov 19, 2015 10:51 am
Location: Galaxy 1

Re: [RELEASE] Towbar OXP v0.98

Post by Cmd Northgate »

I'm really enjoying Towbar it's a great addition to Oolite.

I did notice when you tow a ship and pickup a parcel, their is normally some text saying something like Rucksack (6.find) needs delivering

Or say documents (4.find) needs delivering

I'm on version .98.
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: [RELEASE] Towbar OXP v0.98

Post by Norby »

Bogatyr: I can scoop the capsules with valuables. When I look the process in external view it seems these very small items move faster than normal barrels during scooping, so I think if your ship is small then easy to miss the first half of the hull, as described here. In the next version I will raise the density of "small-cargo1", maybe help.

Cmd Northgate: I think you mean (x.find) should not be displayed. This is the serial number of parcels what you found in derelict ships but I accept that the text looks better without this so I will remove, thanks.
User avatar
Cmd Northgate
Competent
Competent
Posts: 53
Joined: Thu Nov 19, 2015 10:51 am
Location: Galaxy 1

Re: [RELEASE] Towbar OXP v0.98

Post by Cmd Northgate »

Norby wrote:
Bogatyr: I can scoop the capsules with valuables. When I look the process in external view it seems these very small items move faster than normal barrels during scooping, so I think if your ship is small then easy to miss the first half of the hull, as described here. In the next version I will raise the density of "small-cargo1", maybe help.

Cmd Northgate: I think you mean (x.find) should not be displayed. This is the serial number of parcels what you found in derelict ships but I accept that the text looks better without this so I will remove, thanks.
Hi, awesome!
Last night I recovered a few more ships, it's a very satisfying and rewarding achievement. Lots of pirates blown up in the attack, two of which flew into each other! Ended up with three derelict ships, so towed back the Boa 2 Class Cruiser to the station.
It's a great OXP!
Post Reply