View Full Version : New TTAB Tutorial (Editing Menu Options and Importing Code)
Carrigon
22nd Jan 2005, 02:33 AM
http://sims.ambertation.de/ttabtutorialcarrigon.shtml
Please use this thread for questions and discussion of this tutorial and someone will help you here. Thanks, and I hope it helps some of you to get started with modding. The next tutorial I do will cover more about the BHAV's.
Berg
22nd Jan 2005, 10:34 AM
Thank you! So much!
It was very easy to follow every step and you explained everything in a personal and informal way which makes things much easier to understand for a thick head like mine!
Maybe, some day, all this will REALLy make sense to me!
Thanks!
crazy4sims
22nd Jan 2005, 09:56 PM
can i use the Behaviour Function for all my mod , if not do i have to make them or can i get them?
Carrigon
22nd Jan 2005, 10:54 PM
I'm not sure exactly what you're asking, but when it comes to BHAV's they are usually much more involved than what I gave with the tutorial. Many BHAV lines reference other things in the files, so you won't be able to just import any BHAV you choose when coding. You need to know what's referencing what. Some point to sounds, animations, dialog, BCONs in the lines. When I do the BHAV tutorial, I'll touch on how to recognize some of this.
crazy4sims
22nd Jan 2005, 11:39 PM
thank you but i met that you could use the in other objects?
Carrigon
23rd Jan 2005, 04:23 AM
The code I included, yes, you should be able to use it in other objects. You could probably put it in a chair or something.
Whitefire26
23rd Jan 2005, 08:02 PM
hi , thanks for this tutorial Carrigon :-) however i'm haveing some problems i've downloaded the newest simspe 14f and when i get to step 4 i run into problems in the tutorial u have wrote u say only use the 2 files that are simpe.xml when u click all files however when i do that i do not see any of the files haveing the xml part the simspe is there but there isn't any xml at all so i'm lost on what to do any ideas i'll try :-) thanks whitefire26
Carrigon
23rd Jan 2005, 08:41 PM
When you are looking to add the files, click all files, you might have to make your file view window alittle bigger to see the extensions, but they are there.
Whitefire26
23rd Jan 2005, 09:02 PM
thanks Carrigon i'll check into that now :-)
Whitefire26
23rd Jan 2005, 10:52 PM
hi , i've just checked into what u said Carrigon however i don't still see the xml after the simspe thing however when i point my mouse over a file it tells me what the file is called so i'm now seeing this XML Document are theses the 2 files i need becouses i see 2 of them when i point my mouse on them the other 2 files only say simspe file when i point my mouse to them i'm still lost and mixed up thanks :-)
Carrigon
24th Jan 2005, 03:52 AM
Yes, just take the xml files, nothing else.
Whitefire26
24th Jan 2005, 08:39 PM
thanks alot Carrigon :-)
fleabay
25th Jan 2005, 08:06 AM
Thanks
A couple of questions
Why do you need a test behavior function? What would happen if you left it out?
The way to hide a string/function is to have '*' in front of it, as in '*Break'? Is that what the '*' is for?
Is there a simple way to keep a sim from self-viewing and causing the function to 'Max All Except Fun and Social'? In other words, just execute the function when directly ordered to do from the object menu?
Thanks!
Carrigon
25th Jan 2005, 01:10 PM
If you leave out your test, your option usually won't show up or won't work at all.
No, the * is not what usually hides an option. You need to click the check for debug menu and you need to see if the guardian is pointing to a "hide menu option".
If you're asking about autonomy, just make it double what it is and the sim won't look to do something as much on their own. The higher the autonomy number, the less addictive the object. The lower the autonomy number, the more they will keep wanting to do something.
fleabay
26th Jan 2005, 01:32 AM
Ok, I did your tutorial with success. Now, I try to fly like a little birdie for the first time and plumet to the ground.
Please help.
I extracted the 'Rename Sim' from the Tombstone of L&D. I import it into my package and set the pie menu to point to it just like in your example.
But it don't work. Is there a reason I can't take a function like that from another object and use it with the clock?
EDIT: I got it working! My Group ID was the problem.
Thanks! This tutorial was a blessing.
Stonicus
27th Jan 2005, 08:02 AM
I've gone through your tutorial like 10 times, and I cannot get it to work. My final file is 'gclockmod.package'. It has 4 files in it. The Pie Strings and Pie Functions, then the 2 BHAV files from the motive code zip file. I follow the tutorial step by step and place the final gclockmod.package into my Downloads folder... and nothing happens. The clock still just has the 'Wind' option.
Is anyone else having this problem???
Could someone post a working grandfather clock mod they made from using this tutorial so I can compare it to mine?
fleabay
27th Jan 2005, 09:38 AM
Here you go...
You can have 2 (or more) SimPE windows running at the same time. Good for comparing things! Especially if you have dual monitors.
Carrigon
27th Jan 2005, 10:22 AM
Stonicus, if it's still saying Wind, you're probably not clicking all the crazy commit and file save things. When you change the word, click "change in all", then click "commit", then go to file, save. Come back to it and make sure it changed.
Stonicus
27th Jan 2005, 05:50 PM
Just tried it again, this time on my work computer, and it worked flawlessly. I'll take this package file home tonight and try it. If it doesn't work there, then maybe some olther mod I had was interfering. I'll let ya know. =)
fleabay
28th Jan 2005, 12:23 AM
What would cause the Guardian behavior to be called?
Is there a way to manually invoke the Guardian from the game?
And what is the * for? Is it possibly a tag for a known buggy function?
conker87
28th Jan 2005, 01:18 AM
Thanks Carrigon for this, really helped with the No Mourn Urns.
Stonicus
28th Jan 2005, 03:36 AM
Well, I got home and tried it again, using the same package file I used at work, but it did not work on my home computer. I removed all the files from the Downloads directory except for the clock mod and it still did not work. Any ideas?
ahmird2
28th Jan 2005, 03:45 AM
Thanks so much Carrigon. Can't wait to get some free time to check it out. -JoJo
Carrigon
28th Jan 2005, 06:01 AM
Stonicus, you'll have to go over it again, step by step, you're missing some step somewhere.
fleabay
28th Jan 2005, 09:50 AM
:howdy: :confused: No help for me?
Stonicus
28th Jan 2005, 02:57 PM
Is it possible that another mod i installed could have corrupted my game somehow? I mean, I took the .packagae that worked on my work computer, ftp'd it to my house, and it did not work on my home computer. I am hoping to god I am just doing something dumb. Weekend coming up, so i should hve the time to get it going. Thanx for your patience man. =)
Carrigon
28th Jan 2005, 04:06 PM
What would cause the Guardian behavior to be called?
Is there a way to manually invoke the Guardian from the game?
And what is the * for? Is it possibly a tag for a known buggy function?
Guardians are usually the TEST. Anything that has a TEST, the TEST always goes in Guardian.
Not sure what you're asking about it, but I can tell you that if you don't put it in, your action that requires it usually won't show up or won't work.
The * is used to mark some hidden menu options like break, and some debugging options. If you want to try to make a hidden option appear, you can try checking off the debug menu in flags.
Whitefire26
28th Jan 2005, 08:00 PM
hi , Carrigon i'm now haveing a new problem i'm at step 6 however the pics u have up don't match what i have in my own simspe u have Pie Menu Functions for us to open and we are to see the wind , maintain and break i don't seem them opening the Pie Menu Functions i only see the flag stuff when i open Pie Menu Strings thats when i see the wind , maintain and break but the flags stuff isn't there i have to click on the Pie Menu Functions to see the flags stuff so i'm real bad mixed up on how u got them on the same page to show up ? thanks whitefire26
Carrigon
28th Jan 2005, 08:34 PM
Click Pie Menu Strings, change the name there, click change in all, click commit, click file, save, then go back to the Pie Menu Functions and the new name should be there.
Whitefire26
29th Jan 2005, 07:59 AM
hi , thanks alot Carrigon however do i just name the new Pie Menu Strings something i can rember or what should i name it alittle mixed up on this ? again thanks alot Carrigon
Carrigon
29th Jan 2005, 01:17 PM
Just change wind to max motives if you want. Just give it an easy name. Click change in all, click commit, then go to file, save.
Stonicus
29th Jan 2005, 05:41 PM
I backed up then deleted my mydocuments\eagames folder then ran the Sims 2. This adds in the eagames\sims2 directories with all the default info. I then put the glockmod.package file I made in and it worked!! Yeah! I'm not going crazy! Something in one of my save files is corrupt. Soon as I figure it out what's doing it, I'll be back on track! =)
Whitefire26
29th Jan 2005, 07:33 PM
thanks Carrigon :-)
crazy4sims
2nd Feb 2005, 06:51 AM
carrigon (i don't want to sound rude put ) you sed that you where working on a bav's Tutorial . are you having prob's whit the Tutorial . please reply
Carrigon
2nd Feb 2005, 11:23 AM
No, I'm not having problems with the tutorial. I just haven't had time to do it yet. It's not easy to do these. I have to pick things that are easy to explain and I like to encompass alot of different lessons into one tutorial. I'm not sure when I'll do it yet. But there will be one.
crazy4sims
2nd Feb 2005, 01:31 PM
i fully onderstand this . and you didn't make the game.but i'm just itching to start modding (i'm have no clue waht to do .)
Stonicus
2nd Feb 2005, 04:59 PM
After hours and hours of trial and error, I finally got my mods to start working. One of my lots had some corrupt/bad/unknwon object in it that caused all my mods to not work. So, now that I got that fixed, I put the grandfather clock mod that I made in the Downloads, and it worked! Was the same mod I made going through the tutorial, so your tutorial was perfect. Thanx. Now, I am greatly looking forward to your tutorial on how BHAV's work, because that seems to be where the real meat and potatoes are.
Do you know anything about modding memories? I have a goal for a custom career I want to make that will eventually add memories to people who interact with characters of the new profession.
Carrigon
2nd Feb 2005, 05:50 PM
Do you know anything about modding memories? I have a goal for a custom career I want to make that will eventually add memories to people who interact with characters of the new profession.
Memories are actually inventory items. I'm not sure you can add a new one, but you can probably overwrite an existing one that you don't really care too much about.
Carrigon
2nd Feb 2005, 05:53 PM
BHAV's are very complicated and when I do the tutorial, it probably won't even cover half of it. But I can at least get you all started on some things. There are many things you can do with the code. There are techniques of code switching, calling a private within a private, bybassing code lines, adding code lines. There are alot of things. And that's why it's going to take me awhile to do the tutorial. I need to figure out the best way to encompass some of this into it and make it easy to understand.
Numenor
10th Feb 2005, 04:20 PM
Hi, Carrigon! I had no problem with your tutorial, my problem is slightly different (hope you don't mind if I ask you here :)).
I created a brand new object, it has its own BHAVs, no Globals are involved. As usual, all the object files are in the 0xFFFFFFFF group.
Now, I've imported Pie Menu Strings and Pie Menu Functions, changed their group to 0xFFFFFFFF (Instance is 0x83 for both, like in the object I grabbed them from); I've edited them in order to call the right (private) BHAVs, guardian and action (look picture).
Well, the menu doesn't even appear in the game; the pointer stays grayed out and if I click on the object it says that there are no actions for that object.
I'm sure I'm missing something...
Maybe it's irrelevant, but the Init and Main BHAVs were grabbed by the same object that I took the Pie Menus from, and they contains no links to external BHAVs.
No BHAVs contain a "Change the Action String" function.
Thank you
Innis
10th Feb 2005, 06:07 PM
Hi Carrigon,
Ok I've been using SimPE to try and edit the Mirror PIE Menu options to let adults and elders do the "Check Self Out" and "Use Acne Cream" option. I can get the "Check Self Out" to work just fine by adjusting the FLAGS to include adults and elders but I have trouble with the acne cream when I do the same thing. I think it has to with the fact you can only do this when you have Zits when you're a Teen and being as adults and elders do no get zits this option does not appear.
My question is how do I edit further to disable the "zits" qualification to get this to work with adults and elders?
I know you all must be thinking "why do they want to do this when adults and elders do not get acne?" Well the reason why is I'm really just wanting to do this for the interaction/animation because I've been working on a "Beauty MOD" for the Sims 2. The actual practicality of the action has no function I am just doing it for the interaction alone because I am renaming the option for something else.
ANY HELP WOULD BE APPRECIATED!!!! THANKS!!!!
Carrigon
11th Feb 2005, 03:20 AM
Numenor, check in Object Data that the ID string number matches the pie. Use 80 as the instance for both the pie menu string and pie functions, then go into Object Data and find the ID string, change that to 80 in the left column. See if that does it. Also, make sure you have immediately checked off in the Pie Functions. Do not have Debug Menu checked off.
Carrigon
11th Feb 2005, 03:23 AM
Innis, you just want the animations for adults and elders? I'm not sure. Animations can be switched in the text strings. Try changing the animations from practice speech to these animations. It's just text strings, look in the text files and change the animation names.
Innis
11th Feb 2005, 01:05 PM
Thanks! But actually I want the animations for the "Acne Cream" application to work for Adults and Elders for a MOD I'm doing. I cannot seem to get it to work no matter what I do. I think its the zit qualification that stops it from working because I can get it to show up on the Menu as an option but when the Sim walks up to the mirror they do nothing but stand there. Any suggestions?
Numenor
11th Feb 2005, 02:05 PM
Thank you, Carrigon, I asked my question before you posted your tutorial on BHAVs, that is very interesting and answers to my question, as well :)
Carrigon
11th Feb 2005, 06:54 PM
Thanks! But actually I want the animations for the "Acne Cream" application to work for Adults and Elders for a MOD I'm doing. I cannot seem to get it to work no matter what I do. I think its the zit qualification that stops it from working because I can get it to show up on the Menu as an option but when the Sim walks up to the mirror they do nothing but stand there. Any suggestions?
Well, first of all, the animations are tagged for age groups. So that right there could be your problem. There are child animations and teen animations that are different from adult animations. So I'm not sure it's doable. Look in the text strings, you'll see how the front part of an animation is named differently for teens and adults. You'd have to wait until we can change animations properly.
Innis
11th Feb 2005, 07:57 PM
Thanks! I will mess with it when I get home. I did get the teen animation for the "Check Self Out" to work with Adults and Elders. But I could not get this one to work so that is what led me to believe that the "zit" qualification is the problem. Does that make sense? I'll try the text strings when I get home and see if that makes a difference. I'll clone and rename "Practice Speech" or something then change the animations in it to the apply cream ones...but what do I do about the Guardian and Action fields in the PIE Menu Functions? Those are what I've been messing with all this time. Any idea?Thanks again for your help!
Carrigon
11th Feb 2005, 08:22 PM
If you use Practice Speech, the Guardian and Action should be for that function. Do my new BHAV tutorial, that should help you to understand all this better.
Innis
11th Feb 2005, 08:34 PM
Let me see if I understand this right. What you are saying is that I can leave the Action and the Guardian for "Practice Speech" as the practice speech ones but under the text strings I can make these do the animations of "use acne cream" (if an adult can do those that is). I used your first tutorial to get this far and I'll try to go through your new one. Thank you! The problem and the response I've been going from people is that the problem may be the "zit" qualification...ie...Teens don't get the option unless they have zits and being as adults and elders do not get zits they can not have the option. But my concern is purely with the animation...I want to go up to the mirror as an adult click on the NEW option and have the animation of the application of the ance cream to run through...I don't care about the zit problem or the benefits of the acne cream. Just the animation but I cannot figure out how to bypass all these things to get it to work. I will do what you suggest and if it doesn't work I'll read your new tutorial. Thank you for all your help! I may be back for more questions so I hope you'll forgive me!
Carrigon
11th Feb 2005, 10:15 PM
Just try changing those animation strings.
Innis
12th Feb 2005, 08:14 PM
Still cannot get it. I give up. Thanks for your help though!
newjjie
14th Feb 2005, 05:00 AM
Thanks Carrigon, I added a max energy option to an object I made, wanted something to keep my sims from going to bed at parties and weddings. Your
tutorials made it easy. Still, I'm amazed that it actually works.
CrazyChip
5th Mar 2005, 12:38 AM
http://sims.ambertation.de/ttabtutorialcarrigon.shtml
Please use this thread for questions and discussion of this tutorial and someone will help you here. Thanks, and I hope it helps some of you to get started with modding. The next tutorial I do will cover more about the BHAV's.
Sorry I have tried it like 20 times and it freezes any explanation?
Carrigon
5th Mar 2005, 04:11 AM
You aren't giving any details on what's happening.
CrazyChip
6th Mar 2005, 01:04 AM
You aren't giving any details on what's happening.
when I click File, New, Add. It freezes any eplanation?
Carrigon
6th Mar 2005, 03:59 AM
Get the latest version of SimPe. It's a problem with SimPe, not the tutorial.
CrazyChip
7th Mar 2005, 10:36 PM
Thanks it works now!
undrhil
30th Apr 2005, 04:41 AM
:confused: I am looking in SimPE at the cellphone object in the EP. I do not understand how the cellphone adds the new menu options to the self-interaction pie menu. Can anyone give me any clues about this? :confused:
Thanks. :)
Undrhil
Margitka
30th Apr 2005, 12:21 PM
Please, could you help me? When I download the files in rar, what should i do to use them, or just unzip? Is it need a special program?
undrhil
30th Apr 2005, 07:01 PM
You will need WinRar from www.rarsoft.com to extract the files from the .rar file. It's available as shareware (like WinZip) so you can get it and use it and delete it. But a lot of people use .rar format now, so you should probably just get it and keep it installed. Hope that helps.
Undrhil
KHLVH
6th May 2005, 08:27 AM
I need help. I'm trying to add an additional pie menu to an object and i am unsure as to how to do this. I thought I knew how but I was wrong. I'm Trying To add more Tv Stations To the Tv's, I've got the First part done,Adding the file to the Broadcast.ini files but the second part is eluding me adding the extra station to the tv's themselvs, so ....HELP
K-C
26th Jun 2005, 09:00 PM
i need help too please! i work on a "runaway teens2 hack but it will not work.
i extract the mirror globals (string and pie menu) and added in a new file. than i looked up the move out bhav - no problem. but the new menu is not shown up?! they run away when they do an other mirror option. this missing option problem i have with all my files. but tey are conected corectly (same group and gardian/acton code is right added)? what is my problem? please help, i becames so crazy...
nanatoana
23rd Aug 2005, 01:13 AM
I printed the TTAB Tutorial by Carrigon, and was totally confused at the beginning because SimPE has changed since the tutorial was written. I looked for the option to have it in "Classic SimPE" so that the tabs and everything in the tutorial would be easier to follow, but could not find it.
I would like to start modding, so does anyone know of a newer tutorial on TTAB's?
tinkerbellLOVESit88
23rd Aug 2005, 01:14 AM
hi im trying to put a hack in but i cant find the /download file under ea games or whatever? it worked when i had the sims 1 but i cant find it! can someone tell me the path to get there? thanks SOO much!
Melgarv12
23rd Aug 2005, 01:20 AM
:taekwondo I hope this is the right place... I have a REQUEST :Pimp: :smash: :anime: :beer: :banned: :!!: :sink: : :Slap: :argh: :werd: :fight: :nana: So... Yeah.... Pm me or whatever to here :howdy: L8ter
Melgarv12
23rd Aug 2005, 01:22 AM
:Pimp: ME AGAIN.... I HAVE NO IDEA HOW to use SIMPE...help please.
hexywoman79
28th Feb 2009, 09:25 PM
I printed the TTAB Tutorial by Carrigon, and was totally confused at the beginning because SimPE has changed since the tutorial was written. I looked for the option to have it in "Classic SimPE" so that the tabs and everything in the tutorial would be easier to follow, but could not find it.
I would like to start modding, so does anyone know of a newer tutorial on TTAB's?
Has anyone found a newer version of this tutorial as I would love to update a computer I love for newer EPs and as nanatoana said, SimPE has changed since this tutorial was done. If anyone knows of one can you please PM me? Thanks in advance!
Numenor
3rd Mar 2009, 10:01 AM
Updating a computer is extremely simple, and doesn't require this tutorial.
Clone a computer with SimPE; open the clone and extract the TTAB and the TTAS (right click on them and choose "Extract").
Then, open the old custom computer, right-click on the TTAB and choose "Replace"; browse to where you saved the extracted TTAB and select it (be sure to select the .simpe file, NOT the xml!).
Do the same with the TTAS.
Save the package and you are done :)
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.