View Full Version : Adding functionalities from a hacked object to a maxis object
Lan the Hedgehog
23rd Dec 2011, 8:16 PM
Hi i wanted to know how to add functionalities from a hacked object to a maxis object, for example, i want to add the Microscope functions of PC Sims Microscope to the Microscope Sculpture that came with Freetime , not just as a stand-alone object but also as a default replacement (also add some hobby enthusiasm).
23rd Dec 2011, 8:37 PM
You would need to understand how interactions work: BHAVs, Pie Menus, and Pie Strings. I do not know what your modding experience is so I would recommend you start with Echo's Tutorial: Making Your First Custom BHAV (http://www.modthesims.info/showthread.php?t=142907).
Since you would be copying one interaction into another object, you might can simply extract the BHAVs from one object and add them to the other. (Make sure their reference numbers do not conflict; this is what distinguishes one BHAV from another and what you use to invoke a particular BHAV.) You will then need to update the Pie Menus and Pie Strings accordingly (simply transferring the BHAVs is not enough). If the interaction relies upon values stored in BCONs, you will need to make sure the transferred BHAVs get those values also. If you want to add onto the existing EA object, you might could follow the information here (http://www.modthesims.info/showthread.php?t=253903) or you could extract the Pie Menus and Pie Strings from the object (without changing the Instance numbers, Group numbers, and so forth) into a new Package file and make changes. This would mean a smaller Package (versus a full clone of the original object that you do not give a new GUID and therefore override the original).
In case you need it, here (http://www.modthesims.info/showthread.php?t=222531) is a link to Echo's "Tutorial: Making a better interaction - Entries, exits, skills and motives". From my experience, skilling a certain skill can automatically boost hobby enthusiasm but I have not done research on this.
Lan the Hedgehog
24th Dec 2011, 1:25 AM
Thanks MDS, i'll take a view on the tutorials and after that i'll try to follow your tip.
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.