Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

the_gas

Petrol Mod

Recommended Posts

Leopard_
have you found any others since the one included in the mod (leopard)

No. Don't have time, that's why i'm asking if any other one wants to do it.

Share this post


Link to post
Share on other sites
sammclean23
have you found any others since the one included in the mod (leopard)

No. Don't have time, that's why i'm asking if any other one wants to do it.

yeah ill find all the ones on first island tonight

Share this post


Link to post
Share on other sites
Leopard_
have you found any others since the one included in the mod (leopard)

No. Don't have time, that's why i'm asking if any other one wants to do it.

yeah ill find all the ones on first island tonight

Sounds good, good luck then. I'm going to sleep now.

Share this post


Link to post
Share on other sites
sammclean23
have you found any others since the one included in the mod (leopard)

No. Don't have time, that's why i'm asking if any other one wants to do it.

yeah ill find all the ones on first island tonight

Sounds good, good luck then. I'm going to sleep now.

okay ill let you know

 

bye

Share this post


Link to post
Share on other sites
sammclean23
have you found any others since the one included in the mod (leopard)

No. Don't have time, that's why i'm asking if any other one wants to do it.

yeah ill find all the ones on first island tonight

Sounds good, good luck then. I'm going to sleep now.

okay ill let you know

 

bye

Hi,

 

I searched for the stations on the first island (not including ajoining ones). I found them as have shown them in the attachment. The only thing i could not do is get the coordinates or find "petrol.log". If you tell me how to do this I will do it asap.

 

I tried using Alice using patch 1.02 but no coordinates sad.gif

 

i will gladly do anything to my capability smile.gif as i am a fan of the petrol mod, in SA also user posted image

Share this post


Link to post
Share on other sites
the_gas

Great work guys, will test this out shortly.

Share this post


Link to post
Share on other sites
the_gas

Ok, small problem. What the hell do i do with this file.

Share this post


Link to post
Share on other sites
Andrew
@Leopard, how did you manage to stop the cars engine?

I turned off the engine, then setted the engine health to 0. Combination works great. Niko never success starting the car tounge2.gif

But the smoke appears, which i don't want.

Might aswell share what i have...

 

void OnVehicleFuelStop(Ped ped){Vehicle veh;GetCarCharIsUsing(ped, &veh);SetEngineHealth(veh, 0.0);SetCarEngineOn(veh, 0, 1);BottomText("Out of fuel", 4000);}

 

Thats awesome, what is it you're making the mod in? Since the .net scripthook doesn't have the SetCarEgnineOn sorted yet. I've got to do nativecalls for this.

Share this post


Link to post
Share on other sites
Pandur

 

Ok, small problem. What the hell do i do with this file.

 

It's an asi file. You need an asi loader to use it. Try Alexander Blade's Asi Loader or Yaasil or a similar tool, then put the

file in your GTA root folder and start the game.

 

Nice mod, as far as I tested it. Only "problem" is, if you ran out of fuel and leave your car, the fuel is set to full as soon

as you enter the same car again. Although you cant start the engines the fuel decreases constantly. Its a bit weird, but

nevertheless, its an awesome work!!!

 

Somehow there have to be a kind of save function, that remembers the amount of fuel in the cars...

That would make the mod perfect!!! colgate.gif

Edited by Pandur

Share this post


Link to post
Share on other sites
the_gas

Ah yes, this was my main worry. Top effort, but for me it has to be realistic. I want my fuel amount to be saved. Obviously, i guess this will only be possible for one car. But for me its essential to the mod.

Share this post


Link to post
Share on other sites
Leopard_

 

@Leopard, how did you manage to stop the cars engine?

I turned off the engine, then setted the engine health to 0. Combination works great. Niko never success starting the car tounge2.gif

But the smoke appears, which i don't want.

Might aswell share what i have...

 

void OnVehicleFuelStop(Ped ped){Vehicle veh;GetCarCharIsUsing(ped, &veh);SetEngineHealth(veh, 0.0);SetCarEngineOn(veh, 0, 1);BottomText("Out of fuel", 4000);}

 

Thats awesome, what is it you're making the mod in? Since the .net scripthook doesn't have the SetCarEgnineOn sorted yet. I've got to do nativecalls for this.

I'm doing it in C++ script hook.

 

static void SetCarEngineOn(Vehicle veh, int on1, int on2_alt) { NativeInvoke::Invoke<scriptVoid>("SET_CAR_ENGINE_ON", veh, on1, on2_alt); }

 

Good luck converting it to .net. I know nothing about it.

 

 

 

Only "problem" is, if you ran out of fuel and leave your car, the fuel is set to full as soon

as you enter the same car again.

 

Yeah, i remember having the problem when i did the script. IF i knew how to use arrays, then it would support that.

 

 

Hi, 

 

