C# Script Utility
If you are looking for my other mods you can now find some of them aswell as future updates on the Sims 3 Nexus
This mod is a C# Library of Methods and Classes that enable script modders to implement varios functionality in a simpler way then without it (see Features)
Tutorials/Resources for Script modders:
PuddingFace
Part 1: Checking if another scriptmod is installed (Video)
Part 2: NRaas like styled menus aswell as menu trees (Video)
Mods using this Utility and their C# Utility requirement
Mod | Author | Utility version |
---|---|---|
Enhanced Vampires | PuddingFace | >=1.041 |
Nosy sims interaction | FloTheory | Any |
How old are You Social Interaction | >=1.041 | |
Break into house Mod | xantak22 | Any |
Sims 3 Script Extender | >=1.041 | |
Ultimate Careers Updated | SonyaYU | Any |
Better Polyamory | izcandor | >=1.041 |
Harder Romance | lizcandor | >=1.041 |
Enhanced Witches | PuddingFace | >=1.041 |
Abductor | >=1.041 | |
Enhanced Hospitals | PuddingFace | >=1.041 |
Quick Recolor | 1.042 |
Usage / Installation:
[spoiler]Just drop the Package file into your Mods/packages folder or subfolder
For Modders:
Extract the dll from the package file and reference it in your assembly. Your Project should now have access to all Utility Functionality.
You of course need to put the used package file into your mods/packages folder aswell if you want to use it in game.
Policy for Modders Using this mod:
Do not include the package in your mods download instead link to this page and give instructions of which version of this mod is required for Players of your mod.
Other Uscases
Ask for permission before using code/contend or any derivative code/contend from this mod, add a link to this mod in your mod Description/Credits and give me Credit for it.
Any derivative Work has to include a link to this mod. (If youre giving away parts of your mod which contains work based on this mod wait for my permission to do so. In any case every derivative work has to include a crediting link to my mod)
Why this mod ?
Features
- Slider
Make changes a Sims appearance in game by changing the Size of the eyes, ears and other Sliders. (This mod does not contain custom Sliders but it should be able to set the value of them) - Menus
Make a Nraas like menu to control your Settings and let the player customize them in game. - Export/Import
At one point you might wnat to give the player the option to store their cusomized settings of your mod more permanently and further give them the option to import those to other saves. The export and import capabilities of this mod could be worth a look. - Tasks
Got a Method that is heavy on Compute time and you dont want it to freeze your game for a short moment ? With the included threading functionality of the library its even more simple to run scripts on the simulator. - ANNA (Artificial Neural Network Application)
A general Artificial Neural Network Framework for AI Tasks like Classification of Data - S3SE
Sims 3 Script Extender support enables you to do input/output operations or play global sounds - And more like Remoting and predifined generic delegates
Challenges:
Future plans:
Improve the Documentation and add missing Methods
Performance tweaks
Work on Easier Accessibility and better flexibility
DONT take features away
Bugfixing based on feedback
Changelog
15.07.2018 Version 1.0.0
18.07.2018 Version 1.0.0
22.07.2018 Version 1.0.1
Menus:
- Added Support for Dictionary<object,MenuContainer> in the MenuController for Multi menus.
- Added Cycleable Menu Option This option Allows you to cycle through a Ilist of given Values and assigning the picked one. See forum thread
- Moved the menu Objects to their own namespace you will now find them under "Battery.Utility.MenuObjects" and made these Options sealed classes for security reasons.
- Added Constructor for Action<object> Delegates so you can now run Methods with one Parameter on the Simulator Directly yay... .(The cycleable Menu Object makes use of that)
15.03.2020 Version 1.0.2b1 and 1.02b
- Rearranged namespaces for a cleaner look
- Added a Version that can Automatically creates menus
07.10.2020 Version 1.0.2b5 Anna Update
- Added Auto Scaling for the Menus to fit the contained items
- Added ANNA (Artificial Neural Network Application) this is a framework for creating Neural nets for Classification in Sims3
14.02.2021 Prototype only 1.0.2b6
- Added Interfacing for the Sims 3 Script Extender
- Added Command System IO for S3SE
- File methods (e.g. Save, Load)
- LoadAssemblies at runtime
- Directory methods
16.04.2021 Version 1.0.2b8
- S3SE support is now a default
- Added MenuContainer Presets (Currently for Sim picking)
30.05.2021 Version 1.0.2b9
- Added: Missing Show(MenuGetter getter, params object[] Parameter) method
- Fixed: AddMenuObject(int TabNumber, MenuObject MenueItem, bool CheckForDuplicates) now works correctly
01.10.2021 Version 1.0.3
- Added: S3SE features updated to S3SE Update 2
- Fixed: Export_Import should now work correctly so you can serialize/deserialize your mods settings
- Added: Menu Preset for Importing Custom Save files (CreateFileImportMenu_S3SE)
- Changed: RemoteUtil.InvokerUtil methods moved to RemoteUtil directly and improved naming to make their purpose/usage clearer
03.10.2021 Version 1.0.31
- Fixed: Export_Import added support for Type Serialization
- Fixed: Added missing localization for Serialization menu presets
- Changed: Export_Import "ExportSave" renamed to "ExportObject" to better reflect the purpose of the method
16.10.2021 Version 1.0.32
- Changed: Export_Import changed serializer internally
- Changed: Battery.CommandSystem renamed to Battery.S3SE
- Added: missing Localization Tables for the Import Menu Preset (still missing actual Localization)
17.10.2021 Version 1.0.33
- Fixed: Deserialize null exception when not supplying custom instructions
01.11.2021 Version 1.0.34
- Changed: The Save/Load Preset now defaults to Modname/Settings instead of Modname/ModSettings *Suggestion by MissPat*
- Added: AddinteractionToObjectsOfType can now be used to add Inventory Interactions
20.11.2021 Version 1.0.35
- Added: CustomizableNotification
- Added: GetPetAgeInRealYears
- Fixed: AddInventoryInteractionToObject now correctly checks for duplicates
06.01.2022 Version 1.0.36
- Added: New Constructor for Cycleable MenuObject
- Added: AddinteractionToObjectsOfType can now be used with a predicate delegate to filter Objects
- Changed: CustomPieMenu Limiter method now returns a bool to tell when to stop
18.03.2022 Version 1.0.37
- Added: New Constructor for MenuContainer (MenuID as parameter for simple Menus)
- Added: ChangeSex method
- Added: TransformInto method
- Added: CreateFileImportMenuCustomLocation_S3SE method
- Fixed: Corrected a typo that was preventing most Dictionary objects to be serialized and deserialized correctly
30.03.2022 Version 1.0.37a
- Fixed: Updated AutoMenu functionality to allow for properties within containers to be set (Only applies to the AutoMenu version and S3SEReminder version)
08.05.2022 Version 1.0.38
- Changed: Added Reset functionality to the TransformSim method
- Added: A new overload for the ChangeSex method that additionally takes in an delegate
02.06.2022 Version 1.0.39
- Added: SetTextAlignement method
- Added: SnapToBottom method for UI
30.09.2022 Version 1.0.40
- Added: LINQ like IList Queries
11.03.2023 Version 1.0.43
- Added: SimBuilderFTORs (These Can be used with the SimTools.SimbuilderProcess method to change the appearance of a human sim)
- SetEyeColor_FTOR
- SetHair_FTOR
- SetSlider_FTOR
- SetSkin_FTOR
- SetMakeupColor_FTOR
Nraas industries for some insight on their menus and Tuning
PuddingFace for being so nice to do some proof of concept testing and giving feedback
TreyNutz for giving feedback on an early prototype of the menu system.
Zoe22 and FloTheory for helping to test the Auto Menu feature
Consort for helping me fix an issue with some Sliders
SonjaYU testing new iterations of the custom pie menu
PuddingFace , Clang2, KittyTheSnowcat and Lyralei for showing their interest in the mod so that i did go through with it rather then dumping it.
Filename | Type | Size |
---|---|---|
Battery_Utility_1.043.7z | 7z | |
Battery_Utility_1.043.package | package | 837749 |
Note from the Creator:
Battery_Utility_1.043.7z
Download
Uploaded: 11th Mar 2023, 772.1 KB.
43,909 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
1. Click the file listed on the Files tab to download the file to your computer.
2. Extract the zip, rar, or 7z file. Now you will have either a .package or a .sims3pack file.
For Package files:
1. Cut and paste the file into your Documents\Electronic Arts\The Sims 3\Mods\Packages folder. If you do not already have this folder, you should read the full guide to Package files first: Sims 3:Installing Package Fileswiki, so you can make sure your game is fully patched and you have the correct Resource.cfg file.
2. Run the game, and find your content where the creator said it would be (build mode, buy mode, Create-a-Sim, etc.).
For Sims3Pack files:
1. Cut and paste it into your Documents\Electronic Arts\The Sims 3\Downloads folder. If you do not have this folder yet, it is recommended that you open the game and then close it again so that this folder will be automatically created. Then you can place the .sims3pack into your Downloads folder.
2. Load the game's Launcher, and click on the Downloads tab. Find the item in the list and tick the box beside it. Then press the Install button below the list.
3. Wait for the installer to load, and it will install the content to the game. You will get a message letting you know when it's done.
4. Run the game, and find your content where the creator said it would be (build mode, buy mode, Create-a-Sim, etc.).
Extracting from RAR, ZIP, or 7z: You will need a special program for this. For Windows, we recommend 7-Zip and for Mac OSX, we recommend Keka. Both are free and safe to use.
Need more help?
If you need more info, see:
- For package files: Sims 3:Installing Package Fileswiki
- For Sims3pack files: Game Help:Installing TS3 Packswiki
Loading comments, please wait...
Updated: 17th May 2023 at 7:46 PM
-
The Sims 3 Identity Generator (Updated 8/5/2010)
by 999z 24th Jun 2009 at 11:51pm , updated 7th Aug 2010 at 2:12am
63 105.2k 47 -
by Random667 30th Jun 2009 at 12:47pm , updated 1st Jul 2009 at 6:03am
101 191.8k 107 -
Any Game Starter 3 [Updated: v. 2.6]
by jonha 17th Jun 2010 at 1:44pm , updated 3rd Oct 2011 at 12:36pm
292 437.9k 291 -
by FordGT90Concept 20th Aug 2010 at 11:11pm , updated 9th Jan 2018 at 8:18pm
2.1k 747k 698 -
by MarkJS 2nd Nov 2010 at 8:30pm , updated 26th Dec 2010 at 3:58am
84 209k 90 -
Sim Game Selector 3.0 Support for "Into the Future" and "Movie Stuff"
by ralphaelninja 29th Mar 2013 at 4:52pm , updated 16th Oct 2013 at 5:31pm
153 183.8k 333 -
Sims 3 Crash Log Analyzer - Version 1.69 Compatible - Updated
by Zoxell 20th Jul 2016 at 1:26am , updated 18th Jan 2017 at 6:13pm
43 45.2k 114 -
Broadcaster -- A Custom Stereo Music Utility (UPDATED: 14 September 2021)
by gamefreak130 17th Feb 2020 at 5:48pm , updated 14th Sep 2021 at 9:30pm
89 26.4k 106