Quick Reply
Search this Thread
Forum Resident
Original Poster
#1 Old 21st Jan 2025 at 4:39 PM Last edited by vegan_kaktus : 22nd Jan 2025 at 3:24 PM.
Default How to add a shadow to the bone from BV?
Me again.. the bone from bon voyage, the one sims can dig up and dogs can chew on, it seems EA managed to break the shadow. The resources are there, but they are not used. If you clone the bone in SimPE, these resources won't be pulled at all. I looked at EA's blue bone (from pets) which has a working shadow and noticed some differences. I edited the gmnd (gave it the shadow-related resources) and edited the cres (to reference the shadow's shpe as well). These were the only differences I noticed, but it didn't solve it, the shadow is still not used in-game. I then took a look at the "Interaction - Play" BHAV, and I think this is where the problem lies (please do correct me if I'm wrong, I'm not that comfortable with BHAVs). Here is an example:



This is the case for nearly all of the shadow-related-resources in the BHAV. I can't for the life of me figure out how to edit them though. The BV bone doesn't have that arrow down-menu, and I can't figure out how to get it? Does someone know? I included my edited file for the bv bone and a package file containing a clone of EA's blue bone (with working shadows). Many thanks in advance

Worth mentioning: the bv bone's bhav is called "Interaction - Chew" and pets bone is called "Interaction - Play".

Edit 2024-01-22: btsu replied to my thread on my tumblr, and I noticed another difference in the gmnd between the blue bone and the bv bone, which I changed, but it sadly didn't solve it either. The archive is updated with said change!
Screenshots
Attached files:
File Type: zip  bones.zip (59.4 KB, 0 downloads)
Scholar
#2 Old 22nd Jan 2025 at 7:28 AM Last edited by jonasn : 22nd Jan 2025 at 8:10 AM.
The intent is likely to hide the shadow while the bone is being moved so it doesn't look something like the snacks bag with a floating shadow, then the shadow ought to be restored when it is at rest. This instruction is only used when needed. It is an expression that sets a variable, and it can be added. If you are doing it in the interaction, you would use "stack object's" shadow type, and in function - main you would use "my".

I don't know anything about graphical resources at all that may encode the shape of the shadow.

To quickly check if the shadow displays after editing the graphics, you can use Charles Object Editor, All...\Misc Object Data... where there is a choice between none/guob/dynamic. Then you can see check the coding to fixate it.

Usually shadow type is set in function - init (my). Then it may be disabled during an interaction (stack object's).

There is no shadow on the object in bv_bonefix. The graphics seem not to be associated correctly. The interaction play only comes into effect after someone plays with it.
Forum Resident
Original Poster
#3 Old 22nd Jan 2025 at 3:33 PM
Quote: Originally posted by jonasn
The intent is likely to hide the shadow while the bone is being moved so it doesn't look something like the snacks bag with a floating shadow, then the shadow ought to be restored when it is at rest. This instruction is only used when needed. It is an expression that sets a variable, and it can be added. If you are doing it in the interaction, you would use "stack object's" shadow type, and in function - main you would use "my".

Exactly! That's how the shadow is behaving on the blue bone from pets. Sadly, there was only one resource in the function - main BHAV?


Quote: Originally posted by jonasn
I don't know anything about graphical resources at all that may encode the shape of the shadow.

To quickly check if the shadow displays after editing the graphics, you can use Charles Object Editor, All...\Misc Object Data... where there is a choice between none/guob/dynamic. Then you can see check the coding to fixate it.

The bone is using a "custom" shadow, or how to say. If I understood you correctly, you're talking about the round/square shadow-textures which a lot of objects share, right?

Quote: Originally posted by jonasn
Usually shadow type is set in function - init (my). Then it may be disabled during an interaction (stack object's).

There is no shadow on the object in bv_bonefix. The graphics seem not to be associated correctly. The interaction play only comes into effect after someone plays with it.

Sadly I couldn't see any shadow-related resources in the function - init, but maybe it's my lack of knowledge haha. The shadow is in a separate gmdc, it's the "petToyChewWhite_tslocator_gmdc" resource :-)
Screenshots
Scholar
#4 Old 22nd Jan 2025 at 4:37 PM
I think the shadow should work by default when it is added correctly, and is not needed in function - init. You can add lines at the end of it. Later in the object's life shadow can be changed. I cannot help you with adding the shadow as I don't know graphics.
Forum Resident
Original Poster
#5 Old 22nd Jan 2025 at 6:45 PM
Quote: Originally posted by jonasn
I think the shadow should work by default when it is added correctly, and is not needed in function - init. You can add lines at the end of it. Later in the object's life shadow can be changed. I cannot help you with adding the shadow as I don't know graphics.

Ahh I see! Thank you for trying to help<3
Back to top