PDA

View Full Version : New food works fine... without the "registered" BHAV.


eletrodj
7th Nov 2008, 11:55 PM
Hi. I have a questions about food.

I tried to make a food. I was changed the Text List (for easy find in the game), works great, but, of course, the sim cook the same food of the game, normal.
But, when I go to BHAV and "register" my GUID on "CT - Factory - Food" and "CT - GUID - Menu" the food doesn't work. The Sim doesn't cook, the action is canceled and he stays in front of the fridge.

Any help? :help:

Numenor
8th Nov 2008, 12:29 AM
I think there's a misunderstanding, or you didn't explain fully your operational flow.
With "registering a GUID" we don't mean "writing the GUID into the BHAV", but actually registering a new GUID at the SimPe site, using the interface built-in in the OBJD editor.
I know that the tutorial about creating new food are quite clear on this subject; perhaps you should re-read it carefully (or explain better what do you do, so to understand what's wrong with your food).

eletrodj
8th Nov 2008, 01:25 AM
Yep! Sorry, I didn't explained well.
My GUID is registered yet (0x0024E95C for "main" and 0x0024E95D for Menu). My problem, I think, is on the BHAV. Writing the GUID into the BHAV, in better words.

I do right, reversing the GUID, I think. Writing 5DE92400. The problem (that the sim can't cook and cancel the action) always appear when I change the BHAV, "switching" the Maxis GUID to my GUID.

Numenor
8th Nov 2008, 01:28 AM
Uhm... As far as I remember, you have to put the (reversed) GUID of the Menu into the "CT - GUID - Menu"; and the (reversed) GUID of the food into the "CT - Food Factory". Is this what you do? If you already did it, then please post your package, so I will take a look.

eletrodj
8th Nov 2008, 03:13 AM
Yep! I is.

Numenor
8th Nov 2008, 02:30 PM
when you are beta-testin an object, especially if it doesn't behave as expected, you must activate the testingCheats, so to get the error logs whenever something goes wrong.

thanks to the error log, I've understood that the problem is in the first line of the "CT - Factory - Food": the game can't create an instance of your food, and returns "False".
I have no idea why the food can't be created. Perhaps it's something that you renamed, or something you have unknowingly changed, or the mesh not properly edited/imported... I really don't know.
You'd better clone again the food and change ONLY the GUIDs in the OBJD and in the BHAVs; if it works (the sim will prepare your food, though it still looks like the original food), then modify the Text List, and test the object again. If it works, then import the new mesh and textures.
This way, you will know what is preventing the game to create your food.

IMPORTANT:
Before cloning the food, go to Extra -> Preferences -> File Table and DESELECT all the options except the base game.
Editing the Text List for a food is harder that usual. You shouldn't remove all the languages but Brazilian, or the object won't be displayed correctly in non-Brazilian games. Instead, you should edit all the languages (including the ones that you don't understand), replacing the part after ".../" with you custom food name.
For example, if you read: Взять десерт.../Слоеный торт, you have to edit the last part as: Взять десерт.../Rabanada.
If you really don't want to edit all the languages, you should do it at least for English and Brazilian (many users will not be able to use your food properly, anyway).

eletrodj
8th Nov 2008, 06:42 PM
Thank you so much!

I'll clone again, and see if it works. ;)