[Release] In-System Taxi
Moderators: winston, another_commander
[Release] In-System Taxi
Introducing in-system passenger contracts.
Last edited by spara on Sun Feb 07, 2016 8:44 am, edited 10 times in total.
- JazHaz
- ---- E L I T E ----
- Posts: 2991
- Joined: Tue Sep 22, 2009 11:07 am
- Location: Enfield, Middlesex
- Contact:
Re: [WIP] In-System Taxi 0.2
Sounds great!
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: [WIP] In-System Taxi 0.2
I have not played it yet, but just browsed briefly through the code.spara wrote:* Does it work? .
* Are there some stations that appear in contracts, but should be excluded?
_Requirements_
Taxi Galactica OXP by Pleb
I noticed you select stations by scan class. That of cause excludes the hermits. That might be intentional. Also be aware that some oxps, like fuel_stations, give a station scan class to non-station objects.
Probably is is safer to explicit scan for the isStation property with:
Code: Select all
var stations = system.filteredEntities(this, function (entity) { return entity.isStation; });
only stations you probably find with
Code: Select all
var stations = system.filteredEntities(this, function (entity) { return (entity.isStation && !entiy.maxSpeed); });
And about the requirements:
Taxi Galactica OXP contains a world script. So you could explicit check for its presence and generete a warning when it is missing. (I think trident_down.oxp is doing something similar)
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: [WIP] In-System Taxi 0.2
Good points. Actually I think that only stations that can be seen through ASC should be included, as you have to be able to find the destination. Meaning no hermits. I would also like to include carriers. It would make perfect sense for a customer to want to go to the Emerald. I have to put some more thought to this obviously. On the other side, all dockables should be able to give station contracts. Meaning that, if you dock a hermit, there might be someone wanting to fly to some other station.Eric Walch wrote:I noticed you select stations by scan class. That of cause excludes the hermits. That might be intentional. Also be aware that some oxps, like fuel_stations, give a station scan class to non-station objects.
Probably is is safer to explicit scan for the isStation property with:That of cause will also include carriers, so more filtering is also needed with this method. Unless you make it a special offer to bring a passenger to a carrier.Code: Select all
var stations = system.filteredEntities(this, function (entity) { return entity.isStation; });
only stations you probably find withCode: Select all
var stations = system.filteredEntities(this, function (entity) { return (entity.isStation && !entiy.maxSpeed); });
This must be included, thanks for pointing.Eric Walch wrote:And about the requirements:
Taxi Galactica OXP contains a world script. So you could explicit check for its presence and generete a warning when it is missing. (I think trident_down.oxp is doing something similar)
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: [WIP] In-System Taxi 0.2
Rock Hermits do show on the ASC if you have a Rock Hermit Locator.spara wrote:I think that only stations that can be seen through ASC should be included, as you have to be able to find the destination. Meaning no hermits.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: [WIP] In-System Taxi 0.2
Having an ASC makes sense, but that would exclude most carriers. However, since Oolite 1.77 you can change the beacon signal by script.spara wrote:Actually I think that only stations that can be seen through ASC should be included, as you have to be able to find the destination. ..... I would also like to include carriers. It would make perfect sense for a customer to want to go to the Emerald.
Although a carrier is nor transmitting an ASC signal, you can always use handwavium to explain why a carrier starts broadcasting an ASC signal when it must be found by a taxi.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: [WIP] In-System Taxi 0.2
Sure, you can change it. But remember - it will break OXPs if existing beacon codes are getting changed.Eric Walch wrote:Having an ASC makes sense, but that would exclude most carriers. However, since Oolite 1.77 you can change the beacon signal by script.
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: [WIP] In-System Taxi 0.2
Yep, but you only need to do it for ships that hadn't a beacon on them.Svengali wrote:But remember - it will break OXPs if existing beacon codes are getting changed.
I just took my first passenger. € 6.0 fee and he gave me a € 8.0 tip on delivery. And I was lucky that I got a return trip to the main station. The Values seem okay. It is not mend as money maker and being able to start with a full fuel tank, it is hardly more work than scooping cargo.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: [WIP] In-System Taxi 0.2
I'm liking these new in-system taxi missions spara! Couldn't get the version you originally sent me to work before but this one seems fine. I agree with Eric that the prices seem fine and that it shouldn't be about making easy money. I also agree that it should be made to avoid Jump Gates and Fuel Stations, although I no longer have these OXPs in my game anymore so I don't know if your script would try to generate a contract to take someone there. I don't think the Rock Hermits should be included either, as not everyone will have the Rock Hermit Locator OXP in their game.
BTW I also like the background with the Taxi Galactica logo on it. I may have to borrow this for the next Taxi Galactica release as I'm getting slightly annoyed with the spinning Taxi Adders (although in my own game I also have smiv's Taxi ships spinning sometimes but it does get distracting!)...
BTW I also like the background with the Taxi Galactica logo on it. I may have to borrow this for the next Taxi Galactica release as I'm getting slightly annoyed with the spinning Taxi Adders (although in my own game I also have smiv's Taxi ships spinning sometimes but it does get distracting!)...
Desktop PC: CPU: Intel i7-4790K Quad Core 4.4GHz (Turbo-Charged) GPU: Nvidia GeForce GTX 1080Ti RAM: 32GB DDR3
Laptop PC: CPU: Intel i5-10300H Quad Core 4.5GHz (Turbo-Charged) GPU: Nvidia GeForce GTX 1650 RAM: 32GB DDR4
Laptop PC: CPU: Intel i5-10300H Quad Core 4.5GHz (Turbo-Charged) GPU: Nvidia GeForce GTX 1650 RAM: 32GB DDR4
Re: [WIP] In-System Taxi 0.2
Neither the fuel station nor the jump gates (at least my ones from Gates OXP) are stations (or indeed dockables at all) so should not be seen as candidate destinations.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: [WIP] In-System Taxi 0.2
Mind you, it would be nice if it checked for the presence of the RHL in the players equipment and included RHs as destinations if found.Pleb wrote:I don't think the Rock Hermits should be included either, as not everyone will have the Rock Hermit Locator OXP in their game.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: [WIP] In-System Taxi 0.2
You can find hermits without the RHL, it just takes time and patience. Maybe not suited to a taxi service, although...Diziet Sma wrote:Mind you, it would be nice if it checked for the presence of the RHL and included RHs as destinations if found.Pleb wrote:I don't think the Rock Hermits should be included either, as not everyone will have the Rock Hermit Locator OXP in their game.
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!
And any survivors, their debts I will certainly pay. There's always a way!
Re: [WIP] In-System Taxi 0.3
Thank you all for testing and commenting. New version is up (0.3)
* Premiums tweaked (balancing in-flight and station contracts)
* Deadlines shortened. Felt too easy. Especially long runs.
* Lowered in-flight probabilities.
* Removed save functionality to simplify things. If saved, passenger and mission instructions are removed.
* Leaving the system with a passenger on board changes the passenger to a regular passenger.
* Code cleaning and rationalisation.
* Removed Taxi Galactica as an absolute requirement. Without it station offers only. With it possibility to buy device for in-flight offers.
* Background for mission screens. Borroving graphics from Taxi Galactica.
* New method to choose stations. Mixed Eric's suggestion to my earlier method. Now destinations are from:
- scanClass == "CLASS_STATION", excluding Jumpgate, Fuelstation and Jaguar_company_base
- isStation selectively, including Liners, Casino, Spacebar
* In case of destinations without beacon, temporary beacon is set, when contract is accepted.
* All dockables can give station contracts. For example Rock Hermit, which is excluded from destinations, can have some poor soul waiting to be picked up.
* Premiums tweaked (balancing in-flight and station contracts)
* Deadlines shortened. Felt too easy. Especially long runs.
* Lowered in-flight probabilities.
* Removed save functionality to simplify things. If saved, passenger and mission instructions are removed.
* Leaving the system with a passenger on board changes the passenger to a regular passenger.
* Code cleaning and rationalisation.
* Removed Taxi Galactica as an absolute requirement. Without it station offers only. With it possibility to buy device for in-flight offers.
* Background for mission screens. Borroving graphics from Taxi Galactica.
* New method to choose stations. Mixed Eric's suggestion to my earlier method. Now destinations are from:
- scanClass == "CLASS_STATION", excluding Jumpgate, Fuelstation and Jaguar_company_base
- isStation selectively, including Liners, Casino, Spacebar
* In case of destinations without beacon, temporary beacon is set, when contract is accepted.
* All dockables can give station contracts. For example Rock Hermit, which is excluded from destinations, can have some poor soul waiting to be picked up.
Re: [WIP] In-System Taxi 0.4
Hopefully the last wip version (0.4) is up. Final version is closing, this one has all the features I have planned. Comments are much appreciated.
* Planetfall support is added. Needs Planetary Compass in addition.
* Deadlines shortened a bit. Now it feels right. Adder cashes about 10 - 20 cr per contract. For more, you'll need a faster ship.
* Bugfixes (quite a few actually )
* Readme revised
* Planetfall support is added. Needs Planetary Compass in addition.
* Deadlines shortened a bit. Now it feels right. Adder cashes about 10 - 20 cr per contract. For more, you'll need a faster ship.
* Bugfixes (quite a few actually )
* Readme revised
Re: [WIP] In-System Taxi 0.4
Sounds good spara! I've always wanted to expand on Thargoid's taxi service and include stations, you just did it the other way around!spara wrote:* Planetfall support is added. Needs Planetary Compass in addition.
Desktop PC: CPU: Intel i7-4790K Quad Core 4.4GHz (Turbo-Charged) GPU: Nvidia GeForce GTX 1080Ti RAM: 32GB DDR3
Laptop PC: CPU: Intel i5-10300H Quad Core 4.5GHz (Turbo-Charged) GPU: Nvidia GeForce GTX 1650 RAM: 32GB DDR4
Laptop PC: CPU: Intel i5-10300H Quad Core 4.5GHz (Turbo-Charged) GPU: Nvidia GeForce GTX 1650 RAM: 32GB DDR4