I searched for the stations on the first island (not including ajoining ones). I found them as have shown them in the attachment. The only thing i could not do is get the coordinates or find "petrol.log". If you tell me how to do this I will do it asap.

 

I tried using Alice using patch 1.02 but no coordinates sad.gif

 

i will gladly do anything to my capability smile.gif as i am a fan of the petrol mod, in SA also user posted image

 

Hmm... you sure you pressed F10? It should be telling you some coordinates bottom text. And the petrol.log is located in GTA IV's root folder.

 

Oh and thanks for the picture! Shall i be getting coordinates or you? If you have free time you are free to do it biggrin.gif

Share this post


Link to post
Share on other sites
Andrew

 

@Leopard, how did you manage to stop the cars engine?

I turned off the engine, then setted the engine health to 0. Combination works great. Niko never success starting the car tounge2.gif

But the smoke appears, which i don't want.

Might aswell share what i have...

 

void OnVehicleFuelStop(Ped ped){Vehicle veh;GetCarCharIsUsing(ped, &veh);SetEngineHealth(veh, 0.0);SetCarEngineOn(veh, 0, 1);BottomText("Out of fuel", 4000);}

 

Thats awesome, what is it you're making the mod in? Since the .net scripthook doesn't have the SetCarEgnineOn sorted yet. I've got to do nativecalls for this.

I'm doing it in C++ script hook.

 

static void SetCarEngineOn(Vehicle veh, int on1, int on2_alt) { NativeInvoke::Invoke<scriptVoid>("SET_CAR_ENGINE_ON", veh, on1, on2_alt); }

 

Good luck converting it to .net. I know nothing about it.

 

 

C++, and C#.net are very similar. So it should be relatively easy. So I have no idea why I'm doing the mod in C#.net and not in C++, since I'm doing C++, DirectX game proggraming it university... ah well.

 

Thanks for that leopard

 

edit: Sorted that, many thanks.

Edited by Gangsta Killa

Share this post


Link to post
Share on other sites
sammclean23

 

i have all day

 

but i did press F10

 

and my bad, i need an asi loader dont i

 

and just searched again for petrol.log cant find sad.gif

Edited by sammclean23

Share this post


Link to post
Share on other sites
Leopard_

 

i have all day

 

but i did press F10

 

and my bad, i need an asi loader dont i

 

and just searched again for petrol.log cant find sad.gif

Did you see coordinates at the bottom of the screen?

 

 

Thanks for that leopard

edit: Sorted that, many thanks.

 

No problem.

Share this post


Link to post
Share on other sites
sammclean23
i have all day

 

but i did press F10

 

and my bad, i need an asi loader dont i

 

and just searched again for petrol.log cant find sad.gif

Did you see coordinates at the bottom of the screen?

 

 

Thanks for that leopard

edit: Sorted that, many thanks.

 

No problem.

be 5 minute going to try now

Share this post


Link to post
Share on other sites
sammclean23

 

i have all day

 

but i did press F10

 

and my bad, i need an asi loader dont i

 

and just searched again for petrol.log cant find sad.gif

Did you see coordinates at the bottom of the screen?

 

 

Thanks for that leopard

edit: Sorted that, many thanks.

 

No problem.

be 5 minute going to try now

right what am i doing wrong.

 

i have downloaded alice. put the correct content into my GTAIV directory.

I downloaded an ASI loader and put that in the gtaiv directory.

 

i have put the coordinates.lua in the alic folder in gtaiv.

 

no coordinates in game?

Edited by sammclean23

Share this post


Link to post
Share on other sites
Leopard_
right what am i doing wrong.

 

i have downloaded alice. put the correct content into my GTAIV directory.

I downloaded an ASI loader and put that in the gtaiv directory.

 

i have put the coordinates.lua in the alic folder in gtaiv.

 

no coordinates in game?

You should put Petrol.asi into gta iv's root folder. Not the coordinates.lua. Then press F10 (it's builded into my mod) and it should give you petrol.log and coordinates at the bottom of the screen.

Share this post


Link to post
Share on other sites
sammclean23
right what am i doing wrong.

 

i have downloaded alice. put the correct content into my GTAIV directory.

I downloaded an ASI loader and put that in the gtaiv directory.

 

i have put the coordinates.lua in the alic folder in gtaiv.

 

no coordinates in game?

You should put Petrol.asi into gta iv's root folder. Not the coordinates.lua. Then press F10 (it's builded into my mod) and it should give you petrol.log and coordinates at the bottom of the screen.

right will do...where shall i post the results

 

here or the other site, gta4pc

 

and one more thing, do i need alice?

Share this post


Link to post
Share on other sites
Leopard_
right what am i doing wrong.

 

i have downloaded alice. put the correct content into my GTAIV directory.

I downloaded an ASI loader and put that in the gtaiv directory.

 

