Mothership and daughter

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

User avatar
Wyvern Mommy
Deadly
Deadly
Posts: 185
Joined: Sat Apr 02, 2011 7:14 pm
Location: Beyond the final Frontier

Mothership and daughter

Post by Wyvern Mommy »

this is more in the line of a question than a suggestion, so i hope it's in the right place.

the idea running through my head is this:
a team of cargohauler and escort, where the player would actually fly the escort ship.

the mothership would give the player decent load capacity, while the escort would be optimised for combat. because of the necessity to protect the mothership, the slight advantage over pirate ships would be diminished.
or if the player wants to play pirate her/himself, the mothership could be called up to collect the loot. that could get interesting once the cops show up.

maybe something like this has already been done. if so, please enlighten me.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Mothership and daughter

Post by Eric Walch »

Wyvern wrote:
maybe something like this has already been done. if so, please enlighten me.
Have you done any Oo-Haul missions before? Nice for a few times, but than the very slow mother becomes boring.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Mothership and daughter

Post by Cody »

Hi Wyvern... welcome aboard.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Wyvern Mommy
Deadly
Deadly
Posts: 185
Joined: Sat Apr 02, 2011 7:14 pm
Location: Beyond the final Frontier

Re: Mothership and daughter

Post by Wyvern Mommy »

Eric Walch wrote:
Wyvern wrote:
maybe something like this has already been done. if so, please enlighten me.
Have you done any Oo-Haul missions before? Nice for a few times, but than the very slow mother becomes boring.

my solution would be to send the mother ahead on torus, then follow with the daughter once greenlighted. when the mother falls out of torus due to contact with pirates, the daughter would be right behind.
or alternatively clear a path ahead of the mother.

either way, there would have to be a "radio-link" between the ships exceeding radar range.


and thanks El Viejo
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: Mothership and daughter

Post by DaddyHoggy »

Hi Wyvern - a Torus drive exists only for player ships - its a go-faster "cheat" available on to the player.
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Mothership and daughter

Post by Smivs »

But you'd never see an NPC torus-driving....you'd mass-lock them :wink:
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Wyvern Mommy
Deadly
Deadly
Posts: 185
Joined: Sat Apr 02, 2011 7:14 pm
Location: Beyond the final Frontier

Re: Mothership and daughter

Post by Wyvern Mommy »

well, how abouts giving the mother a "normal" top speed matching the escort's torus drive, then script it so it's only used when there's no other ships around?
User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

Re: Mothership and daughter

Post by Capt. Murphy »

I'm working on something similar right now - escort contracts with NPC traders. The NPC trader has a 'resonating torus drive' (actually some cheating JS code) that can jump the mother, player, and any NPC escorts for that mother 1/2 a scanner range at a time if there is nothing else around that would normally mass lock a player.
[EliteWiki] 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
User avatar
Wyvern Mommy
Deadly
Deadly
Posts: 185
Joined: Sat Apr 02, 2011 7:14 pm
Location: Beyond the final Frontier

Re: Mothership and daughter

Post by Wyvern Mommy »

Capt. Murphy wrote:
I'm working on something similar right now - escort contracts with NPC traders. The NPC trader has a 'resonating torus drive' (actually some cheating JS code) that can jump the mother, player, and any NPC escorts for that mother 1/2 a scanner range at a time if there is nothing else around that would normally mass lock a player.
well, synchronising torus drives (maybe by phase locking their oscillations?) would be an obvious -engineering feat- against the limitations of the torus drive. (or alternatively a complete different drive system with similar speeds without the mass lock problems) coordinating torus jumps of flotillas would be the obvious workaround until the sync drive became operational.

i guess both would have their own advantages and challenges.

though the actual question i have neglected to ask so far: would my idea even be possible to implement?
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Mothership and daughter

Post by Commander McLane »

Wyvern wrote:
well, synchronising torus drives (maybe by phase locking their oscillations?) would be an obvious -engineering feat- against the limitations of the torus drive. (or alternatively a complete different drive system with similar speeds without the mass lock problems) coordinating torus jumps of flotillas would be the obvious workaround until the sync drive became operational.
That would also depend on whether torus drives actually exist.

It can be argued that the so-called torus drive is nothing but a hand-waved time acceleration feature for the player, not something that actually exists for any ship. The player needs a means to quicken the long journey to the station, or else they will get bored and stop playing. Naturally the game designers want to avoid that, and came up with an accelerating feature and a semi-logical in-game explanation for it. NPCs, however, don't get bored.

Indeed the torus drive doesn't really fit into the Ooniverse. There have been suggestions to drop it completely in favour of the fuel injectors (which didn't exist in old Elite, and provide a more balanced way of speeding things up; balanced means that (1) they cost something and (2) everybody can have them).

The only way to deal with the idea of all-ships-have-torus-drives in an in-game-logical way is through their mass-lock feature: you may assume that NPCs have torus drives, because through the very nature of the torus drive you can never witness another ship using it. That doesn't explain, though, why for instance a fleeing pirate is only using his injectors. Why doesn't he switch to torus drive once he's outside your scanner? If you pursue another ship you can always catch it, because your opponent must always use his fuel to get away, while you can let him get out of scanner range, hit 'J' until he is in scanner range again, and repeat until he's run out of fuel. This is a strong in-game hint that torus drives don't actually exist (and that the speeding-up feature for long journeys is becoming a cheat in combat situations).

