View Full Version : how to correctly edit motives in SimPE
joninmobile
2nd Feb 2009, 05:42 AM
I was wondering when editing motives in BCONs what is the right way to do this.I need to know what fun - inc, fun - max, e.c.t. means.How do I change the values so that 1. there is no change in the fun (or whatever the motive in question is). and 2. there is maxed out green change for the motive.
If anyone knows please let me know,
thanks.
Numenor
2nd Feb 2009, 11:04 AM
Not all the objects work the same. In general, motives work this way:
- the sim starts using the object;
- in the interaction BHAV, there is a call to another BHAV that works like a timer and increase the selected motive by a given speed; the speed value can be either embedded in the BHAV itself (somethng like "Increase fun by 10 units per hour"), or read from a semiglobal/private BCON (something like "Increase motive stored in BCON X:Y by speed stored in BCON A:B");
- the continuous increasing is explicitly stopped (from within the interaction BHAV) when the interaction ends.
On the other hand, hacked objects are simpler: the interaction BHAV can contain a simple instruction like "Set fun to 100", which instantly maximizes the fun.
Depending on the result you want to obtain, I suggest you to either clone and study a simple object that gives fun (paintings are good ones), or open with SimPe one of the many hacked objects in our Download forum (examining other creators' work for learning purposes is always allowed).
joninmobile
4th Feb 2009, 05:50 AM
well I was thinking mainly of social motives like how to max out fun needs for dance solo.That's what I really wanted to do.I didn't really want to do anything with objects.
Numenor
4th Feb 2009, 08:40 AM
The "Dance Solo" interaction is a Semiglobal BHAV (StereoGlobals, instance 0x2004) that reads the fun increment from a BCON contained in the single stereo (each stereo gives a different fun, of course).
If you want to instantly maximize the fun (or all the motives) whenever the sims dances solo, you should then edit the semiglobal BHAV: look for lines like "Set Motive Change...", and delete them all, except the one for the Fun, using the "Pescado's Delete" button; then modify the line as:
[prim 0x0002] Expression (My motive 0x000F (Fun) := Literal 0x0064)
(this will instantly boost the Fun to max as soon as the sim starts dancing).
If you want to maximize other motives, click "Ins/True" (so to add another line immediately below the Fun one), and edit it selecting a different "My Motive".
joninmobile
4th Feb 2009, 08:48 AM
so to begin, should I clone a stero, or the Dance Solo from unknown? or should I exctract a stero from my objects folder?
Numenor
4th Feb 2009, 03:03 PM
The "Dance Solo" is a semiglobal: you won't find it in a cloned stereo.
You should open the main Object.package of your game:
[Program Files]\EA Games\The Sims 2\TSData\Res\Objects\Objects.package
When loaded, use the resource filter to show only the StereoGlobals, then find the BHAV with instance 0x2004. Right-click on the BHAV and extract it.
Close SimPE (without saving!), reopen it, create an empty package (File -> New) and import the extracted BHAV.
Now you can modify the BHAV at will, thus creating a "global mod" that will override the normal Dance Solo interaction.
joninmobile
4th Feb 2009, 07:13 PM
thanks so much, I'll try it as soon as I finish writing another career for another site.
joninmobile
4th Feb 2009, 11:36 PM
The "Dance Solo" interaction is a Semiglobal BHAV (StereoGlobals, instance 0x2004) that reads the fun increment from a BCON contained in the single stereo (each stereo gives a different fun, of course).
If you want to instantly maximize the fun (or all the motives) whenever the sims dances solo, you should then edit the semiglobal BHAV: look for lines like "Set Motive Change...", and delete them all, except the one for the Fun, using the "Pescado's Delete" button; then modify the line as:
[prim 0x0002] Expression (My motive 0x000F (Fun) := Literal 0x0064)
(this will instantly boost the Fun to max as soon as the sim starts dancing).
If you want to maximize other motives, click "Ins/True" (so to add another line immediately below the Fun one), and edit it selecting a different "My Motive".
I'm unable to modify the line, how do I do this? I tried to use backspace to erase it but it wouldn't go away.I must be confused about something.
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.