i have put the coordinates.lua in the alic folder in gtaiv.

 

no coordinates in game?

You should put Petrol.asi into gta iv's root folder. Not the coordinates.lua. Then press F10 (it's builded into my mod) and it should give you petrol.log and coordinates at the bottom of the screen.

right will do...where shall i post the results

 

here or the other site, gta4pc

 

and one more thing, do i need alice?

You decide if you want to post on my forum, or this. I would choose this, so other people can see where the gas stations are.

 

And you don't need alice.

Share this post


Link to post
Share on other sites
sammclean23

can multiplayer still be used using mods like this?

 

not that it matters to me just wonderd

Share this post


Link to post
Share on other sites
sammclean23

NOOOOO!!!!

 

HELP!!

 

aFTER ATTEMPTING TO RID OF ALICE THE GAME DOES NOT START

 

TELL ME IF THERE IS ANYTHING MISSING FROM GTAIV FOLDER

user posted image

user posted image

Share this post


Link to post
Share on other sites
sammclean23
right what am i doing wrong.

 

i have downloaded alice. put the correct content into my GTAIV directory.

I downloaded an ASI loader and put that in the gtaiv directory.

 

i have put the coordinates.lua in the alic folder in gtaiv.

 

no coordinates in game?

You should put Petrol.asi into gta iv's root folder. Not the coordinates.lua. Then press F10 (it's builded into my mod) and it should give you petrol.log and coordinates at the bottom of the screen.

right will do...where shall i post the results

 

here or the other site, gta4pc

 

and one more thing, do i need alice?

You decide if you want to post on my forum, or this. I would choose this, so other people can see where the gas stations are.

 

And you don't need alice.

right after i reinstall the game, i will continue with the coordinates

 

i will have them by tonight, posted on here

Share this post


Link to post
Share on other sites
Pandur

 

TELL ME IF THERE IS ANYTHING MISSING FROM GTAIV FOLDER

 

hmm, couldnt find the sound.dll file in your folder... maybe that caused the conflict.

Share this post


Link to post
Share on other sites
sammclean23
TELL ME IF THERE IS ANYTHING MISSING FROM GTAIV FOLDER

 

hmm, couldnt find the sound.dll file in your folder... maybe that caused the conflict.

thanks. just realised. but was too late

 

uninstalled.

 

wish i waited

 

thanks anyway smile.gif

Share this post


Link to post
Share on other sites
FunGt

Leopard I have to register to download? Some1 can give me a mirror?

Share this post


Link to post
Share on other sites
Leopard_

 

Leopard I have to register to download? Some1 can give me a mirror?

Why can't you register?

 

EDIT:

OK, looks like i've fixed it. The script now supports of storing 100 vehicles petrol into an array. Thanks to the guys @ SA-MP IRC.

 

Download new version in my site.

Edited by Leopard_

Share this post


Link to post
Share on other sites
sammclean23

 

Leopard I have to register to download? Some1 can give me a mirror?

Why can't you register?

 

EDIT:

OK, looks like i've fixed it. The script now supports of storing 100 vehicles petrol into an array. Thanks to the guys @ SA-MP IRC.

 

Download new version in my site.

getting coordinates now leopard

 

just so i dont mess up again:

 

i need asi. loader

and your mod.

Share this post


Link to post
Share on other sites
Leopard_

 

Leopard I have to register to download? Some1 can give me a mirror?

Why can't you register?

 

EDIT:

OK, looks like i've fixed it. The script now supports of storing 100 vehicles petrol into an array. Thanks to the guys @ SA-MP IRC.

 

Download new version in my site.

getting coordinates now leopard

 

just so i dont mess up again:

 

i need asi. loader

and your mod.

Yeah. Take either YAASIL, ASI Loader, or XLiveLess.

Share this post


Link to post
Share on other sites
the_gas
Leopard I have to register to download? Some1 can give me a mirror?

Why can't you register?

 

EDIT:

OK, looks like i've fixed it. The script now supports of storing 100 vehicles petrol into an array. Thanks to the guys @ SA-MP IRC.

 

Download new version in my site.

So you are saying the game will remember the amount of petrol into and upto 100 vehicles, if so that is amazing. Very well done.

Share this post


Link to post
Share on other sites
sammclean23
Leopard I have to register to download? Some1 can give me a mirror?

Why can't you register?

 

EDIT:

OK, looks like i've fixed it. The script now supports of storing 100 vehicles petrol into an array. Thanks to the guys @ SA-MP IRC.

 

Download new version in my site.

getting coordinates now leopard

 

just so i dont mess up again:

 

i need asi. loader

and your mod.

Yeah. Take either YAASIL, ASI Loader, or XLiveLess.

so far so good...ill tell you the results soon...for now im gunna stop giving a running commentary lol

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.