The easiest way of simulating an NPC-torus drive would be to remove an NPC which you knows is at the other end of the system, and reposition it just outside the player's scanner range. That would somehow look like an NPC coming out of nowhere and getting mass-locked by the player ship.
Wyvern wrote:
though the actual question i have neglected to ask so far: would my idea even be possible to implement?
Depends. Which part of the idea?

I can imagine one general problem: basically your idea amounts to an escort mission. Escort missions are dreaded by players of many games, because they're very difficult to create and balance correctly. They tend to be either too hard (if the character/ship you have to escort usually ends up dead, no matter what you do) or too boring and repetitive. Much depends on the AI of the escorted entity, and the environment over which you (both as scripter and as player) have only limited influence.
User avatar
Wyvern Mommy
Deadly
Deadly
Posts: 185
Joined: Sat Apr 02, 2011 7:14 pm
Location: Beyond the final Frontier

Re: Mothership and daughter

Post by Wyvern Mommy »

while it's true what you say about hand-weaving the same could be argued about the oolite-physics in general.
i do agree that the torus drive (and it's explanation) is an "invention" (in several meanings) to shorten the time between encounters with other ships and the station. though it's not a time acceleration. if that would be so, NPCs outside the scanner range would be accelerated as well. that would make escaping from pirates by getting just beyond scanner range, then running away on torus, make virtually impossible, unless the pirate is slower than the player ship on normal drive.

however, i have to disagree about teleporting ships. all that would simulate is ships teleporting. there would neither be the (at least sometimes notable) deceleration from torus speed, nor encounters with other ships between here and there. now while the latter could be argued as "does it make a sound if nobody is there to listen", the former can not. and in both cases there are situations where it does make a difference.

indeed, i already outlined a (i think) simple way to give torus drives to NPCs: a max speed in the neighborhood of torus speed and a script to limit them to normal speeds in "mass lock" situations. and a thrust figure (or another scripting feature)that makes the decelleration noticable.



what i don't know if it could be done... is it possible to have a two ship (or more) team, where the cargo is transported by "the other ship(s)", yet still have control over the manifest when it comes to buying and selling?


PS: Laurin läßt grüssen.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Mothership and daughter

Post by Commander McLane »

Wyvern wrote:
indeed, i already outlined a (i think) simple way to give torus drives to NPCs: a max speed in the neighborhood of torus speed and a script to limit them to normal speeds in "mass lock" situations. and a thrust figure (or another scripting feature)that makes the decelleration noticable.
Just guessing, but I think that wouldn't work. The player's torus speed is 32 x maxSpeed. So you would have to multiply the NPC maxSpeed by 32 and have them usually operate in the range of setSpeedFactorTo: 0.03125, or to be precise setSpeedFactorTo: 0.025, because normal cruising speed is 80% of maxSpeed. My guess is that with these small numbers you would run into precision problems quite soon. And that is apart from the fact that the standard trader AI doesn't even operate that much with explicit factors anymore, but with the convenience method setSpeedToCruiseSpeed, which is defined as 80% of maxSpeed (or 99% of the speed of the slowest escort).

Also not mentioning the overhead for all NPCs constantly monitoring their scanner range for mass-locking entities, and slowing down if they find one.

EDIT: typo corrected, first speed factor was 10 times too high
Last edited by Commander McLane on Thu Apr 21, 2011 6:17 am, edited 1 time in total.
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: Mothership and daughter

Post by Zireael »

Commander McLane wrote:
Wyvern wrote:
indeed, i already outlined a (i think) simple way to give torus drives to NPCs: a max speed in the neighborhood of torus speed and a script to limit them to normal speeds in "mass lock" situations. and a thrust figure (or another scripting feature)that makes the decelleration noticable.
Just guessing, but I think that wouldn't work. The player's torus speed is 32 x maxSpeed. So you would have to multiply the NPC maxSpeed by 32 and have them usually operate in the range of setSpeedFactorTo: 0.3125, or to be precise setSpeedFactorTo: 0.025, because normal cruising speed is 80% of maxSpeed. My guess is that with these small numbers you would run into precision problems quite soon. And that is apart from the fact that the standard trader AI doesn't even operate that much with explicit factors anymore, but with the convenience method setSpeedToCruiseSpeed, which is defined as 80% of maxSpeed (or 99% of the speed of the slowest escort).

Also not mentioning the overhead for all NPCs constantly monitoring their scanner range for mass-locking entities, and slowing down if they find one.
And that is a good reason to get rid of torus altogether...
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: Mothership and daughter

Post by Switeck »

Smivs wrote:
But you'd never see an NPC torus-driving....you'd mass-lock them :wink:
You can see large freighters from further away than 25 km, so it would be possible to see an NPC using witchfuel injectors or a torus (were one to exist) from just outside radar range.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Mothership and daughter

Post by Smivs »

True, but can you judge speed at that distance?
Commander Smivs, the friendliest Gourd this side of Riedquat.
Post Reply