The Sims 3 Moodlets
Not sure whats going on, but since i reinstalled the sims and the expansions I have, I can create a game, play it for however long, Save and quit. Later I come back to play again and the sims are in the house, One has the green diamond above it, but there are no sims on the side bar, There are no moodlets and the panels where it tells you what skills, what careers, what friendships etc are all gone and i cant expand it.Really gutted as I have had 2 familys that I have had to delete and everytime i re load the sims, i have to delete my old games and start fresh.Op system is Windows 7.please help?
Custom Moodlet TemplateThis project is a working template that demonstrates how to add acustom moodlet (Buff) to your Sims 3 Mod. Putting the template on railsThis project is almost ready to be used. You need however to redothe references to the Sims assemblies. See thisif you are not familiar with the procedure. Note that you will needthe unprotected version of Sims3GameplaySystems.dll.
Description of files.Buffs.cs: This file is a template showing you how to define yourown Buff class. Real definition for your buff is in the associatedXML file. Here you only define a skeleton.Buffs.xml: This is the file containing the real definition ofthe moodlet(s), the buff data. There are no human-readable text inthis file, as name, description, etc. Will be found in the STBL(language) file.moodlet.png: This is a sample icon for the moodlet.
The Sims 3 Pets Moodlet
Must be32x32 (max 54x54 but doesn't scale down nicely).Localisation.EN.xml: This file contains the language definition,which is essential to any moodlet. It will be compiled into an STBLfile using. You can't make a moodlet without associatedSTBL file.Bootstrap.cs: This file contains the BuffLoader class that willload moodlets from the Buffs.xml file. If you change the name of thebuff definition XML file in your package, you have to adapt theclass to load the right ressource.
The Sims 3 Moodlets List
The file also contains a sampleBootloader that will activate the BuffLoader at the right moment(and also loads a demonstration interaction). Base your ownbootloader on this sample class to integrate your moodlet in yourcode.Bootloader.xml: This XML file will make the Bootloader class beloaded in the Sims and hooks the whole script in the game when ittry to load the 'kInstantiator' parameter.
This file is not reallypart of the template, you should have your own.BuffTestInteraction.cs: This file demonstrates the use of yournew moodlet through a simple ImmediateInteraction placed by theBootloader on any Sim.moodlet.svg: Vectorial source of the sample PNG icon. Don't payattention.Organisation of the.packageOnce you compiled the project, there are some rules your have to followwhen creating your.package file (let's say using ):.First, make sure that the name of your assembly matches the oneyou specified in the CustomClassName tag of the Buffs.xml file.The name of the assembly is specified in your project's properties.Put the DLL in the package with type S3SA. The name doesn'tmatter.Put the Buffs.xml file in the package. The name must match theone you specified in the BuffLoader class. Type should be XML 0x0333406C.Put the icon file in the package.
The name should match the one youspecified in the ThumbFilename tag of the Buffs.xml file. Type isIMAG 0x2F7D0004.Put the STBL file(s) you generated from the Localisation.xml inthe package. Name isn't important, but you have to modify the FNV hashso that it starts with a specific number. Start with 0x00 for english,0x07 for french, etc.
See the list there:.Save your.package and copy it to the modding directory of your Simsinstallation and: enjoy!