Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Quick Reply
Search this Thread
Banned
Original Poster
#1 Old 2nd Feb 2009 at 5:42 AM
Default how to correctly edit motives in SimPE
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.
Advertisement
The ModFather
retired moderator
#2 Old 2nd Feb 2009 at 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).

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Banned
Original Poster
#3 Old 4th Feb 2009 at 5: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.
The ModFather
retired moderator
#4 Old 4th Feb 2009 at 8: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".

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Banned
Original Poster
#5 Old 4th Feb 2009 at 8: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?
The ModFather
retired moderator
#6 Old 4th Feb 2009 at 3: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.

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Banned
Original Poster
#7 Old 4th Feb 2009 at 7:13 PM
thanks so much, I'll try it as soon as I finish writing another career for another site.
Banned
Original Poster
#8 Old 4th Feb 2009 at 11:36 PM
Quote: Originally posted by Numenor
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.
Back to top