Talk:Mrs. CrumpleBottom: Difference between revisions

imported>J7n
imported>J7n
Line 99:
It has been stated many times that a number of special NPCs are "objects" instead of people characters. My understanding is that people, pets, chest of drawers or doors are all objects of different types. They run code that makes them update themselves in reaction to other events. Type changes the way an object is treated by the engine at a lower level; I think it enables people to walk, cars to float by, causes controllers to be always spawned. She is a sim by this definition.
 
The main difference between a "special" and regular sim is where its data resides. Regular people are created as copies at first launch or whenever the neighborhood is first created, and  reside in the My Documents directory. This copy is then updated as the sim changes clothing or another state. Not all updates are visually apparent. The character file is usually modified every time a sim object is uninstantiated (removed, left the lot, not killed). A number of special NPCs are directly loaded from the most recent objects.package, which resides in the game directory and is common to all neighborhoods. One must therefore avoid that these special sims getgetting modified, because any changes to the NPC would persist until the game is reinstalled, and also the objects.package is quite big and an error might occur as its being written, which would make the game unable to start.
 
An update to objects.package can be detected by a pause of several seconds during interaction with the special NPC, and by comparing the modification date and size of objects.package against one on game disc inside the compressed zip file or another (patched) installation.
Anonymous user