New Question About Object Interactions
sbt:
How would the interactions be removed from a bookcase please?
For a bookcase you get the actions of read, the skills to study, etc.
Have the SimWardrobe Sims 2 categorizer and just removing the skills and satisfy wants from the object does not remove the interactions.
In SimPe would you remove the pie menu functions so nothing is there, and if so what would the filename and format be changed to please? For other objects it is all blank with a different format number.
Would they be removed in the semi globals by changing it from bookcase globals to wall hanging globals?
Would pie menu strings or object functions be changed, and if so to what please?
Would it be easier to clone the object and remove them from there? Have recolored but not cloned, so would need a tutorial on cloning.
Thank You for any replies.
jase439:
Object interactions are typically comprised of "action" and "guardian" behaviors and are specified via an object's Pie Menu Functions (NB: this isn't the only way to insert a menu option in the Sims 2, but it is the easiest and most common). Action routines carry out the behavior whenever a menu item is selected by the player. Guardian behaviors are test routines and determine whether or not a particular action is available for selection.
Action and guardian behaviors are commonly prefixed with the word "Interaction" in their name. Similarly, guardian behaviors typically have names that end with "TEST".
For example, if you had a menu option called "Goober", you might see a pair of behaviors like this:
Interaction - Goober
Interaction - Goober - TEST
The first is the Action. The second is the Guardian. If the guardian test returns true, then the action is made availble to the player. If it's false, the menu option is hidden.
If you have a look at the bookcase semi-global BHAV's (0x7F327BCE) you will find several such routines. The easiest way to affect a change on a category of object across the board is to modify the semi-globals (although you could accomplish this on an individual basis by editing every single book case in the game). The semi-globals are shared BHAV's common to all objects of a given type.
You will find in the BHAV listing for bookcase semi-global, several BHAV's which end in the word "TEST". For example:
Interaction - Read Book - Test
Interaction - Put Away All Books - Test
Modifying these to always return FALSE will hide these options permanently.
The unfortunate aspect about bookshelves is that they are poorly designed. The "Study..." behaviors have no guardian (and are, by default, "always on"). That is, they have no association with the semi-global BHAV's as the other options do. You would therefore either have to disable all flags in the pie menu interactions for EACH individual bookshelf or delete the interaction altogether. In either case, you end up editing a dozen or more individual objects instead of nipping them all in the bud once at the semi-global level.
Such is a day in the life of a modder...c'est la vie.
J
sbt:
Ah, Thank You, am gonna try a test copy of a bookcase and make sure it works okay before doing them all.
Another question please, if you have a bookcase that someone created but it isn't actually a bookcase because there are no actions to it and it has sculpture or something like that for the semi global. How would you add the interactions to it? Is it okay to do that to someones creation if it is only for your own game?
jase439:
The easiest thing to do is to reassign its semi-global to bookcaseglobals and then update its pie menus to match those of a bookshelf.
You can do what you like with whatever you've downloaded, but should not upload any modified content without consent from the original author.
sbt:
Thank You so much for the quick replies.
Is there a hack for this so that all Sims would not use any bookcase without being selected to?
A global hack might be better.
Navigation
[0] Message Index
[#] Next page