Jump to content

[REL] Vehicle Fuel Script v1.5 Public BETA[CLOSED]


Recommended Posts

Vehicle Fuel Script by CodeMaster[CLOSED]

Gonna work with [uVA]Bart on improving his script!

Current Version: v1.5 Public BETA

As I promised to Vladmo, here it is!

My vehicle fuel script. Its based on distance that a vehicle crossed, not on timer, so it works a bit more realistically, but still don't has all the factors what an real engine has (velocity, gear etc...).

It's still WIP (Work In Progress), but now refills gas by entering marker on any gas station

If anyone could get me coords of ALL gas stations all over the SA that would be great help!

Features:

- A progress bar, and a text label which represents current level of fuel

- Realistic fuel depleting

- Stops moving like on real vehicles (won't just remove player from vehicle)

- Has gas stations for refilling gas (don't has all gas stations for now, but XetaQuake and [ska]Vladmo are working on that)

- Progessbar now hides and shows without bugs!

Notice: It won't have empty fuel on a car ever! Every car will have fuel if you have entered it first after respawn or someone didn't depleted it! People who thinks this sucks should try this and reconsider their thinkings!

Vote for it on community site if you like the script!

UPDATED on 04.08.2007.

Fixed bugs spotted by XetaQuake

mtascreen0009na8.th.png

Download:

https://community.multitheftauto.com/index.php?p=resources&s=details&id=119

I knew you'll read small letters ^^

Ok then add credits to me if you use it modified!

Cheers ;)

Nidza

Edited by Guest
Link to comment
  • Replies 97
  • Created
  • Last Reply

Top Posters In This Topic

wow nice! i thank you!

but i have found some bugs :)

  1. When the car are out of full, and when i destroy them, the respawned car have no petrol!
  2. when i don´t in a car, the progress bar are still shown, can you change this pleas?
  3. can you pleas add a little bit more petrol to the cars? so that its take a little bit longer that the car get out of fuel. i think most of the users want this to.
  4. i think its better when the gas stations have markers, so it is better to see
  5. refuel don´t cost money, can you add it that it cost money to refuel the car? i think 10$ for 10% is good

Link to comment

Thanks for nice comments :)

@XetaQuake:

1. Will be fixed I'm just right now working on it

2. Well i made it to progress bar just ain't filled and to label says out of vehicle but no problem will be changed

3. As I measured, whole SA (traveling by the rail, measuring with my Distance Traveled script) has 22km, and this depletes 1% per 100m its pretty much enough to travel from city to city but ok I'll change it

4. This is WIP (Work In Progress) so it still has no gas station markers, if you can get me coords of stations it could be done easily

5. It's still WIP and most people take those scripts for fun, without money, but ok I'll add a command for changing it (cost / no cost)

@Borov

Believe me this ain't usual fuel system, its not on a timer!

Vote for this if you like it!

Cheers ;)

Nidza

Link to comment

@CodeMaster:

thanks for support :)

I'm curious about new versions, YEA :D

to the coords: hm when i think about gas stations, i notice that i don´t know any gas stations there not on Las Venturas :shock:

lol i playing GTA:SA now 3 years, and i forgot all gas stations...sorry :lol:

but i can search all gas stations in Las venturas, want you it?

Link to comment

@XetaQuake

I found about thousand gas stations around LV (especially in villages) ^^

If you can get coords please do so :)

If you need I'll release a script I made for myself for gathering them.

1. FIXED

2. FIXED

3. FIXED

4. PENDING

5. PENDING

And by a mistake I uploaded it as version 1.0.0 again, but its ok anyways next release will be v2 :P

Please vote for this resource here:

https://community.multitheftauto.com/index.php?p=resources&s=details&id=119&vote=5

UPDATED

Link to comment

Thanks for supporting me :)

I'm gonna work on new version as soon as possible, but I got some exams which awaits me, so development is going to be a bit slowed down...

BTW: I have noticed that at those best votes (5's) almost in every my script someone puts one 1, I'm curious about reason you dislike it. If you don't like something please say it don't hide it behind my back, I'm doing my best to make this scripts work well.

Link to comment
BTW: I have noticed that at those best votes (5's) almost in every my script someone puts one 1, I'm curious about reason you dislike it. If you don't like something please say it don't hide it behind my back, I'm doing my best to make this scripts work well.

Don't care about it there are some idiots around the resource center that rate every new resource with 1...

Link to comment

and here is it :) all gas stations i found:

  
  [b]GAS STATIONS FOR CARS[/b] 
X:2114.6799316406 Y:920.03802490234 Z:10.8203125 RX:0 
X:2639.9396972656 Y:1106.4301757813 Z:10.376944541931 
X:2147.025390625 Y:2747.4851074219 Z:10.392276763916 
X:2202.6599121094 Y:2474.2084960938 Z:10.389625549316 
X:1595.8334960938 Y:2199.1372070313 Z:10.392153739929 
X:292.55081176758 Y:2541.2055664063 Z:16.820880889893 
X:611.92376708984 Y:1694.8377685547 Z:6.9921875 
X:-1328.3668212891 Y:2677.4641113281 Z:50.0625 
  

  
  [b]GAS STATIONS FOR PLANES[/b] 
X:1564.6478271484 Y:1504.2807617188 Z:10.415808677673 
X:290.96713256836 Y:2543.8508300781 Z:16.82049369812 
  

i searched in this radius:

gasstationsfv8.th.jpg

its possibly that i overlooked one or two gas stations, but i dont think it because i have searched along all streets :)

Link to comment

Thats hell of a job! Thank you! And how do you mean Plane Gas Stations?

I'll add them for now, and in 1.5 I'll fix some errors that I've been spotted, but I don't think they would really make any troubles to any of you, but still I want this to be clean job...

BTW: I got a problem with making markers to be auto implemented as map files, I added an marker as a .map file but it just won't add its self automatically. And yes I did added map to the meta.xml. But I'm unsure how can I choose a script map because for game mode u use ex. : changemode cdm cdm_ls

But how can I run a map which is with an script resource?

Link to comment

Update on Progress to v1.5:

Fixed a ProgressBar bug (progressbar won't show when player get car by admin panel 
Added XetaQuake's gas stations 
Making refuel system 

Thanks for the kind help from:

XetaQuake 
People who helped me on IRC 
And to all of you who supports me 

Cheers ;)

Nidza

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...