PDA

View Full Version : It just goes away...please help...


Zexion577568
18th Sep 2009, 11:10 PM
Hey,

I made a custom object and it's a recolor of a buyible book and when I say to stop reading it just disappears and I have to buy it again...please help, it's kind of annoying! :help:
Thanks

Echo
19th Sep 2009, 2:18 AM
You're probably getting an error when your sim tries to put it back onto the shelf. Try playing it with debugmode turned on and see if you get an error log. :)

Numenor
19th Sep 2009, 11:58 AM
Your clone uses the same scenegraph chain of the cloned book, i.e. the mesh and the textures are contained in the buyable book you cloned (for this reason, I couldn't even test your object, not having the original). However, not all the references to the original book are correct, and therefore the book disappears whenever it tries to use a mesh that doesn't exist.

My suggestion is to clone again the buyable book, and leave UNchecked the option "reference original mesh"; register a new GUID for your clone and replace the texture.

Zexion577568
19th Sep 2009, 2:10 PM
Your clone uses the same scenegraph chain of the cloned book, i.e. the mesh and the textures are contained in the buyable book you cloned (for this reason, I couldn't even test your object, not having the original). However, not all the references to the original book are correct, and therefore the book disappears whenever it tries to use a mesh that doesn't exist.

My suggestion is to clone again the buyable book, and leave UNchecked the option "reference original mesh"; register a new GUID for your clone and replace the texture.

thanks Numenor,
I'll try that.

You're probably getting an error when your sim tries to put it back onto the shelf. Try playing it with debugmode turned on and see if you get an error log. :)

Thanks for the advice Echo,
Im actually trying to make it so the sims just puts the book down instead of putting it on a shelf, but running sims2 in debugmode may be a good idea...


edit

Alright I tried doing what u suggested and I still have the same issue. I'll post the package again now that it's updated...thank you so much for all the help u have given me

Numenor
19th Sep 2009, 10:11 PM
OK, now I could test it. The problem occurs when there is at least one bookcase in the lot, and the sim is neat enough to desire to put the book back in the bookcase (if there are no bookcases, or the sim is sloppy, he just puts the book on a table, and the book does not disappear).

This happens because unfortunately the game is stupid :P When a sim wants to put the book in the bookcase, the game checks if the book is a novel or a normal book, and this check is performed by GUID. Since your custom book has a different GUID, it is not recognized by the game, that reacts deleting the unknown object.

The described game logic is contained in the book globals, which means that can't be corrected, unless you create a global mod, or inject a lot of semiglobal BHAVs into your object. I can't be more specific, because the situation is complex, and - from what you write - I guess you aren't a modder experienced enough to fix this problem.

Zexion577568
19th Sep 2009, 10:16 PM
OK, now I could test it. The problem occurs when there is at least one bookcase in the lot, and the sim is neat enough to desire to put the book back in the bookcase (if there are no bookcases, or the sim is sloppy, he just puts the book on a table, and the book does not disappear).

This happens because unfortunately the game is stupid :P When a sim wants to put the book in the bookcase, the game checks if the book is a novel or a normal book, and this check is performed by GUID. Since your custom book has a different GUID, it is not recognized by the game, that reacts deleting the unknown object.

The described game logic is contained in the book globals, which means that can't be corrected, unless you create a global mod, or inject a lot of semiglobal BHAVs into your object. I can't be more specific, because the situation is complex, and - from what you write - I guess you aren't a modder experienced enough to fix this problem.

Wow I'm glad to know i'm not going crazy for a really stupid reason. I want to post this object...do u think it would be okay or do I need to study up and learn how to fix it?

Numenor
19th Sep 2009, 10:25 PM
Another idea, easier to do: put in the OBJD the GUID of the original Maxis book (0xC4F7A548). This way, your clone will replace all the books in the game, but won't disappear :P -

But if you decide to do so, and then upload your object, be aware that it contains a TTAB and a TTAS that you *must* delete: you can recognize them because they have the GroupID set to 0x7FE64A8D; they are the semiglobal TTAB and TTAS, and must never be included in a clone. I suspect that the custom book you cloned suffers from the same problem, and therefore I'd like to know where you have downloaded it.

EDIT
Find attached the fixed package, with the original GUID.

Zexion577568
19th Sep 2009, 10:33 PM
Another idea, easier to do: put in the OBJD the GUID of the original Maxis book (0xC4F7A548). This way, your clone will replace all the books in the game, but won't disappear :P -

But if you decide to do so, and then upload your object, be aware that it contains a TTAB and a TTAS that you *must* delete: you can recognize them because they have the GroupID set to 0x7FE64A8D; they are the semiglobal TTAB and TTAS, and must never be included in a clone. I suspect that the custom book you cloned suffers from the same problem, and therefore I'd like to know where you have downloaded it.

Thanks :3 U helped me a lot. I'll make sure to delete the TTAB and a TTAS before. I believe The book I cloned it off of can be found here link~ (http://www.modthesims.info/download.php?t=227876)
Thanks again for all your help :lovestruc