View Full Version : How do you safely delete BHAVs
31st May 2009, 02:20 AM
Every time I tried to delete them my game freezes or crashes. There are a few things I want to get rid of completely in the sims, such as no more birdwatching, and no more farting/belching, and things like that. There's a lot more social and other interactions I would like to remove, but how I do that is the question.
31st May 2009, 03:01 AM
You need to remove all the places where a BHAV is called. That means cleaning up any other BHAVs which call it, as well as any TTABs or OBJfs. Alternatively, replace the BHAV's contents with something like a No-op so it does nothing. That will make the behaviour invisible, but it will still get run.
12th Sep 2009, 09:52 PM
How would you go about making a mod to completely get rid of birdwatching by using the PJSE instruction wizard? Also is there any tutorials on the PJSE instruction wizard anywhere that really go in depth of all the possible combinations?
17th Sep 2009, 01:09 PM
That's... a difficult question to answer. It's a bit like saying "how do I write a novel using a pen?". I'm not sure if your asking for penmanship tips, or novel writing tips, but either way you're not really approaching the topic from the right angle. ;)
Disabling a behaviour depends on how it's triggered, so that's the first thing to figure out. Behaviours are normally triggered by one of a few methods:
- interactions, things which can be selected from an object's pie menu.
- functions, things which get called by the game engine at certain points, like when someone is trying to clean everything, or when the player goes into live mode
- call trees, things which get run by some other object in the game specifically asking for a behaviour by name
Most behaviours are the first kind, interactions. Some of them are interactions on obvious, in-game objects like chairs and televisions and other sims. Others are interactions on invisible "out of world" objects like aspiration controllers and personality controllers.
So to get rid of birdwatching, the first thing you need to do is finding how it's getting started. Once you've figured that out, you can normally get rid of it by either removing the option to start it entirely, or changing properties so sims never try to do it. Finding it is the first step though, and once you've done that report back and I'll try and walk you through the process to remove it (using PJSE, if relevant!) :)
17th Sep 2009, 01:22 PM
Aren't no birdwatching and no farting already available? I don't play TS2 anymore, but I could swear I have seen them, more likely than not on this site.
18th Sep 2009, 05:00 AM
No, no birdwatching is not here, as well as no farting. No autonomous birdwatching is on insimenator.org (I know for sure), and no farting is on MATY (I think). But no birdwatching altogether is nowhere.
18th Sep 2009, 02:51 PM
If you have a no autonomous birdwatching mod already, there is very little else you need. I guess you want to remove it from the pie-menu as well so you aren't tempted to click it?
16th Oct 2009, 02:38 AM
Yes, I want to remove it from the pie menus. I was able to make it to where he wouldn't autonomously bird watch, but the pie menu was still there. Since I went in with the BHAVs and everything else and made changes, he still had a pie menu of birdwatch, but when I clicked on birdwatch, he just did nothing. So I need to know how to get rid of that pesky pie menu. I did change the pie menu functions to all zeros, I also changed a bunch of the other formats, such as text lists and everthing. So it works, but the pie menu is still in my game for some reason.
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.