CaptainDingo Posted March 7, 2009 Share Posted March 7, 2009 (edited) It's finally done! First off, big props go to Gangsta Killa whose beginner guide on coding inspired me to even do this in the first place (I'm kind of a fast learner, my first script mod just hours later ). Also, thanks to HazardX for turning on the lightbulb over my head and giving me a clue on where to gather the resources I needed to make this mod work the way I wanted. Thanks also to Vetra for helping me with his big huge daunting string replacement thingy! Even though I just spelled his name wrong in my .txt file, he'll find it in his heart to forgive me! This mod requires HazardX's .NET Scripthook. The next major version is complete![Download Now!] Then Click Here to download the quick fix to the "raising MAXHUNGER above 1,000 starts you out hungry" problem. Sorry, I'm busy right now so I don't have time to re-zip the archive and announce it as a new version or anything. CHANGES The speed at which you get hungry and the money it costs to deliver food to your refrigerators is edited via the .ini file Yes, that's right, dial 555-FOOD and all your safehouses will be stocked with food for a fee! Take food out of the refrigerators (or the cabinets for the west safehouse) by using the ; key (currently not configurable, sorry!) Carry one food item with you at a time; it acts like a mobile hunger/health reliever when you eat it by pressing the ' key (currently not configurable, maybe next version!) Eat it in the car! New status bar replaces the barrage of messages about your state of hunger! As it widens, your hunger grows! Just as before, you can go to Cluckin' Bell, Burger Shot, any nut/hotdog/Sprunk stand and any Sprunk machine to relieve your hunger, and you'll slowly starve to death when your hunger reaches its maximum! HOW TO CHANGE THE .INI The things under [sETTINGS] are the two things that have designed to be changed. MAXHUNGER is how many units of hunger must be burned through before you begin starving. So if you want it to take LONGER to get hungry, INCREASE this value. The default is 1,000 and is personally my favorite. ORDERFOODCOST is the dollar amount required to stock your refrigerators. The default is $200. Please do NOT change anything under [DONOTTOUCH] or the script may fail. KNOWN ISSUES None, except one graphical flaw, not a functional flaw (it doesn't affect the way the mod works): Eating food taken out of the refrigerator while you're crouched makes Niko do some... interesting levitating trick. If any of you scripters out there know how to design an if condition to work around whether Niko is crouching or not, send me a PM so I can fix it in the next version!Possible goals/ideas for future versions:*Implement a water bottle Niko carries with him at all times so he can regain his ability to sprint by taking a gulp? *Dial a number to have a delivery guy deliver takeout to your location? DONE (Sort of, it took on a different incarnation) *Be able to eat food from the refrigerators of your safehouses? DONE *Other detriments to being extremely hungry, like poorer accuracy? *A hunger status bar in place of messages? DONE *Maybe even some sort of a buff for being fed? Edited March 20, 2009 by CaptainDingo Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/ Share on other sites More sharing options...
loczek47 Posted March 7, 2009 Share Posted March 7, 2009 Hehe, Awesome job on it! Downloadin' now. EDIT: lol, didn't noticed link isn't available Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059037939 Share on other sites More sharing options...
smochina4000 Posted March 7, 2009 Share Posted March 7, 2009 Good mod! Can be added something like training? Just like "GTA S-A"... Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059038089 Share on other sites More sharing options...
a-k-t-w Posted March 7, 2009 Share Posted March 7, 2009 (edited) Good mod! Can be added something like training? Just like "GTA S-A"... No that isn't possible yet. (and I have high hopes that it won't ever be) Can you upload it now? Edited March 7, 2009 by a-k-t-w Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059038606 Share on other sites More sharing options...
Dvt-MedShot Posted March 7, 2009 Share Posted March 7, 2009 Good mod! Can be added something like training? Just like "GTA S-A"... No that isn't possible yet. (and I have high hopes that it won't ever be) Can you upload it now? There are gym training models in \Grand Theft Auto IV\pc\data\maps\props\commercial\beauty.img: And there are files of barbers and jewelry... Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059038682 Share on other sites More sharing options...
CaptainDingo Posted March 7, 2009 Author Share Posted March 7, 2009 Link's up! Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059038790 Share on other sites More sharing options...
HippieCommunist Posted March 7, 2009 Share Posted March 7, 2009 nice work... reminded me of Oblivion for some reason Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059039091 Share on other sites More sharing options...
smochina4000 Posted March 7, 2009 Share Posted March 7, 2009 Can be done? Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059039763 Share on other sites More sharing options...
Nikkola bellic,Belgrade,Serbia Posted March 7, 2009 Share Posted March 7, 2009 nice work... reminded me of Oblivion for some reason lol Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059039843 Share on other sites More sharing options...
CaptainDingo Posted March 7, 2009 Author Share Posted March 7, 2009 (edited) Can be done? Sorry man, I don't think I'll be doing anything like exercise or training with this mod (but who knows... maybe...). However, I already have a new feature that's about 75% done for the next release and I wanted to tell you guys about it. In the next version you'll be able to go to the refrigerator of any safehouse and bring along one food item with you that can be eaten anywhere, anytime. Across all safehouses, you can only access up to ~10 or so food items in this way before they become empty. When the refrigerators run out, you dial a grocery delivery service (Unsure of the phone number yet) and all your safehouses will be restocked within the next minute or so for a fee. You'll pay a little extra for food in this manner, but you'll basically have one portable food source that you can take with you into a mission or wherever to heal with and to make sure you don't starve (because I'm aware many missions are long and you might not have an opportunity to stop and eat somewhere ). Oh, and you can eat it in your car if you want! So look forward to that! Edited March 7, 2009 by CaptainDingo Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059039944 Share on other sites More sharing options...
smochina4000 Posted March 7, 2009 Share Posted March 7, 2009 Wow! Verry nice add-on... Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059039956 Share on other sites More sharing options...
TheRealPcGamer Posted March 8, 2009 Share Posted March 8, 2009 Great for the upcoming updates, because Niko always get starving just less than 10 minutes IRL Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059040922 Share on other sites More sharing options...
Fischkopf Posted March 8, 2009 Share Posted March 8, 2009 Can you add the feature to get fat? Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059041085 Share on other sites More sharing options...
CaptainDingo Posted March 8, 2009 Author Share Posted March 8, 2009 (edited) Great for the upcoming updates, because Niko always get starving just less than 10 minutes IRL I know, the speed at which Niko goes hungry is maybe a bit extreme right now when trying to keep story gameplay in mind. I personally play the game in short bursts on a complete save but I'm going to start a new game and play through the story again and see if I should make it take a bit longer for him to go hungry for all of you still doing missions or who just like playing new games. However, the good news is the new feature is 100% implemented and works very well! After I replay some of the story and balance the numbers a bit I will upload the new version. To be exact, the current time it takes to go from full to starving is 16.6 minutes. I may round that off to 20 minutes even, and with the new addition of one portable food source, you should notice greater eating options and less chance of starving on a long mission. And it's even better since you can eat it in the car, so you don't have to disturb what you're currently doing. Can you add the feature to get fat? Niko already looks a little soggy around the edges though, doesn't he? Unfortunately I can't do this until we can alter models, and ultimately I don't know if I would add this feature even if I could, since it's more of a vanity thing and would require a ton of work. Edited March 8, 2009 by CaptainDingo Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059041271 Share on other sites More sharing options...
TheRealPcGamer Posted March 8, 2009 Share Posted March 8, 2009 CaptainDingo, how about you included an addition file .INI so we can edit as we like how much time from full to starving. Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059041286 Share on other sites More sharing options...
CaptainDingo Posted March 8, 2009 Author Share Posted March 8, 2009 Because I don't know how. lol I think I saw Gangsta Killa post somewhere in a tutorial how to do it though, so I'll give it a try? Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059041291 Share on other sites More sharing options...
TheRealPcGamer Posted March 8, 2009 Share Posted March 8, 2009 Because I don't know how. lol I think I saw Gangsta Killa post somewhere in a tutorial how to do it though, so I'll give it a try? Great. Try it. I can't wait for the new update Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059041309 Share on other sites More sharing options...
CaptainDingo Posted March 8, 2009 Author Share Posted March 8, 2009 Next version might not be for a little bit. I'm currently undergoing some serious coaching to figure out writing to my .ini (which I need to do so the script can remember how much food you have in your safehouses). Writing one little integer to a file may turn out to be more work than the entire mod itself. Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059042211 Share on other sites More sharing options...
CaptainDingo Posted March 8, 2009 Author Share Posted March 8, 2009 New version is out! Gobble it up, children! Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059043545 Share on other sites More sharing options...
smochina4000 Posted March 9, 2009 Share Posted March 9, 2009 Wow ! Nice! Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059045047 Share on other sites More sharing options...
polodave Posted March 9, 2009 Share Posted March 9, 2009 Wow nice !! thank you for this awesome modification !! Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059045837 Share on other sites More sharing options...
CaptainDingo Posted March 9, 2009 Author Share Posted March 9, 2009 No problem. It's feedback that keeps me wanting to make more stuff. Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059045928 Share on other sites More sharing options...
TheRealPcGamer Posted March 10, 2009 Share Posted March 10, 2009 Ow CaptainDingo, does the bar can be toggled appear/disappear? Since the bar is a bit annoying when we want to use the phone Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059047064 Share on other sites More sharing options...
gta-fixed Posted March 10, 2009 Share Posted March 10, 2009 awesome mod! Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059047069 Share on other sites More sharing options...
Rawmeat Posted March 10, 2009 Share Posted March 10, 2009 Hey! I can't get this to work, when i call for food it says I was billed 200$. Then it says "error in script" Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059047402 Share on other sites More sharing options...
CaptainDingo Posted March 10, 2009 Author Share Posted March 10, 2009 Are you sure you put the .ini file in the same folder as the .dll? Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059048735 Share on other sites More sharing options...
CaptainDingo Posted March 10, 2009 Author Share Posted March 10, 2009 Ow CaptainDingo, does the bar can be toggled appear/disappear? Since the bar is a bit annoying when we want to use the phone Sorry, I'll try to let you do that in the next version. :x But, it doesn't obscure the phone (for me) when you're actually dialing a number, since the phone raises above the bar. Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059048738 Share on other sites More sharing options...
Rawmeat Posted March 10, 2009 Share Posted March 10, 2009 Are you sure you put the .ini file in the same folder as the .dll? Yeah, when i open console it says something about unauthorized access amongst other things. Don't know how to copy the text from console else i would post it. Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059048873 Share on other sites More sharing options...
CaptainDingo Posted March 11, 2009 Author Share Posted March 11, 2009 Kind of weird. Right-click on both the mod and the .ini and make sure they're not read-only. Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059049184 Share on other sites More sharing options...
Rawmeat Posted March 11, 2009 Share Posted March 11, 2009 Argh! I hate vista sometimes... I ran GTAIV as administrator then it worked. Well good thing cause it's a cool mod. Looking forward to your drug mod Link to comment https://gtaforums.com/topic/401633-rel-gtaiv-hunger-mod/#findComment-1059051299 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