MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...
(UPDATE: 23-JUL-2016) Nectar Glass Replacement
by icarus_allsorts Posted 7th Jul 2014 at 7:52 PM - Updated 23rd Jul 2016 at 1:23 PM by icarus_allsorts : Mod Update
1,636 Thanks Thanks 540 Favourited
This is a featured upload! It showcases the best talent and creativity available on MTS and in the community.
23-JUL-2013: Sims will stop tasting nectar from racks autonomously when there are too many served glasses of nectar on the lot.
- Drinking nectar from the new glasses should now fulfill the "Drink nectar worth..." wish
Sims won't look so weird using the new glasses if you have Island Paradise installed but not Late NightSadly it turns out that without Late Night there are no drinking animations usable with the Island Paradise glass unless the sim is sitting at a pool bar
- Inactive sims can now autonomously taste nectar from nectar racks
- Sims should now drink nectar less frequently on their own (instead of always obsessive compulsively finishing whole trays in one go)
This mod replaces the default nectar glasses with the round cocktail glasses from Late Night
Initially all I thought I needed to do to alter the nectar glasses was to override the objects files with the ones I want - which worked, but the two different glasses had different holding and drinking animations which had to be altered as well (I thought it could be ignored at first... until my test sim started smashing their glass INTO her face repeatedly) Problem was that nectar glasses and professional bar drinks use totally different drinking interactions/animations so just changing the model of the glass wasn't cutting it.
So instead the mod introduces a custom glass to the game - a round cocktail glass containing a fake drink that gives the sim drinking it the effects of drinking nectar. (i.e. a nectar glass disguised as a professional bar drink in look and function) Then I altered the interaction sims use to serve nectar from bottles and nectar racks to pour the nectar into the new glasses instead of the default ones.
Do note that the interactions sims use to drink from the original nectar glass and the new ones are totally different now.
- With the original drinking interaction sims will try to find a place to sit and finish drinking the glass in a couple of continuous loops. The new glasses use the same drinking interaction as professional bar glasses where sims drink from the glass at irregular intervals between which they are free to walk around and socialize etc.
- The original interaction supposedly uses different drinking animations depending on the sim's Nectar Making skill (to reflect their level as a connoisseur?), but these animations are no longer used for these new glasses. Sims will instead react to the nectar like they would when drinking a mood drink from a professional bar, depending on the quality of the nectar instead.
Since the round bar glass model can be changed to have different drink colors I thought I'd have a little fun with the mod and use this to give nectar some color as well (although in the pouring animation the liquid coming out of the bottle will always be red, despite the original nectar liquid being totally clear due to
I've assigned every fruit from all expansions and store sets to one of these colors based on their in-game appearance. Based on the type and percentage of fruit in the nectar, the dominant color is chosen for it. For example:
60% Apple (Red) + 40% Grape (Purple) -> 60% Red + 40% Purple -> Red Nectar
40% Apple (Red) + 30% Grape (Purple) + 30% Plum (Purple) -> 40% Red + 60% Purple -> Purple Nectar
(If two or more colors come up in equal percentages the color of the nectar is chosen randomly between those choices)
I've included an XML in the mod that tells the mod which color to assign which fruit, so you can use to edit it to your liking. (The fruit are listed by the "Ingredient Key" values according to the Ingredients XML in the GameplayData package and ccmerged) By default every fruit from the game from every expansion and store set should be listed there so you can shuffle them around or remove them from the list altogether (If the game can't find a certain fruit in any of the lists that fruit will simply not contribute to the color calculation). If you have a mod that introduces custom ingredients that you want accounted fo, just add the the "Ingredient Key" of that ingredient (which you should be able to find within an XML in the mod that adds that ingredient) to the appropriate color list in the XML.
Built and Tested on patch 1.67
Requires World Adventures AND Late Night
Sadly, without Late Night installed there simply are no drinking animations for the Island Paradise cocktail glass except for when sims are seated at a pool bar. As such, this mod does require Late Night after all. Thanks to Butterbot for calling this to my attention, and apologies to anyone who expected the mod to work with only IP
The Jones' for To all who've helped me with script modding so far. And special thanks to lataya25 for suggesting this
| Updated 23-JUL-2016
Size: 10.8 KB · Downloads: 33,817 · 23rd Jul 2016
Key: - File was updated after upload was posted
Tip: You can click the magnifying glass to see the archive contents