View Full Version : Making an Hunger Satisfaction override for the cheap stove *fixed*
DutchXfan
17th Dec 2011, 01:19 PM
Mission: create an override for the cheap stove.
Instead of satisfying hunger with just '1', I want it to be the same as a more expensive stove.
Problem: how and where to start?
Should I start with a new package, extract the current code from the stove, paste it into the new package and then alter it, or should I clone the stove without giving it a new guid and then alter the existing code and then delete everything I don't need so it will override? Also, where do I alter that code? BHAV-init?
FYI: after 3 days of reading and following all tutorials I could find, my head is spinning. I've managed to figure out all the extra 'assignments' in the tutorials and everything worked well with the paintings and statues, so I assume I should be able to get this done. Unfortunately I still feel that I'm missing the big picture here. :wtf:
Anyone out there to help out a bit, please?
Echo
22nd Dec 2011, 11:19 AM
Modifying things like that normally comes down to a combination of BHAV hunting and, often BCON changes. You will need to look through all the BHAVs (both local and semi-global) for the stove object, and try to find any references to "Motive change". Once you find the right one, then you either need to change that BHAV directly, or change the BCON that it is using.
I'm not too clear what experience you have, so I'll just point you towards the Beginner BHAV tutorial here:
http://modthesims.info/showthread.php?t=142907
and the follow on here, which explains motives in more depth:
http://modthesims.info/showthread.php?t=222531
Good luck!
DutchXfan
22nd Dec 2011, 02:51 PM
Thank you for answering. I've already followed both tutorials (and more), and everything went well in those. I also tried some other things with paintings and statues and that worked as well (adding animations and changing motives and making sims learn). I just don't get it when it comes to changing the behavior of objects.
I guess maybe this isn't something for me if I still don't see it?
leesester
22nd Dec 2011, 08:55 PM
Well, I was intrigued as I have always wondered how this is done, so I had a look at the cheap stove and the expensive stove. The difference appears to be in the BCON > Cook Type - Quality
I think - what you can do - is make a clone of the cheap cooker ticking only default colours in the Object Workshop. Change the instances of 0x0032 to 0x0096 in the BCON > Cook Type - Quality and it will increase the actual food quality to be like that from an expensive stove. It won't change the value in the catalog.
Once you have done that, extract the changed BCON (just the Cook Type - Quality) to your working folder. Close the package without saving, don't exit simpe. Then make a NEW package in simpe, click ADD in the resource pane and put the new bcon in there. Then test in game.
/me trots off to test.
It SEEMED to work. One bowl of mac and cheese took the hunger bar from half green/yellow to full green.
DutchXfan
23rd Dec 2011, 05:07 PM
Thank you, thank you, thank you! I'm going to try this out tomorrow. Fijne dagen!
DutchXfan
23rd Dec 2011, 06:02 PM
Aha. I'm seeing it now. I'd already poked around in this file, but I just didn't understand what it was saying. Now, it's painfully obvious that the '50' meant half the motive, so changing it to 100 for all cooking/baking types would fill the entire bar. Duh! :/
EDIT: as filling the hunger bar is a sum of type of stove, type of fridge, skills, type of food etc. it's okay that the bar isn't entirely filled after just one meal. This is even better. Just what I wanted. :)
leesester
23rd Dec 2011, 07:53 PM
Yes, it seems like a very logical mod. In theory you could do an upload of it (assuming not already on site) of modded BCONs for fridges and cookers so that other users can have it in their game.
DutchXfan
23rd Dec 2011, 09:39 PM
Exactly. There are 2 other stoves with < 10 hunger fill. Gonna change those as well.
I couldnt find a mod like this one anywhere, hence my quest to do it myself.
I'm gonna test some more and then see if I can upload somewhere (at least at my journal). I have to read the upload rules here and see if I feel up to the challenge. From what I remember in the past it's quite a task. I'm not complaining, mind you. The website is high standard and awesome.
Thank you, Lee. You really helped me out here.
leesester
23rd Dec 2011, 11:39 PM
Yea, I was recently working with a group of uploaders, some of whom were quite new and were also a bit "scared" of the upload process. Once we had it clear what the upload was for it all went a lot better. By that I mean things like splitting presentation (pretty pics are my fave bit) and information. The way I see it the upload post and the pictures are there to:
1) Attract a downloader to your upload
and
2) When they get there show them clearly and honestly what they are going to get.
That is why the moderators fret so much about pictures and post information. I decide to download based on the pictures - and also in-game price - and the attention to the post. Its NOT about shopping your pictures to death - it's about showing people what they will get and presenting the information clearly (table code FTW)
DutchXfan
24th Dec 2011, 07:48 AM
I've uploaded here in the past (years ago) and everything went well for a while. Then something got rejected for being a bodyshop picture while it was not, and then another rejection for uploading a sim with hair someone else had used too for the same character, which was described as 'tacky'. It happened to be the hair the character has, so I didn't really see anything wrong with it. It had hurt my feelings though (I was very ill at the time and extremely sensitive), so I decided to stop sharing my creations all together and took them down.
See if I can give it a try again. :)
Also, I've been looking for this mod since ages and couldn't find it anywhere. Now that I've made it myself, I just found it somewhere else. *face palm* The person (HugeLunatic - someone I admire very much) also changed the description in the raw data, which was something I did yesterday night as well, but then I saw that it enabled the CC star. Since that can only cause trouble if someone accidentally deletes the stove, I decided against it.
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.