Quirium fuel tankers

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

User avatar
Commander Mysenses
Deadly
Deadly
Posts: 214
Joined: Sat Mar 08, 2008 9:30 am
Location: Devon, a backward little planet scourged by evil weather

Quirium fuel tankers

Post by Commander Mysenses »

Ever wondered who tops up the Quirium tanks at the main stations, constores etc?

How about some tanker vessels to be seen scooping Quirium from the sun and ferrying it via the witchpoint to the nav bouy?

I'm thinking they could be like the Oo-haul vessels, but real fast (plenty of fuel to throw into the injectors), but dockable (into the large fuel scoop on the nose)... should be a challenge at that sort of speed, but a handy top-up opportunity (fuel would be stupidly cheap).

A reasonable idea?
(not that I have any skill to pull it off)
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2882
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

Try the Woma Tanker OXP. :wink:
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
Commander Mysenses
Deadly
Deadly
Posts: 214
Joined: Sat Mar 08, 2008 9:30 am
Location: Devon, a backward little planet scourged by evil weather

Post by Commander Mysenses »

Ahh, missed that one.
Will investigate.
Would be nice if they blew up in a spectacular/dangerous way too!
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

they do.

charlie (iirc) also had plans for quirrium sky/starmines in his orbs oxp, haven't heard what happened to that pln thiough. orb had some particularly nasty bugs.
Riding the Rocket!
User avatar
Commander Mysenses
Deadly
Deadly
Posts: 214
Joined: Sat Mar 08, 2008 9:30 am
Location: Devon, a backward little planet scourged by evil weather

Post by Commander Mysenses »

Arexack_Heretic wrote:
they do.
But not as spectacular as I would have hoped. :?
I was thinking more in a Q-mine kinda way... with bonus fuel pods to be scooped afterwards!

In my mind, they should not need escorts, and because they have (literally) fuel to burn... they should run on the sunskimmers route, from star to WP to station, on injectors all they way, and be very fast.
(there wouldn't be an issue of escorts not keeping up... they wouldn't need 'em)

A dockable fuel scoop on the front would be a bit exciting, at those closing speeds!
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 »

Commander Mysenses wrote:
Arexack_Heretic wrote:
they do.
But not as spectacular as I would have hoped. :?
I was thinking more in a Q-mine kinda way... with bonus fuel pods to be scooped afterwards!

In my mind, they should not need escorts, and because they have (literally) fuel to burn... they should run on the sunskimmers route, from star to WP to station, on injectors all they way, and be very fast.
(there wouldn't be an issue of escorts not keeping up... they wouldn't need 'em)

A dockable fuel scoop on the front would be a bit exciting, at those closing speeds!
The ship will run out of fuel since i believe its hardcoded that a ship can only have 7.0 ly of fuel onboard(im pretty sure i recall something will break if you give it more). Also the Fuel injection onj/off is handeld i beleive internally by the code, so you cant flick it on or off... its flicked on once you attack it, like if it where a pirate, and it just uses up what fuel it has...

If the benefit is not injector speed, there is no need to use it logically and codewise you can just give the tanker at a speed of say the Anaconda which is 0.140 LS. Even the Anaconda with that low speed can outrun all vessels at injector speed.. so you would also not be able to give it a low enough speed where the escorts could keep up, while its normal base speed would seem logical...
Bounty Scanner
Number 935
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Frame wrote:
The ship will run out of fuel since i believe its hardcoded that a ship can only have 7.0 ly of fuel onboard(im pretty sure i recall something will break if you give it more).
Not at all. It’s just impossible to jump further than 7 ly in one go. (Also, you can use a JavaScript timer to top up the fuel tanks continuously.) However I’m not aware of a way to force the AI to travel on afterburners.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Ahruman wrote:
(Also, you can use a JavaScript timer to top up the fuel tanks continuously.)
Somehow that sounds like cheating.
Ahruman wrote:
However I’m not aware of a way to force the AI to travel on afterburners.
One can do that by setting a speedfactor higher than 1.0. e.g.: "setSpeedFactorTo: 3.0" Just for fun I gave fuel-injectors to a woma fueltanker. Changed speedfactor to 3.0 in the state "HEAD_FOR_PLANET" and added in the update a command to add fuel.

Nice view, It fly away with injectors at high speed with purple flames. I could barely follow him. The escorts also just managed.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Well spotted. I’ve exposed the underlying desiredSpeed attribute to JS for 1.72; the equivalent to setSpeedFactorTo: 3.0 will be ship.desiredSpeed = ship.maxSpeed * 3.0.

Edit: the usefulness of this is questionable. In most behaviour states, including the ever-popular BEHAVIOUR_FLY_TO_DESTINATION, the game will change the desired speed every frame.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Ahruman wrote:
Edit: the usefulness of this is questionable. In most behaviour states, including the ever-popular BEHAVIOUR_FLY_TO_DESTINATION, the game will change the desired speed every frame.
I found it very useful when working on the Leviathan ship. That carrier has a max speed of about 300. Most launching ships had also a max speed in that area. This resulted that ships launched, than waited a brief moment to look for their target and than very often mother crashed into them. I solved that by giving them 5 seconds injectors with setSpeedFactor: >1. Crashes are now rare because they now can make a distance before they starts scanning for their target.
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2280
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

i was working on a tanker ages back, it was the oxp i had that bother w/, trying to get the escorts to work poperly
http://purgatori.net/tankpaint.jpg

be buggered if i know what i did w/ the OXP, i thought i'd uploaded it :-/
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Just wanted to say I managed to sort out the tanker escorts problem once & for all (famous last words)! Should be uploading the new transports real soon now, so you could reuse that code for your essoo tanker. I'm assuming/hoping you've still got that oxp lurking somewhere on your hard disk... :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Post by TGHC »

That's really good news, escort A1's seem to have in the past been a continuing hassle for script writers.
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2280
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

just found *a* copy of the oxp

http://www.purgatori.net/tanker.oxp.zip

obviously a work in progress/abandoned in frustration ~ there's two tanker AI files in there. if anyone fancies a bit play, knock yourself out.
the concept behind this was the idea as to where the fuel came from that stations sold : i imagined sunskimming tankers that would be escorted by custom Asps : built w/ a mega scoop under the cab, they skimmed fuel and took it back to sell to the station. obviously being full of extremely explosive fuel, shooting one isn't a good idea....
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Good news, I'm a bit bogged down with trying to figure out a couple of things with oolite's main code, but might just manage a spurt of extra brain power & apply some extra spit & polish to tanker.oxp! :)

Cheers,

Kaks.
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Post Reply