Autonomous gift giving at parties
- Added new versions of the social object
- Fixed problem where gift-giving would interrupt weddings. You will need to use the base game wedding arch for it to work properly.
- Fixed problem where the active family was charged for all the gifts.
- Added compatible version for new parties hack
- Fixed issue with NPCs and off-lot household members being pushed to give gifts
- Fixed issue where sims who were outside would not be pushed to give gifts
This hack was originally released for a Secret Santa that happened over a year ago, as a gift for Sunrader, who's been helpful with testing since then. I finally polished it up for general release.
Basically: this hack allows sims to autonomously give each other gifts during parties. They will not actually give each other things from their inventories, they will actually purchase a totally new object and give it to the other sim. You can have birthday party style giving, where everyone give gifts to a particular sim, or Christmas party style giving, where everyone gives gifts to everyone else. Moreover, positively received gifts will increase the party score! Rejected gifts will naturally decrease the party score. The whole hack is highly configurable (because that was something Sunrader originally wanted). Details follow.
There are three packages that you need for this hack - the social plugin, the social object, and the controller.
The Social Interaction
This involves a totally new social interaction called Give Party Gift, which is only available during parties. It does require Seasons, however, because the gift box accessory used in the animation is a Seasons object (and the animation itself may require Seasons, too). As such, the success of the social interaction can be customized separately from the regular Give Gift interaction from Seasons. If you open the social object package in SimPE, you will see a BCON called "Gift Accept/Reject Tuning (Modify this one)", which you can modify to change when gifts are accepted or rejected. There are two possible acceptance results - a "good" accept where the sim enthusiastically accepts the gift, and a "meh" accept where they're fairly neutral. There are thresholds of STR, LTR and playfulness for "good" and "meh" accepts - basically, the "good" accept will happen if the sims meet any of the three requirements for it, the "meh" accept will happen if the sim doesn't meet those requirements but does meet at least one of the requirements for the "meh" accept, and a rejection will happen otherwise. Note that for the playfulness requirements the value in the BCON is 100 times the number of playful points, so 800 in the BCON means 8 playful.
When this social interaction is accepted, the game will randomly choose an object from a gift list, charge the giver for it, and put it in the receiver's inventory. Which list is used is chosen by a dialog that you will get at the beginning of the party. These lists are also BCONs in the social object, named starting with "Gift GUIDs", which can be modified. They look like this:
The first line is the number of GUIDs. It's very important that you remember this line, and if you edit the BCON, be sure to update it. An easy way to tell how many GUIDs there are is to take the (decimal) line number of the last line of the BCON and divide it by 2. After that, each GUID is entered on two lines - the first contains the last four digits of the GUID, and the second line contains the first four digits of the GUID. There are also labels for these three lists - the first line is labeled with the in-game name of the object, and the second line is labeled with its EP or SP requirement. Note that if you delete a line of the BCON, the corresponding line of the labels will NOT be deleted, so you will have to go do that separately. There should also not be any blank/0 lines in these BCONs.
There are three versions of the social object: partygiftssocialobject-AllEPs contains GUIDs from all EPs and SPs, including two from the EA Store, and obviously requires either the UC or every EP/SP plus the two EA Store baby toys (which I believe you can download from MATY). partygiftssocialobject-BaseGame contains only objects from the base game, although it still requires Seasons to actually work. partygiftssocialobject-AL also contains only base game objects, but should be used if you also have AL installed. If you have some other combination of EPs and SPs, you can download just the Base Game package (or the AL package if one of the EPs you have is AL), or download both and create custom gift lists with just the items that are actually in your game. You can also add any CC objects you want to these lists, or swap them out for entirely different lists as long as they are formatted the same way. If you want to make some objects more frequent as gifts than other objects, you can add them to the list(s) multiple times.
By default, the lists for Deco and Baby and Child contain only objects that cost up to 500 simoleons, and the Housewares list contains only object that cost up to 1000. If you change this, you will probably also want to change the minimum amount of money that sims need to have in order to give gifts off of that gift list. This is recorded in two places: 1) in the social plugin package there is a BCON you can edit called "Max possible gift price" (one line per gift list) and in the controller package there is a similar BCON called "Maximum gift cost" (similarly one line per gift list). This is the amount of money the sim has to have in order to give a gift, and it should be at least the actual maximum cost of gifts on the list.
If there's an error in a gift list, either one that you introduced by editing it or one that I introduced when I manually entered ~300 GUIDs into SimPE, you won't get an error or a reset, you'll instead get a notification in the upper right. If the game just couldn't create an object with the specified GUID, the notification will tell you the (decimal) line number of the first line (second part) of the GUID, followed by the actual values that are recorded for that object, second part then first part. These latter values will also be in decimal, so you will have to convert them to hex to see what they are in SimPE. If the sim coudn't afford the gift because you set the maximum gift cost too low, you will get a notification telling you where to set that.
The Controller and the Gift Recpient
You will get a second dialog when you start a party, after being asked to choose the gift list, which will ask if you want autonomous gift giving at all. The first option ("Yes, to everyone") will cause all sims on the lot to give gifts completely autonomously to anyone else on the lot. (Note: I've had trouble with this mode on my new computer, although it worked fine on my old Windows 7 computer and Sunrader reports that it works for them. So YMMV.) The third option ("No") will turn off autonomy completely, although the interaction will still be available if you, the player, want to use it. The second option ("Yes, to a designated gift recipient") will ask you to choose a gift recipient and will then cause the controller to run a script which will direct every family member and greeted or invited guest to give one gift to your designated gift recipient (not all at once; they will take turns). In this mode, the controller will interrupt your commands when it is that sims's time to give their gift. It should take a break if the gift recipient has low critical motives, is trying to satisfy critical motives, or is doing something party-critical like getting married or growing up. If the gift recipient leaves the lot during the party, or is off-lot at the time the party starts, gift-giving should resume after they return.
The "critical motives" are bladder, hunger, and energy and you can configure what "low" means by editing the BCON in the controller package called "Minumum motvies for gift recipient". Note that motives in the game actually go from -100 to positive 100, so the setting of -50 means when the bar is 1/4 full.
You can also modify the effects that given gifts have on the party score, by modifying the BCON called "Party scores for gifts" in the controller. There are different values for "good" gifts, "meh" gifts, and rejected gifts. These are scaled by the number of people at the party - the way it works is that if every person at the party gives one "good" gift, the party score will be modified by the "good" gift score times 10, and if every person at the party gives a "meh" gift, the party score is modified by the "meh" gift score times 10, etc. So, the more people there are at the party, the smaller an effect each individual gift has. A roof raiser party is achieved at a score of 175; by default the settings are 10 for a "good" gift, 5 for a "meh" gift, and -5 for a rejected gift. Note that these have effect regardless of whether the gift was given autonomously, or by you, or as part of the controller's script.
There are three versions of the controller: partygiftscontroller-AL is what you need if you have Apartment Life, partygiftscontroller-Seasons is what you need if you don't have Apartment Life, and partygiftscontroller+newparties is what you need if you are using simler90's new parties hack (which requires Apartment Life).
Game Compatibility
This hack requires Seasons. Otherwise, you will just need to get the correct social object and controller packages.
Hack Compatibility
This might conflict with hacks that change what happens at the beginning and end of parties, or hacks that change how party score is calculated. It conflicts with simler90's new parties hack, if you use that one, get partygiftscontroller+newparties instead of one of the other versions and make sure it loads after the simler90's hack.
Specifically, this mod modified BHAVs 0x1002, 0x1005, and 0x101D in group 0x7FB4DF10, as well as adding a new BCON 0x1010 to that group.
Additional Credits:
Sunrader, for testing
Filename | Type | Size |
---|---|---|
partygiftscontroller-AL.zip | zip | |
partygiftscontroller-AL.package | package | 9610 |
Filename | Type | Size |
---|---|---|
partygiftscontroller-Seasons.zip | zip | |
partygiftscontroller-Seasons.package | package | 9424 |
Note from the Creator:
partygiftscontroller-Seasons.zip
| Controller for use without AL
Download
Uploaded: 17th May 2023, 3.1 KB.
748 downloads.
|
||||||||
partygiftscontroller-AL.zip
| Controller for use with AL
Download
Uploaded: 17th May 2023, 3.2 KB.
2,174 downloads.
|
||||||||
partygiftscontroller+newparties.zip
| Controller for use with new parties hack
Download
Uploaded: 5th Feb 2022, 3.9 KB.
745 downloads.
|
||||||||
partygiftssocialobject-BaseGame.zip
| Social object with basegame objects, for use without AL
Download
Uploaded: 6th Sep 2021, 7.3 KB.
520 downloads.
|
||||||||
partygiftssocialobject-AL.zip
| Social object with basegame objects, requires AL
Download
Uploaded: 6th Sep 2021, 7.3 KB.
618 downloads.
|
||||||||
partygiftssocialobject-AllEPs.zip
| Social object with objects from all EPs and SPs - requires AL
Download
Uploaded: 6th Sep 2021, 13.1 KB.
2,964 downloads.
|
||||||||
partygiftssocialplugin.zip
| Social plugin
Download
Uploaded: 27th Jun 2020, 944 Bytes.
2,314 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
1. Download: Click the download link to save the .rar or .zip file(s) to your computer.
2. Extract the zip, rar, or 7z file.
3. Place in Downloads Folder: Cut and paste the .package file(s) into your Downloads folder:
- Origin (Ultimate Collection): Users\(Current User Account)\Documents\EA Games\The Sims™ 2 Ultimate Collection\Downloads\
- Non-Origin, Windows Vista/7/8/10: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads\
- Non-Origin, Windows XP: Documents and Settings\(Current User Account)\My Documents\EA Games\The Sims 2\Downloads\
- Mac: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads
- Mac x64: /Library/Containers/com.aspyr.sims2.appstore/Data/Library/Application Support/Aspyr/The Sims 2/Downloads
- For a full, complete guide to downloading complete with pictures and more information, see: Game Help: Downloading for Fracking Idiots.
- Custom content not showing up in the game? See: Game Help: Getting Custom Content to Show Up.
- If you don't have a Downloads folder, just make one. See instructions at: Game Help: No Downloads Folder.
Loading comments, please wait...
Updated: 17th May 2023 at 7:15 AM
-
Testers wanted: Community Party
by cathair2005 18th Aug 2005 at 3:57pm
+1 packsUniversity
-
by kestrellyn updated 15th Dec 2024 at 4:58am
Allows sims to have changelings which use MidgeTheTree's fairy lifestate, and improves the inheritance of fairy features with Mendelian genetics. more...
+1 packsApartment Life -
by kestrellyn updated 24th Sep 2024 at 9:56am
This is an object for listing all of the romantic relationships in your neighborhood, and fixing broken relationships between sims more...
20 13.2k 34 -
Autonomous Have Meal fix for Apartment Life
by kestrellyn 26th May 2021 at 8:46pm
In an attempt to make it so that sims wouldn't autonomously have a single-serving meal from their apartment neighbors' refrigerators, more...
+1 packsApartment Life -
by kestrellyn updated 9th Apr 2020 at 9:07am
Stops very outgoing sims from inviting themselves into your sim's homes. more...
28 34.2k 71 -
Use Toddler Toys From Anywhere
by kestrellyn 26th May 2021 at 9:04pm
EA made it so that toddlers can't use their toys if they are on a different level of the house more...
5 3k 9 -
by kestrellyn updated 31st Mar 2022 at 1:01am
Potions to assist with transitioning your transgender sims more...
66 64.2k 151 -
Smarter choice of parent for entering college cinematic
by kestrellyn updated 13th Aug 2023 at 6:16am
Makes selection of parent for the entering college cinematic smarter, avoids choice of townies or absentee dads more...
+1 packsUniversity -
by kestrellyn 20th Nov 2020 at 4:20am
Fixes colds so that they turn into pneumonia as intended rather than killing sims. more...
8 11.7k 42 -
"Met New Great-Grandchild" memory
by kestrellyn updated 19th Oct 2023 at 12:06am
Adds a memory when your sims have great-grandchildren. more...
50 80.6k 179 -
Use loose books rather than getting a new one off the shelf
by kestrellyn updated 30th Apr 2022 at 1:22am
Makes sims pick up loose books to use for skilling/reading/research/etc. instead of getting new ones off the shelf. more...
19 13.8k 41
Packs Needed
Base Game | |
---|---|
Sims 2 |
Expansion Pack | |
---|---|
Seasons |