- Site Map >
- Modding and Creation >
- Sims 2 Creation >
- Modding Discussion >
- Secret door library Hack
- Site Map >
- Modding and Creation >
- Sims 2 Creation >
- Modding Discussion >
- Secret door library Hack
Replies: 3 (Who?), Viewed: 5819 times.
#1
9th Mar 2018 at 11:29 PM
Posts: 74
Secret door library Hack
Hello everyone!Some time ago J.M.Pescado made this mod called Autosecretdoor, for the sims to use autonomously the library that came in the expansion Apartment Life. In the traditional way, sims must read a special book so that the library opens and they can pass.
I have created a custom library that also works as a secret door, but the mod only affects the Maxis library.
Surely it is a modification in the BHAV code, but I do not understand anything about that.
Can someone with knowledge of this language review the files and identify what autonomy grants?, What should I modify in my file so that the library also works that way?
Required files:
- J.M.Pescado hack
- My library
Advertisement
#2
10th Mar 2018 at 11:13 PM
Posts: 7,361
Thanks: 2940 in 27 Posts
#3
11th Mar 2018 at 10:11 PM
Last edited by ankoyume : 12th Mar 2018 at 12:12 AM.
It's quite challenging to find the reason why. So I'm looking into it.
What did you clone in the first place ? You cloned "Very Mysterous Shelving", isn't it ?
I tried to clone the "Sliding Door ... something" and it was a big fail... (it doesn't appear anymore, maybe I have borked my program files or SimPE file Nevermind I had changed my preferences in some way...)
Because what I found is that this mod modifies only one semi globals (bookcasesemiglobals : "Interaction - Secret Door" 0x7F327BCE) the other 8 modifications are for a specific bookcase ("Bookcase - Secret Door" (0x7F28B01F) ) >> only one file out of 9 are detected by all bookcases
>>> your package, if not cloned from the right bookcase ("Very Mysterous Shelving") AND with Pescado's mod detected by SimPE, can't have any of Pescado's modifications anyway
WHAT TO DO ? :
EASY WAY
First thing,try to reclone the right bookcase while the mod is in download folder, the Pescado's modifications must be there.
If not, go to preference in SimPE and files table then add the download folder. Now you can clone again the right bookcase. Verify if there is a "Function - Portal - TEST" BHAV. If it is there, you've succeeded ! Afterwards, you might prefer to revert back the preferences for future use of SimPE.
At last, add the modifications you had done (new mesh ? new catalog description ? new BHAV ?)
HARD WAY
If the easy way doesn't work for you or if you don't want to restart your project from the beginning, just go for those steps in your package :
1-[B] just verify and modify accordingly to Pescado's one the BHAV "Interaction - Secret Door"[/B] or copy and past, then change the group number
2- Just add a line in your STR# 0x0000012F : "Function - APO - Test"
3 - you need to add a copy of the BHAV "Function - Portal - TEST" in your package, change its Group Number to "0xFFFFFFFF"
4 - modify line 0xA of the BHAV "Function - Portal - TEST" so that it refers to the text "Function - APO - Test" .
5 - select your lead tile OBJF with the instance number of 0x000041AC and go to the portal line >>> link this portal line (see at the right of the screen) to the right 2 BHAVs : Guardian is the "Function - Portal - TEST" and the other one is 0x204C"Interaction -Secret Door"
Ok, I'm finished. I hope it's usefull enough to fix your issue.
USELESS DETAILS :
1- Pescado modified only one bookcasesemiglobals : "Interaction - Secret Door" 0x7F327BCE
>>> This BHAV should already be in your package, if this mod was in download folder when you cloned your object >> your package seems to have one additional line but I haven't verified if there's any other difference between your BHAV and Pesado's BHAV (Lazy me)
>>> If you don't have it in your package, it seems you have to add the download folder in SimPE preferences'files table before you clone it
2- The four other files are directly from the object "Bookcase - Secret Door" (0x7F28B01F) > it won't appear in your package if you didn't cloned it, and maybe even if you cloned it > remember in some cases SimPE doesn't recognize download folder unless you tell it to in preference's files ; it may be the issue.
2-A autonomous actions to change room need "Function Portal" and this one has been added to the one maxis bookcase (0x7F28B01F), not the semiglobal >> The OBJFportal line refers to new BHAVs
2-B Pescado's "Function- Portal" BHAV refers to the STR# for Call tree.
>>> your package, if not cloned from the right bookcase ("Very Mysterous Shelving") AND with Pescado's mod detected by SimPE, can't have any of Pescado's modifications anyway
WHAT TO DO ? :
EASY WAY
First thing,
If not,
At last, add the modifications you had done (new mesh ? new catalog description ? new BHAV ?)
HARD WAY
If the easy way doesn't work for you or if you don't want to restart your project from the beginning, just go for those steps in your package :
1-[
2- Just add a line in your STR# 0x0000012F : "Function - APO - Test"
3 - you need to add a copy of the BHAV "Function - Portal - TEST" in your package, change its Group Number to "0xFFFFFFFF"
4 - modify line 0xA of the BHAV "Function - Portal - TEST" so that it refers to the text "Function - APO - Test" .
5 - select your lead tile OBJF with the instance number of 0x000041AC and go to the portal line >>> link this portal line (see at the right of the screen) to the right 2 BHAVs : Guardian is the "Function - Portal - TEST" and the other one is 0x204C
Ok, I'm finished. I hope it's usefull enough to fix your issue.
USELESS DETAILS :
1- Pescado modified only one bookcasesemiglobals : "Interaction - Secret Door" 0x7F327BCE
>>> This BHAV should already be in your package, if this mod was in download folder when you cloned your object >> your package seems to have one additional line but I haven't verified if there's any other difference between your BHAV and Pesado's BHAV (Lazy me)
>>> If you don't have it in your package, it seems you have to add the download folder in SimPE preferences'files table before you clone it
2- The four other files are directly from the object "Bookcase - Secret Door" (0x7F28B01F) > it won't appear in your package if you didn't cloned it, and maybe even if you cloned it > remember in some cases SimPE doesn't recognize download folder unless you tell it to in preference's files ; it may be the issue.
2-A autonomous actions to change room need "Function Portal" and this one has been added to the one maxis bookcase (0x7F28B01F), not the semiglobal >> The OBJFportal line refers to new BHAVs
2-B Pescado's "Function- Portal" BHAV refers to the STR# for Call tree.
I believe in the "Thanks" button and its amazing powers !!!
#4
12th Mar 2018 at 3:08 AM
Posts: 74
Thank you very much Ankoyume! For the explanation and information you have sharing here.
For me it is a bit overwhelming everything he says, since I never did this before, but I will follow your instructions, I hope to get good results.
For me it is a bit overwhelming everything he says, since I never did this before, but I will follow your instructions, I hope to get good results.
Who Posted
|