News:

Server address: server.convoytrucking.net
Get SA-MP 0.3.7 here: Click Here to download SA-MP 0.3.7

Main Menu

Airport fuel stops

Started by Rubber, June 14, 2014, 17:50

Deff

Quote from: Marccc on June 15, 2014, 11:02
Quote from: Dobby on June 15, 2014, 09:04
How do you plan on unloading at an island airport with no road access?


Join a study technology and you will find out:






We can use this building on the East coast of Las Venturas. Map a road to it and put an unload marker in front of the building
as fuel unload for Las Venturas Island Airport, and map the same building on the West coast of San Fierro to deliver fuel for SF Island Airport.



Its time to think further then no, cant, not real, etc.




Why not make them as fuel unload points too ?

Winkle



Rubber

Quote from: mapijs on July 05, 2014, 12:18
sounds great, i don't have any mapping experience but it doesn't sound that difficult, if you look at some other features the server already has. We have the technology! +1
No mapping is necessary. All that needs to be done is have unload point coordinates plugged into the script somewhere with a little magic dust sprinkled around and POOF, airport fuel stops. Should be pretty easy to do...

Eurobeat


Emily

* Emmie_US approves of this because it adds loads for fuel
[dobby]

LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION

Joshy

#20
Quote from: Rubber on July 07, 2014, 02:05
Quote from: mapijs on July 05, 2014, 12:18
sounds great, i don't have any mapping experience but it doesn't sound that difficult, if you look at some other features the server already has. We have the technology! +1
No mapping is necessary. All that needs to be done is have unload point coordinates plugged into the script somewhere with a little magic dust sprinkled around and POOF, airport fuel stops. Should be pretty easy to do...
Sadly it is not that easy. Airport fuel stations are totally different to real fuel stations in code, in fact it isn't even defined as a gas station, it's defined as airport (that's why you get "Joshy is entering LV airspace"). It's also the reason why trucks etc can't fuel up at airports, and since it's basically a gas station without being defined as such, it will always assume rate 10.

I'll consider this suggestion if I overhaul fuel systems. If I overhaul fuel stations, I'll probably end up overhauling GPS areas, parking zones and house/base boundaries too (turn all of them into polygonal areas instead of rectangular). And before doing that I have to optimise script to free up CPU time since polygonal areas are more computationally expensive than rectangles.

I wouldn't mind giving tanker missions the possibility of a "airport run", where instead of petrol you deliver aviation fuels and your destinations are exclusively airports. Might be an idea.
[comment]test[/comment]
LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION
Generated using Azure Functions & CloudFlare Workers using the Convoy Trucking API. Updates every around 5 minutes. See the original SVG image. View source code (not updated with function yet)




Ethan

Quote from: Joshy on July 10, 2014, 05:01
I wouldn't mind giving tanker missions the possibility of a "airport run", where instead of petrol you deliver aviation fuels and your destinations are exclusively airports. Might be an idea.

Emily

I sense many surprises brought to you by Joshy in the mere future
[dobby]

LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION

Quotary

Quote from: Ethan on July 12, 2014, 00:30
Quote from: Joshy on July 10, 2014, 05:01
I wouldn't mind giving tanker missions the possibility of a "airport run", where instead of petrol you deliver aviation fuels and your destinations are exclusively airports. Might be an idea.


JuRiS

Quote from: Joshy on July 10, 2014, 05:01
I wouldn't mind giving tanker missions the possibility of a "airport run", where instead of petrol you deliver aviation fuels and your destinations are exclusively airports. Might be an idea.
Will you choose which fuel you want to drive, or will it choose randomly???
Nice idea!! :like: :like:

Rubber

Quote from: Joshy on July 10, 2014, 05:01
Quote from: Rubber on July 07, 2014, 02:05
Quote from: mapijs on July 05, 2014, 12:18
sounds great, i don't have any mapping experience but it doesn't sound that difficult, if you look at some other features the server already has. We have the technology! +1
No mapping is necessary. All that needs to be done is have unload point coordinates plugged into the script somewhere with a little magic dust sprinkled around and POOF, airport fuel stops. Should be pretty easy to do...
Sadly it is not that easy. Airport fuel stations are totally different to real fuel stations in code, in fact it isn't even defined as a gas station, it's defined as airport (that's why you get "Joshy is entering LV airspace"). It's also the reason why trucks etc can't fuel up at airports, and since it's basically a gas station without being defined as such, it will always assume rate 10.

I'll consider this suggestion if I overhaul fuel systems. If I overhaul fuel stations, I'll probably end up overhauling GPS areas, parking zones and house/base boundaries too (turn all of them into polygonal areas instead of rectangular). And before doing that I have to optimise script to free up CPU time since polygonal areas are more computationally expensive than rectangles.

I wouldn't mind giving tanker missions the possibility of a "airport run", where instead of petrol you deliver aviation fuels and your destinations are exclusively airports. Might be an idea.

Ahh, I see the dilemma. Well, what  you suggested would be cool too  :D I'm sure there are a ton of people who would like to deliver to airports just for the fun of it. Plus, it would actually be more realistic if you are just hauling aviation fuel to airports, not regular fuel to gas stations and airports.

Eurobeat

Aviation fuels here cost a fixed price(which the airports pay) unless crude oil price rises, delivering more fuel to the airport wouldn't lower the price for the commercial planes, but say a private pilot chose to refuel his plane at the airport, he would get the lower price(or higher in case less fuel is delivered). Is that even scriptable(wow tongue twister)?

Rubber

Quote from: Fish_[SA] on July 14, 2014, 17:17
Aviation fuels here cost a fixed price(which the airports pay) unless crude oil price rises, delivering more fuel to the airport wouldn't lower the price for the commercial planes, but say a private pilot chose to refuel his plane at the airport, he would get the lower price(or higher in case less fuel is delivered). Is that even scriptable(wow tongue twister)?

I think simple is good. Keep it simple at first and modify it later if it needs modifying.

Eurobeat

Quote from: Rubber on July 15, 2014, 00:25
Quote from: Fish_[SA] on July 14, 2014, 17:17
Aviation fuels here cost a fixed price(which the airports pay) unless crude oil price rises, delivering more fuel to the airport wouldn't lower the price for the commercial planes, but say a private pilot chose to refuel his plane at the airport, he would get the lower price(or higher in case less fuel is delivered). Is that even scriptable(wow tongue twister)?

I think simple is good. Keep it simple at first and modify it later if it needs modifying.

Yes, I guess it is. I have a thing for complicated things  :like:

Quick Reply

Warning: this topic has not been posted in for at least 30 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it has been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is 7 + 4?:
What is the server name?:
Shortcuts: ALT+S post or ALT+P preview