CaptainDingo Posted March 3, 2009 Share Posted March 3, 2009 Could you make the random fuel amounts never be zero? It makes no sense that I can jack a car a ped was just driving in two seconds ago, get in, and the tank is bone dry. As low as like 10% would be fine, but I can't think of even anyone's parked car that sits there with nothing in it, so it would make more sense across the board for the tank to never randomize to 0 fuel. Link to comment Share on other sites More sharing options...
Andrew Posted March 3, 2009 Author Share Posted March 3, 2009 It shouldn't be from zero. The minium given is 100L, then the Maxium is the tank size. I'd check your INI file. Check that the amount of fuel saved, is not zero. If you've got out of a car with zero fuel, then that amount is stored. If you've then exited the game, then that is the fuel amount that will be applied at the next vehicle you enter on a new game. Link to comment Share on other sites More sharing options...
Viscera Posted March 4, 2009 Share Posted March 4, 2009 Hey GK, I read back a few posts of yours, you said you'll be adding more features to this already cool mod, well how about this, and i do not see why it can not be done since it is already in the game. Ok here it is, you know as we drive around town we see from time to time people with their car hoods up and their heads stuck in it portraying like they are working on their vehicles, well why not make that a part of this mod with Random break downs, i mean you never know when it will happen (which adds realism and added stress wondering when and at what worst time) your vehicle will break down on you. Now this is how it could work. You be driving in lets say any car, and its starts to cut out on ya and begins to stall which would give the person time to pull off the road before it completely dies on them. now once the car is park and is completely died then as if you pushed a automatic HOOD RELEASE the hood of the car would pop up and then driver would stand in front of the engine and the animation thats is in the game for that, would make the driver stick his head under the hood and then the PLAYER would type "FIX MY CAR" and the cars engine would start up and it all look like the Driver has just fixed his car and once the car starts up the hood automatically closes, driver gets in car and burns rubber down the road once again. Now for Trucks and Motor Bikes the command line to fix them would be "FIX MY TRUCK" and "FIX MY MOTORBIKE" By using quotations that would activate the text box so one can type in those command lines. What do you Think Gangsta Killa? what does everyone else think as well? Any way regardless GK you are doing an awesome job on this mod, Keep it up.... Link to comment Share on other sites More sharing options...
CaptainDingo Posted March 4, 2009 Share Posted March 4, 2009 (edited) Hrmmm... yeah, kind of working off the idea Viscera just said, would it be possible to get out of a car when its engine is busted and be able to hit a key and have Niko perform the NPC "working under the hood" animation to fix it at some sort of cost? I mean, I've fiddled in config files enough to know that Niko can be animated with other NPC's animations, for instance he can walk around like a hooker (which is funny). Edit: By the way, for those interested, the most realistic settings for refilling would be something like a REFUELAMT of 50 and then setting the fuel prices to real-world prices, varying of course with all the gas stations if you like. The reason I say 50 is because the tank size max is 1,000, and 1,000 divided by 50 is 20, 20 gallons being more or less the capacity of your average vehicle. Which means 50 units is a "realistic" gallon, so each tick you get one gallon of gas and pay $3 or whatever. Edited March 4, 2009 by CaptainDingo Link to comment Share on other sites More sharing options...
Viscera Posted March 4, 2009 Share Posted March 4, 2009 Hrmmm... yeah, kind of working off the idea Viscera just said, would it be possible to get out of a car when its engine is busted and be able to hit a key and have Niko perform the NPC "working under the hood" animation to fix it at some sort of cost? I mean, I've fiddled in config files enough to know that Niko can be animated with other NPC's animations, for instance he can walk around like a hooker (which is funny). Edit: By the way, for those interested, the most realistic settings for refilling would be something like a REFUELAMT of 50 and then setting the fuel prices to real-world prices, varying of course with all the gas stations if you like. The reason I say 50 is because the tank size max is 1,000, and 1,000 divided by 50 is 20, 20 gallons being more or less the capacity of your average vehicle. Which means 50 units is a "realistic" gallon, so each tick you get one gallon of gas and pay $3 or whatever. Just want to say the only reason why one would pay to fix their own car when they can do it them selves, is if its coded in that some times when the car breaks down that it just can't be fixed By Niko and then thats where you call a tow truck and the tow truck guy would fill any gas you may need and repair the engine. Other then that there is no reason if you can fix it your self lets say 90% of the time then why should you pay to fix your own car? Link to comment Share on other sites More sharing options...
Andrew Posted March 4, 2009 Author Share Posted March 4, 2009 Definately an idea. I'll look into that. It shouldn't be too hard to make niko appear to fix the car. As for the bonnet again shouldn't be too hard. The hard part will be the logic so the breakdowns don't occur too often. I suppose I could give the car a general health item. Then with too many crashes etc the car stops? Link to comment Share on other sites More sharing options...
CaptainDingo Posted March 5, 2009 Share Posted March 5, 2009 (edited) Actually my thoughts on it are don't touch anything dealing with controlling the damage done to cars, since cars already automatically fail to start when enough damage has been done to the engines. It's already been done for you by Rockstar. All you should theoretically have to do is let Niko fix the damage done himself (perhaps for a slightly higher cost than it would be to go to a Pay and Spray). If the script handled damaging and deciding when my car fails, I'd probably not use it anymore, period. Just something to keep in mind. Edited March 5, 2009 by CaptainDingo Link to comment Share on other sites More sharing options...
Viscera Posted March 5, 2009 Share Posted March 5, 2009 Definately an idea. I'll look into that. It shouldn't be too hard to make niko appear to fix the car. As for the bonnet again shouldn't be too hard. The hard part will be the logic so the breakdowns don't occur too often. I suppose I could give the car a general health item. Then with too many crashes etc the car stops? Well there is that yes, or just figure in a math percentage for a random break down kinda like how a Slot Machine pays off, other wise after so many pulls of the lever the machine pays off well kinda same concept perhaps certain areas of a street or street sign or after every so many blocks you drive by can act as a trigger that will cause the vehicle to break down and sense you have no clue what may trigger the break down that would make it totally random or at least seem random. But how ever you do it i know you'll do it with STYLE..... Link to comment Share on other sites More sharing options...
Andrew Posted March 5, 2009 Author Share Posted March 5, 2009 I'll just use the car engine health, then when the health is at a certain point do whatever. I'll put that idea down for 2.3. 2.2 is the next step and a big part of that is the vehicle DB and able to add userstations. I'll make it so that all you have to do is type a console command to add the station. Link to comment Share on other sites More sharing options...
Viscera Posted March 6, 2009 Share Posted March 6, 2009 I'll just use the car engine health, then when the health is at a certain point do whatever. I'll put that idea down for 2.3. 2.2 is the next step and a big part of that is the vehicle DB and able to add userstations. I'll make it so that all you have to do is type a console command to add the station. IIGHT sounds Cool Link to comment Share on other sites More sharing options...
Andrew Posted March 6, 2009 Author Share Posted March 6, 2009 Alright I figured I'd post what the development roadmap plan is. V2.2 - users able to add their own stations - car database, each car has their own tank size / fuel usage amount - some helicopter / boat fuel stations V2.3 - Random car breakdowns depending on engine health - Siphon fuel from cars - More helicopter / boat fuel stations V2.4 - Peds vehicles can run out of fuel - Fuel stations have individual pumps Thats the basic development ideas, I'm going to be working to. I can't really say when each version will be released. But 2.2 is nearly there. All that needs doing on 2.2 is finish adding all the vehicles to the car database, add some helicopter / boat fueling stations. Link to comment Share on other sites More sharing options...
a-k-t-w Posted March 6, 2009 Share Posted March 6, 2009 Great! Nice Link to comment Share on other sites More sharing options...
Andrew Posted March 8, 2009 Author Share Posted March 8, 2009 Quick update, I've now included the add your own station system. Its uses a console command with parameters. addstation price radius name Link to comment Share on other sites More sharing options...
Spider-Vice Posted March 8, 2009 Share Posted March 8, 2009 I like this mod but when it's to consume fuel, I go out of fuel very fast! I can't even go from Alderney to Algonquin... let your hopes and dreams turn into burning fire! GTANet | Red Dead Network | kifflom black lives matter | stop Asian hate | trans lives = human lives Link to comment Share on other sites More sharing options...
Symbiote Posted March 8, 2009 Share Posted March 8, 2009 I like this mod but when it's to consume fuel, I go out of fuel very fast! I can't even go from Alderney to Algonquin... That's what the .ini file is for. Link to comment Share on other sites More sharing options...
a-k-t-w Posted March 10, 2009 Share Posted March 10, 2009 When will the next version be released? Link to comment Share on other sites More sharing options...
the_gas Posted March 11, 2009 Share Posted March 11, 2009 Hi Gangsta, tried out your latest version and its great. Had a problem though with the fuel amount changing as i changed car. I have a car at my safehouse, with hardly any fuel in, just enough to make it to the pumps. Did a mission in another car, then came back to cruize around and fill up and i had almsot a full tank. Is there anyway i can get it to remember the amount even if i leave the car? I swear there used to be some sort of save command in earlier versions. Thanks Link to comment Share on other sites More sharing options...
Andrew Posted March 11, 2009 Author Share Posted March 11, 2009 There was some sort of save commands, I'll add it back in. Sadly other then having a save/load command there is no way of remembering the fuel. After you leave the car parked up a while and have gone away from it. The game resets it which changes the ID I use to access it. I'll see about tweaking it slightly so it remembers it based on the car model as well. The new version should be out within a week, I'm fitting it in around my University work, I've just got to finish off the carDB. Then we should be good to go for a release. Link to comment Share on other sites More sharing options...
the_gas Posted March 12, 2009 Share Posted March 12, 2009 Excellent. Think i might have to stop playing the game again (i lost my save file, i was near the end of the game), as i want it with the save option. So i started again and decided to play the game through with the first person driver mod, and your mod. Link to comment Share on other sites More sharing options...
a-k-t-w Posted March 13, 2009 Share Posted March 13, 2009 So, err... ya done yet? Link to comment Share on other sites More sharing options...
Andrew Posted March 13, 2009 Author Share Posted March 13, 2009 (edited) Like I said give me a couple of days. I've got about 35od more cars to add to the Vehicle DB. Re add in the fuel saving keypresses and that should be that. I'll have it done by Sunday. Edit: Right thats all the vehicles in the vehicleDB, except for 4. Just need some keys and we're sorted then. Edited March 13, 2009 by Gangsta Killa Link to comment Share on other sites More sharing options...
a-k-t-w Posted March 14, 2009 Share Posted March 14, 2009 Oh, cool Link to comment Share on other sites More sharing options...
Andrew Posted March 14, 2009 Author Share Posted March 14, 2009 Hmm might be delayed till Sunday evening, whilst adding in the carDB, and changing a few things around I broke the script, the game exits. I can't work out what I've done wrong. So its time to run all the code through manaully, lol. Link to comment Share on other sites More sharing options...
the_gas Posted March 14, 2009 Share Posted March 14, 2009 Hmm might be delayed till Sunday evening, whilst adding in the carDB, and changing a few things around I broke the script, the game exits. I can't work out what I've done wrong. So its time to run all the code through manaully, lol. Oh dang, hope you get it sorted. Link to comment Share on other sites More sharing options...
OLDCell Posted March 14, 2009 Share Posted March 14, 2009 Love this mod, I have tweaked the ini file and got it how I like it. Looking forward to next rls and tweaking even more stuff !! Great work Link to comment Share on other sites More sharing options...
Andrew Posted March 14, 2009 Author Share Posted March 14, 2009 (edited) I've worked out that its the loading of the carDB into the game thats causing the problem, but why I don't know. Edit: fixed it Edit2: Release will probably be tonight. Edit3: Thought I'd fixed it, seems to be reoccuring. Definately fixed it now. Release in a few hours. I'm just finding more problems. I'm in the proces of switching the default stations from the code to a data file. Except now the blips aren't working correctly... always same icon and no name.. Gah, expect a release sometime on sunday. Right todays plan is to rewrite the fuelStation class, and fuelStation code and see if I can detect where its going wrong. Edit: Thats random, it seems the game is saving the blips on screen, ah well. Edited March 15, 2009 by Gangsta Killa Link to comment Share on other sites More sharing options...
OLDCell Posted March 15, 2009 Share Posted March 15, 2009 I've worked out that its the loading of the carDB into the game thats causing the problem, but why I don't know. Edit: fixed it Edit2: Release will probably be tonight. Edit3: Thought I'd fixed it, seems to be reoccuring. Definately fixed it now. Release in a few hours. I'm just finding more problems. I'm in the proces of switching the default stations from the code to a data file. Except now the blips aren't working correctly... always same icon and no name.. Gah, expect a release sometime on sunday. Right todays plan is to rewrite the fuelStation class, and fuelStation code and see if I can detect where its going wrong. Edit: Thats random, it seems the game is saving the blips on screen, ah well. Looking forward to the rls, Sounds like alot of hard work going over the same problem... Keep up the good work Link to comment Share on other sites More sharing options...
Andrew Posted March 15, 2009 Author Share Posted March 15, 2009 (edited) 2.2 has been released, check the gtagarage page for the download. -> http://www.gtagarage.com/mods/show.php?id=5538 The md5 hash of the zip file is F41AFE2627C47EFC02A04F6FD8277F27. There hasn't been many changes since 2.1, just a few engine changes and the ability to add stations. - Each car has its own fuel tank size and fuel drain ratio. The carDB file has been split up into various sections based on car type. - Default stations are no longer set within the mod, they are contained in three seperate files. carFuelStations.pet, boatFuelStations.pet and heliFuelStations.pet. You can add to either of these by using the addStationHeli, addStationBoat, addStation console commands. See the Controls section for more info. (Note: at the moment you cannot add to the carFuelStation.pet file) - As well as being able to change the default stations, you can also add your own stations to the userFuelStations.pet file, using the addStation command. - By user request, I've added back in the Save/Load fuel system, this only stores ONE value of fuel, but can be restored at any time. - There are a handful of Boat and Helicopter fuel stations within the game. These are designated by the Heli / Boat blip name. - There should be three types of blip displayed now, A red fuel pump, white fuel pump and a white fuel pump with a U in it. These represent stealing locations, default stations and user stations. (Note: whilst testing I was having problems with these not displaying correctly, but this might only be related to my game.) Any bugs, post in this topic. Edited March 15, 2009 by Gangsta Killa Link to comment Share on other sites More sharing options...
OLDCell Posted March 15, 2009 Share Posted March 15, 2009 (edited) Downloaded !! Will test right after I have finished making flapjacks EDIT: Real nice, I like the different tank sizes... Im probs gonna edit those and have a maximum tank size of 600 and smaller for the bikes and see how that works out... But its all working true to form, not tested the adding of Heli or Boat stations but I would say those already set up are enough. Great work love it !! Edited March 15, 2009 by OLDCell Link to comment Share on other sites More sharing options...
Andrew Posted March 15, 2009 Author Share Posted March 15, 2009 (edited) I'm currently working on a database editor for the cars, it should be released within an hourish or so. Edit: http://www.gtagarage.com/mods/show.php?id=5538 -> Released the car database editor. Should make it easier to edit the database. Edited March 15, 2009 by Gangsta Killa Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now