View Full Version : How to change energy level of a bed
27th Nov 2006, 08:29 AM
I just would like to change the kid's seashell bed (which has an energy level of 3) to a higher energy level (like 8-10). Is that possible to do? Do I have to clone/create an object? Or is there a simpler way to do it? Please be as detailed as possible because I do not have much experience with creating objects.
Thank you. I hope I posted to the right forum. :P
27th Nov 2006, 08:46 AM
Open objects.package and find resource BCON 0x1001 in group 0x7F60BD5D. Extract it. Create a new empty file in SimPE, and Add this extracted resource into the new file.
Open your added BCON in plugin view, and edit line 0x2, which represents the energy change per hour.
Save to any filename you like and put it somewhere in your downloads folder.
16th Jan 2007, 03:13 AM
Fresh newbie here walking on thin ice, but I too would like to know how to accomplish this "safely" and I feel like I'm already over my head.
I believe I understood everything you said up until the "edit line 0x2". I've attached a screen image to show where I'm at. What exactly do I edit or change to? I'd like to have an energy level of 8.
Also, now that this is extracted, I save it to my downloads folder... I name it anything? Will this overwrite the original resource or do I have to delete it out of the objects.package? Or did it get deleted already when I extracted it? (Sorry, I said I was a newbie, right?)
16th Jan 2007, 05:04 AM
I'll have to let Inge answer the BCON value, as she probably dreams in BHAVs and BCONs. But it looks like what she directed you to edit.
The other things you ask are generic modding questions.
You name the new file anything you want, so you can remember what it is. SimPE will attach a .package to the name for you.
When you put an item like this in downloads, and the name and/or TGI values are the same as what were in objects.package, then when the game starts up it finds your file after it has loaded objects.package and replaces the data it has in memory from the original file with your modified data (just in memory).
This is a replacement technique that is much safer than editing objects.package, because if it doesn't work right, or has adverse side effects, you simply remove the file you created from downloads and the next time you run the game it is back to the original behavior.
Editing the game files themselves could make you have to reinstall the game if you don't do a backup and anything messes up.
<* Wes *>
16th Jan 2007, 05:22 AM
Thanks for clearing up the "downloaded" part, it's good to know that if I royally screw this up, it can be reversed. Whew!
I'll await (anxiously) for more instructions on what values to change for the bed...
16th Jan 2007, 10:04 AM
Langleydesigns, you are actually mixing up two things here. The "8" you talk about is actually just a value that shows when you are going to choose a bed from the catalogue. It is a sort of rating to help the player choose a comfortable bed, that number is not actually used by the game program.
The way the bed actually works to change energy levels while the sim sleeps is that the value in that BCON entry is an amount by which it changes per hour of sleep. To decide what to put in that field, open the file of a bed you know already is rated 8, and copy the number from there. Then your bed will be the same as that bed, at least.
To change the actual bit where the catalogue says "8", you need to open the OBJD. You will have at least 4 OBJDs and the one you want will in almost all cases be the one with the shortest name. Open that and go to the Raw tab. You want "ratingEnergy". Change that to what you want. Commit
Ok, now you have told the player how good the bed is on the catalogue and you have told the game how much energy to give the sim per hour. Now you need to do something to let the Sim know it's a restful bed...
Open the TTAB. Go to the Motives tab (Or Human Motives if you have Pets). Do not tick "show all". Select the top entry, one of two that say "sleep". Find the row of motives labelled "Energy". There are 3 columns: min, delta and type. Ideally copy the values you find in another bed that is rated 8. If you want all the sims to always prefer your bed, set the Min even higher and set Type to 0. But preferably just make all three numbers the same as another grade 8 bed. Finally, click Copy Motive to All, which will change all the other agegroups too. Commit
16th Jan 2007, 03:40 PM
Thanks for the reply...
Okay, I found an "energy 8" bed to copy the values from, do I change both the Hex and Dec values?
The rest, I could follow pretty easily, But... when I extracted the "fantasy bed" last night (the one that I want to change), I only extracted the one resource value thingy. Is there a way to extract these other two resource values into the one I already extracted? Or do I have to make three seperate files for these new values? Or is there a way to do a "group" extract so that it takes ALL values from that original bed?
Thanks for being so specific in your help, I'm almost there (I think...)
16th Jan 2007, 03:51 PM
No, change either the hex or the decimal value, both boxes are only windows onto the same data.
Now I am going to ask you to be specific and explain what you mean by "resource value thingy" :)
16th Jan 2007, 04:00 PM
Wow, that was fast!
In my previous extraction, it only extracted the BCON value. Can I now add the OBJD and TTAB values into the same file and if so, how? Or do I have to have three seperate files for each?
Or can I just do an extract from the start of all values that have to do with that bed (BCON, OBJD, TTAB and whatever else) so that I don't have to do three extracts individually?
16th Jan 2007, 04:11 PM
Oh goodness then something went wrong. It should have found those and put them in your file! You are using Object Workshop in SimPe, aren't you? Also what bed are you trying? I can try extracting that myself and compare notes with you.
16th Jan 2007, 04:18 PM
Oh boy... :blink:
I wanted the "My Impregnable Fortress" bed (the castle) from "family stuff". I think it's such a shame that there's all of these cool beds, but I never use them because they take too long to sleep on.
Anyways, the group is (0x7F0E424C).
When I extracted it last night, I opened the objects.package in my "Family Fun stuff" folder and right-clicked on the BCON value in the resource list and hit extract. Is there another way?
16th Jan 2007, 04:20 PM
Oh, and the bed that I was going to copy was the "Majectically Medievel Double Bed (0X7F95FD72)...
16th Jan 2007, 04:24 PM
Anyways, the group is (0x7F0E424C).
Lol! You're not using Object Workshop! Assuming you have the latest SimPE in case any detail varies, you should be able to find a tab called Object Workshop. Its position varies sometimes it's at the side, sometimes at the bottom. Not sure why.
Click "Start" and after ages and ages when the screen stops flickering, open the Seating then Beds category and choose the bed you want. Then choose Clone as the action.
If you want the bed to be an extra object you can buy, leave the cloning boxes ticked as they are. If you want it to override the original Maxis bed, untick them all.
If it's a new object you will also need a new GUID. Actually I think there might be a tutorial on here somewhere that explains all about cloning a new object, and it will save me explaining it in any more detail. Basically *after* you have successfully made your bed in Object Workshop, *then* follow my instructions about altering the energy level.
16th Jan 2007, 04:34 PM
Ah-hah, there's the problem (sort of)!
I was in Object workshop, but couldn't figure out how to do anything in there, so I was just using it as a reference point to get the group number and then using the main "resource tree" to find the values for that group. I now see that if you hit the "next" button in Object Workshop, it gives you options to do something, lol.
I guess I WAS in over my head, lol...
Thanks for pointing me in the right direction!
16th Jan 2007, 05:12 PM
IT WORKS! Thank you...
16th Jan 2007, 05:39 PM
Good! Don't forget to get one new GUID for each OBJD in your package, if you don't want it to override the Maxis original.
7th Nov 2007, 06:00 PM
Do these instructions work with custom beds too?? I hate that I have so many awesome beds but with energy at 4?? Aaarrr is there a pic tut on how to do this lol I am not good with Simpe but need to do this badly as I want to use my nice beds! :)
7th Nov 2007, 06:16 PM
Yes it should work on most custom beds. I have a funny feeling since this thread was last posted to, someone did make a tutorial for this....
...yes here you are - http://forums.modthesims2.com/showthread.php?t=253287
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.