Motive Sort Override
MTS has all free content, all the time. Donate to help keep it running.
SCREENSHOTS
Created by Iced Cream
Uploaded: 16th Apr 2020 at 12:01 PM
Updated: 5th Oct 2020 at 5:24 AM
Updated: 5th Oct 2020 at 5:24 AM
This mod's features are now part of my all-in-one hybrid stabilizer mod: https://modthesims.info/d/647863/
Important Install Information: This is a script mod. Place the .ts4script file directly in your mods folder.
Update Notes
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.
Requirements
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.
Compatibility
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.
Overrides the Following Resource:
Completely overrides the script function: traits.trait_tracker.TraitTracker._send_commodity_list_msg
Note: The motives panel can only display 6 "normal" motives at once.
Multiple long bar motives seem to work with some minor graphical issues.
Only 1 Orb display works. Any additional orb displays cause the the game to render it twice in the motive panel as overlapping normal and long bar motives.
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.
Important Install Information: This is a script mod. Place the .ts4script file directly in your mods folder.
Update Notes
- 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.
Requirements
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.
Compatibility
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.
Overrides the Following Resource:
Completely overrides the script function: traits.trait_tracker.TraitTracker._send_commodity_list_msg
Note: The motives panel can only display 6 "normal" motives at once.
Multiple long bar motives seem to work with some minor graphical issues.
Only 1 Orb display works. Any additional orb displays cause the the game to render it twice in the motive panel as overlapping normal and long bar motives.
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.
Filename | Size | Downloads | Date | |||||
Iced Cream_Commodity Sort Override.zip
Size: 1.8 KB · Downloads: 13,881 · 3rd Sep 2020 |
1.8 KB | 13,881 | 3rd Sep 2020 | |||||
For a detailed look at individual files, see the Information tab. |
Key:
- - File was updated after upload was posted
Install Instructions
Basic Download and Install Instructions:
Need more information?
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
Also Thanked - Users who thanked this download also thanked: