Quick Reply
Search this Thread
Scholar
Original Poster
#1 Old 17th Nov 2024 at 7:19 PM
Default Bookcase Animations
I have created a low bookcase where the animations for high and middle would not be needed:-

After creating the bookcase, I saved a copy of the SimPE file, then deleted all the examine/put/get for high and middle in the animations resource; followed by a "Fix Integrity" and save.
When tested it in-game, Sims still examine and get the book on the high shelf.

Is there some way to disable these functions that are not required?
Is it possible to adjust the height to make them all the same i.e. the low option?

Thank you in advance for any help you can offer.
Screenshots
Advertisement
Mad Poster
#2 Old 17th Nov 2024 at 7:33 PM
The animations are usually located in the BHAVs + possibly some other resources (not entirely sure how it's best to edit them, though).

The anim resources are just the actual animations, and they're not used in the object as far as I know. I think the object still uses ingame animations unless you tell it to do otherwise.
Scholar
Original Poster
#3 Old 18th Nov 2024 at 7:56 AM
Quote: Originally posted by simmer22
The animations are usually located in the BHAVs + possibly some other resources (not entirely sure how it's best to edit them, though).

The anim resources are just the actual animations, and they're not used in the object as far as I know. I think the object still uses ingame animations unless you tell it to do otherwise.

Hello @simmer22
Thank you for your reply.

I did look in the BHAV's resources but not certain what I should be changing - is it the allowed height expression?


I have attached the zip.file of my bookcase (no animations removed).

Thank you in advance.
Screenshots
Attached files:
File Type: zip  LSP8SleeqframeCabinetRightMesh.zip (539.6 KB, 1 downloads)
Mad Poster
#4 Old 18th Nov 2024 at 5:05 PM
I think Placement flags and allowed height have mroe to do with the placement of the bookshelf than the animations.
Like I said, I'm not sure. Doesn't look like this one in particular has the animations editable anywhere in the file itself (at least not with my limited knowledge).

The file above doesn't have the same Function Init setup as the one shown in your picture - is it the same file?
Scholar
Original Poster
#5 Old 19th Nov 2024 at 7:56 AM
Quote: Originally posted by simmer22
I think Placement flags and allowed height have mroe to do with the placement of the bookshelf than the animations.
Like I said, I'm not sure. Doesn't look like this one in particular has the animations editable anywhere in the file itself (at least not with my limited knowledge).

The file above doesn't have the same Function Init setup as the one shown in your picture - is it the same file?


Hello @simmer22
Thank you for your reply.

The animations (all of them) are the first item on the Resource Tree - as I stated in my first post, I don't think I have seen an animation resource on bookshelves before; but then again most bookshelves have been a regular size so I wasn't considering having to change anything.

This is the file - object made but nothing done with the animations - the other file only the animations for high and middle were deleted, and I changed nothing in the BHAV resource.
This pic is from the Init then selecting one of the two options that allow you to view the behavior.

I may consider just making this a counter height decorative end table but I would love to know how to change/remove parts of the bookshelf animations.
Mad Poster
#6 Old 19th Nov 2024 at 4:48 PM
One of the SimPE settings pulls the actual animations (ANIM files) that belongs to the bookshelf, but most often these are not used by the file (you can even remove them without it causing any harm, since the object pulls the animations from the game files anyway, usually via the text lists or other methods).

There are several other resources that deal with animations, but I can't find any that spesifically are tied to the bookcase ones in the file.

This bookcase has the animations fixed - maybe take a look. It has the used animations listed in the text lists. Not 100% sure if there are other changes (couldn't spot any, but didn't look extremely close). Worst case, you could clone this one, if the original creator allows for it?
https://www.leefish.nl/mybb/showthread.php?tid=3651
Test Subject
#7 Old 20th Nov 2024 at 2:48 PM
Replying for the updates.
Scholar
Original Poster
#8 Old 20th Nov 2024 at 5:52 PM
Quote: Originally posted by simmer22
One of the SimPE settings pulls the actual animations (ANIM files) that belongs to the bookshelf, but most often these are not used by the file (you can even remove them without it causing any harm, since the object pulls the animations from the game files anyway, usually via the text lists or other methods).

There are several other resources that deal with animations, but I can't find any that spesifically are tied to the bookcase ones in the file.

This bookcase has the animations fixed - maybe take a look. It has the used animations listed in the text lists. Not 100% sure if there are other changes (couldn't spot any, but didn't look extremely close). Worst case, you could clone this one, if the original creator allows for it?
https://www.leefish.nl/mybb/showthread.php?tid=3651

Hello @simmer22
As ever, you are an angel to find this bookcase by Leefish.

I have downloaded the bookcase and will have a look at the BHAV and animations to see if I can figure out what to do.
If unable to, will contact Leefish and ask for permission to use as a clone.

Thank you so much.
Scholar
Original Poster
#9 Old 21st Nov 2024 at 5:43 PM
Hello @simmer22
I have installed and started to check the bookcase by Leefish.

I placed in it my game on a lot saved then removed it from my downloads, in order to find out which bookcase it had been cloned from - and found it is the Cinderblock Bookcase that I used too.

I then opened Leefish's bookcase and my new bookcase in SimPE and compared them side by side. I did take a screen dump but it is on my home computer.

What I have found so far:-
Leefish's bookcase has no Animation Resource and Behavior Constant Resouce.
There is no Material Definition nor Material Override Resources - which seems odd?

In Function Init - Leefish had only one entry - whereas I have 3.
The entry itself differed with True Target showing return true whereas my first entry shows True Target (0x001).

In Function Main both Leefish's bookcase and mine are the same.

What I chose to do, was remove all entries in the Animation Resource and Behaviour Constant Resource.
I deleted the second and third entries in Function Init and updated the first entry True Target to return true .Committed and Saved. Then did a fix integrity.

I then tested this version of my bookcase in-game with the Burb Family.
John was instructed to study cooking - he went over the bookcase and retrieved a book from just above the top of my bookcase (near the height of Leefish's bookcase) and when examining the books it was around the top of my bookcase.

I also instructed Jennifer to read to Lucy but she examined all over the bookcase and retrieved a book from the highest top invisible shelf.

Unfortunately I didn't have time to try this with Leefish's bookcase to check if it works properly.
When I return home, I will do this and if it does, I will proceed to check out every other resource for any differences and update you.
Mad Poster
#10 Old 21st Nov 2024 at 10:59 PM Last edited by simmer22 : 22nd Nov 2024 at 4:09 PM.
Check the text lists. The animation resources are listed in one of them.
It's the way some objects (and poseboxes) read animations/poses from an animation file. They're getting the resources from the animations in the install files.

I don't know exactly what was done to eliminate the top shelf animations, though. I assume it's the text list, but could be some other resource, too (I've checked the others I'm familiar with, couldn't find anything).
Scholar
Original Poster
#11 Old 22nd Nov 2024 at 9:26 AM
Quote: Originally posted by simmer22
Check the text lists. The animation resources are listed in one of them.
It's the way some objects (and poseboxes) read animations/poses from an animation file. They're getting the resources from the animations in the install file.

I don't know exactly what was done to eliminate the top shelf animations, though. I assume it's the text list, but could be some other resource, too (I've checked the others I'm familiar with, couldn't find anything).


Hello @simmer22
Thank you for the heads up in the text lists.
Back to top