Question about carriers
Moderators: winston, another_commander
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Question about carriers
If you land at a carrier. Will it eventually jump into another system?
If so is it then possible to add a counter so that the commander that docks can see an Estimated time before jump with destination shown. In that way the ships that don't have a hyperdrive and regular ships can actually use those liners, and carriers to their advantage.
If so is it then possible to add a counter so that the commander that docks can see an Estimated time before jump with destination shown. In that way the ships that don't have a hyperdrive and regular ships can actually use those liners, and carriers to their advantage.
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
- Commander McLane
- ---- 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:
Good question.
First of all it will depend on the carrier's AI, I guess. If it generally doesn't jump, chances are that it won't with you on board.
The special case is of course carriers in interstellar space. It is hardcoded in Oolite that you only can launch into a system. Therefore, if you dock with a carrier (or a station, for that matter) in interstellar space, you will find that upon launch it is suddenly located in one of the adjacent systems. Which may be explained for carriers, but makes no sense for stations, of course. Which is why the spawning of stations in interstellar space is advised against.
But I think it is easy to make a test case. Just modify the AI of any existing carrier so that it jumps out a minute after spawning. Spawn it, dock with it, and wait a minute. Then you'll see what happens.
First of all it will depend on the carrier's AI, I guess. If it generally doesn't jump, chances are that it won't with you on board.
The special case is of course carriers in interstellar space. It is hardcoded in Oolite that you only can launch into a system. Therefore, if you dock with a carrier (or a station, for that matter) in interstellar space, you will find that upon launch it is suddenly located in one of the adjacent systems. Which may be explained for carriers, but makes no sense for stations, of course. Which is why the spawning of stations in interstellar space is advised against.
But I think it is easy to make a test case. Just modify the AI of any existing carrier so that it jumps out a minute after spawning. Spawn it, dock with it, and wait a minute. Then you'll see what happens.
Last edited by Commander McLane on Sun Aug 08, 2010 8:32 pm, edited 1 time in total.
But soon to be changed, if I remember well...
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Cmdr Wyvern
- ---- E L I T E ----
- Posts: 1649
- Joined: Tue Apr 11, 2006 1:47 am
- Location: Somewhere in the great starry void
Re: Question about carriers
The Behemoths do, at least from Bugspace.pagroove wrote:If you land at a carrier. Will it eventually jump into another system?
The counter sounds like a good idea.pagroove wrote:If so is it then possible to add a counter so that the commander that docks can see an Estimated time before jump with destination shown. In that way the ships that don't have a hyperdrive and regular ships can actually use those liners, and carriers to their advantage.
I may be wrong, but I thought every ship flyable by the player automatically had a witchdrive. On the other hand, if you're too low on fuel to make a jump, then hitching a ride is a damn good idea.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
- Commander McLane
- ---- 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: Question about carriers
Actually every ship in Oolite has a witchdrive, even those which are not supposed to. That's because the witchdrive isn't actually an equipment. Whether an NPC can jump or not is purely a matter of AI and fuel.Cmdr Wyvern wrote:I may be wrong, but I thought every ship flyable by the player automatically had a witchdrive.
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
No time to test. I'm curious though.
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
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
I just did out of curiosity. I spawned a dredger, docked with it and changed its AI into an "exitingTraderAI". And I opened a mac-target inspector for easier following the carrier actions.Commander McLane wrote:But I think it is easy to make a test case. Just modify the AI of any existing carrier so that it jumps out a minute after spawning. Spawn it, dock with it, and wait a minute. Then you'll see what happens.
The ship jumped but I did not see as difference. Going through the F6 screen told me I still was in the old system. Then on launch things started to change. I think I launched in the old system at the location of the wormhole. I saw the wormhole at the centre of the scanner. Than I was immediately sucked in by the wormhole and ended in the system where the carrier jumped to. But because I waited some time, the dredger already had flown off the scanner.
At least it is not handled as launching from the carrier in the new system, but as launching from the carrier in the old system and following him through the hole. And I assume when I would have waited long enough for the wormhole to collapse, I would have stayed in the old system.
When you want to repeat it, get the console and type:
Code: Select all
this.ship=PS.target
this.ship.fuel=70
// (dock now)
this.ship.setAI("exitingTraderAI.plist")
UPS-Courier & DeepSpacePirates & others at the box and some older versions
As Commander McLane said, if you dock to a carrier/station in interstellar space, when you undock you'll find yourself magically transported to a nearby system - the nearest system to be precise, and this without modifying AIs.
And as Thargoid semi-remembered, from 1.75 (provided we don't discover major - unsolvable - problems with it) there's going to be a new shipdata key: 'interstellar_undocking'.
In future (& in trunk), if you've got
as part of a carrier/station definition, you can dock in interstellar space secure in the knowledge that you'll undock in the same interstellar space!
And as Thargoid semi-remembered, from 1.75 (provided we don't discover major - unsolvable - problems with it) there's going to be a new shipdata key: 'interstellar_undocking'.
In future (& in trunk), if you've got
Code: Select all
"interstellar_undocking" = YES;
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
So you mean that the situation that Eric describes then doesn't happen anymore and you come out of the 'tube' in the right system?as part of a carrier/station definition, you can dock in interstellar space secure in the knowledge that you'll undock in the same interstellar space!
O EDIT:
And on the subject of counters. Are ETA (Estimated Time of Arival) counters possible in Oolite? Would be also cool if you have an Advanced space compass stage 2 which displays the ETA- countdown to the Station based on your speed.
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
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
..
Only one thing missing then for 1.75: The option of placing suns into interstellar space by script. Or generally placing suns. Could make for 2+ star systems and/or new systems in withdrive routes, i.e.
Why is this not a scripting request already?
Why is this not a scripting request already?
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: ..
Because interstellar space is defined as the absense of sun throughout the code:Lestradae wrote:Only one thing missing then for 1.75: The option of placing suns into interstellar space by script. Or generally placing suns. Could make for 2+ star systems and/or new systems in withdrive routes, i.e.
Why is this not a scripting request already?
Code: Select all
- (BOOL) inInterstellarSpace
{
return [self sun] == nil;
}
Yep, no suns are allowed in interstellar space by definition.
However, you can add planets, & sun-shaped ships: if the latter, you can set them to glow in a sun-like manner...
However, you can add planets, & sun-shaped ships: if the latter, you can set them to glow in a sun-like manner...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- Killer Wolf
- ---- E L I T E ----
- Posts: 2279
- Joined: Tue Jan 02, 2007 12:38 pm
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
But this will lack the main feature of a sun: a is a light sourceKaks wrote:However, you can add planets, & sun-shaped ships: if the latter, you can set them to glow in a sun-like manner...
That will also be the main reason that multiple suns is unlikely to be added soon. Having just one light source is so waved through the code that adding a new light source will require a lot of rewriting.
UPS-Courier & DeepSpacePirates & others at the box and some older versions