Motive Sort Override
2020-04-13.png - width=772 height=585
2020-04-13 (1).png - width=702 height=508





- Sept 3, 2020 (afternoon) - Update due to EA updating the game mere hours after I updated the mod. The mod will now modify a different script function instead of the one it previously modified, ensuring no conflicts. Filesize should also be smaller now.
- Sept 3, 2020 - A rewrite which boosts performance and ensures compatibility with a certain mod known to modify the same script function.
- July 31st, 2020 - Updated for Nifty Knitting. Cleaned the code up a bit to slightly boost performance, reduce the (already small) file size, and ensure compatibility for future packs.
- June 3rd, 2020 - No major changes needed. Added 1 line of code to reflect a very minor change EA made which should improve performance by a minuscule amount.
A mod born out of the frustration of a simmer who was tired of having to keep a vigilant watch on his Vampire-Spellcaster sims who kept exploding to death from magical overcharge.
This mod overrides the function the game uses when determining which needs should be displayed in the needs panel, allowing all active needs a sim has to correctly display in the panel. This allows Vampire-Spellcaster hybrids to correctly have the spellcaster charge show up.
This mod was designed as a script so it would be compatible with any new needs added by mods or future Sims packs. As a warning, the game gives no indication of what will happen if it ever tried displaying multiple needs using the "Orb" display type that witches use. If EA adds a new occult type with a need using the same Orb display type (probably fairies), the mod might act unpredictably. Multiple "Long Bar" needs (like vampire power) "should' display properly.
You won't see any difference in the game unless you play sims with hybrid occult types or with custom needs added by mods.


As a pure script mod, it doesn't reference any pack-specific resources, so it should be compatible with even the base game. Although there isn't any point in using it without Vampires, Spellcasters, or any modded supernatural types.


As a pure script mod, it should be compatible with anything. The only exception would be other script mods which try to modify the needs display, of which there is only one, but this mod has been updated to be compatible with it.
Because this mod completely overrides a specific function of the game, it is very likely to break if/when EA adds a new supernatural type with a completely new need/resource that uses a brand new type of display in the needs panel. This mod was designed to be as "future-proof" as possible in anticipation of such an event, so your needs panel "shouldn't" completely break while you wait for an update.


Completely overrides the script function: traits.trait_tracker.TraitTracker._send_commodity_list_msg



Technical Details: How it works:
Normally, the game looks for the first trait it can find that specifies a sorting override (usually the Vampire trait), builds a sorted list with only those specified needs, and sends that list to the UI to be displayed in the panel. This means any additional needs a sim may have from other occult types or modded traits would never show up in the UI while the sim was a vampire.
The function has been modified to generate additional lists of all needs the sim has, separated by display type (normal bar, long bar, orb). The lists are then combined with the list of needs the game previously generated. Traits which specify motive sort orders will have their motives sorted with higher priority.
Iced Cream_Commodity Sort Override.zip
Download
Uploaded: 3rd Sep 2020, 1.8 KB.
14,753 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
1. Download: Click the File tab to see the download link. Click the link to save the .rar or .zip file(s) to your computer.
Read the upload description for installation instructions. If nothing else is specified, do the following:
2. Extract: Use WinRAR (Windows) to extract the .package file(s) (if included, ts4script as well) from the .rar or .zip file(s).
3. Cut and paste the .package file(s) (if included, ts4script as well) into your Mods folder
- Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
- Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\
Need more information?
- Anyone can use both .rar and .zip files easily! On Windows, use WinRAR.
- If you don't have a Mods folder, just make one.
- Mod still not working? Make sure you have script mods enabled
Loading comments, please wait...
Updated: 5th Oct 2020 at 6:24 AM
-
by siriussimmer updated 30th Aug 2021 at 1:10am
+1 packs
Cottage Living
-
by Simsonian Library 3rd Sep 2021 at 1:08am
+1 packs
Realm of Magic
-
by Simsonian Library updated 12th Dec 2021 at 7:24pm
+7 packs
Outdoor Retreat
Cats and Dogs
Seasons
Cottage Living
Horse Ranch
Jungle Adventure
Realm of Magic
-
by Tralfaz482 updated 29th Oct 2024 at 10:59pm
+1 packs
Get to Work
-
by Tralfaz482 updated 11th Aug 2024 at 2:35am
+1 packs
Get to Work
-
by SimmingWithP&J updated 30th Jun 2023 at 3:27am
12 14.7k 20
-
Buy Vampire/Witch Perks and Weakness - For Hybrids
by Iced Cream updated 31st Jul 2020 at 1:25am
Adds 2 new options in the Vampire menu which allows hybrid vampires to spend their perk points. more...
19 36.7k 68
-
Ageless and Immortal Rewards Store Traits
by Iced Cream updated 2nd Sep 2020 at 1:24pm
Adds 2 new traits to the reward store which can disable aging and make a sim immune to death. more...
21 40.5k 140
-
by Iced Cream updated 10th Sep 2020 at 11:18pm
Removes the trait restrictions preventing servos from becoming occult sims: vampires\witches\aliens more...
+1 packs
Discover University
-
by Iced Cream updated 15th Apr 2020 at 12:59pm
Changes the pregnancy buffs from Happy to Fine. more...
10 23.6k 25
-
by Iced Cream 13th Aug 2020 at 2:36pm
Stops the one of the most common exceptions that appears when travelling to other lots. more...
27 29.5k 99
-
Mentor Fitness on Max Fitness Sims
by Iced Cream 23rd Oct 2020 at 6:26pm
Unlocks the "mentor" interactions on sims who already have their fitness maxed. more...
-
by Iced Cream updated 22nd Feb 2021 at 11:41am
Makes the Cleaning Frenzy interaction available for all sims. more...
34 65k 189
-
Occult Life State from the Rewards Store
by Iced Cream updated 3rd Sep 2020 at 5:28am
Adds the ability to buy the occult life states directly from the rewards store. more...
19 25.4k 108
-
by Iced Cream updated 24th Nov 2021 at 2:11pm
Summon the urns of the deceased, or bind them to your existing urn collection. more...
72 68.9k 123
-
by Iced Cream updated 4th Dec 2020 at 8:05am
Stops mermaid hybrids from swimming on land or not changing into their tails when swimming. more...
34 51k 76