Welcome to
Mod The Sims
Online: 2614
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 3 (Who?), Viewed: 1670 times.
Search this Thread
Old 18th Nov 2006, 05:06 PM Help with removing animation files #1
reniusa
Original Poster

Test Subject

Join Date: Feb 2005
Posts: 12


Hi everyone!

I'm having difficulties on removing some animations from an item cloned from the espresso machine.

What I want it to do:
Sim walks over to tea set; Sim takes tea or serving tray; Sim drinks tea (single serving or from serving tray).

What I've been able to make it do:
Sim walks over to tea set; Sim takes tea or serving tray; the animation ends.

Would someone mind having a look and seeing what needs to be done? I'd appreciate it if you could simply explain what I'm doing wrong. I don't plan on doing much in the way of animation editing, but this object has me stumped. I'm including both files: the reference file has all the BHAV's intact from the espresso machine, and the teaservingset is my attempted modified file.

Thanks so much,
Reni
Download - please read all instructions before downloading any files!
File Type: zip teaservingtray.zip (130.7 KB, 6 downloads) - View custom content
File Type: zip referencepackage3.zip (130.7 KB, 4 downloads) - View custom content
Old 18th Nov 2006, 10:58 PM #2
Echo
Duck



Join Date: Dec 2004
Posts: 3,918
Thanks: 48079 in 48 Posts
26 Achievements

View My Journal


Well the first thing to try would be to open up the "Interaction - Make/Serve Espresso" BHAV, then scan down to "Standard Exit" (node F) and set its True Target to "True". That way you don't have to mess with any animations at all, once the sim finishes serving the interaction should just finish.
Old 18th Nov 2006, 11:29 PM #3
reniusa
Original Poster

Test Subject

Join Date: Feb 2005
Posts: 12


Sorry if I'm misunderstanding you or if I didn't explain properly...

I want the Sim to serve espresso or have an espresso, but I don't want the animations from the espresso machine to play. Of course the menu's will be changed to say 'serve tea' or 'have tea'.

It doesn't look right having some tea and doing invisible miming of espresso animations. Or even worse, hearing the 'whooshing' of the foam maker...although I could probably live with the 'beep' when they start the machine.

I really, really tried to understand how to modify BHAVs, but the amount of programming know-how was a bit too much for me.

Thanks for taking the time to offer some advice though.

Reni
Old 19th Nov 2006, 04:51 AM #4
Echo
Duck



Join Date: Dec 2004
Posts: 3,918
Thanks: 48079 in 48 Posts
26 Achievements

View My Journal


Ah, okay, sorry I misunderstood. That's a bit more complicated, but it looks like you were on roughly the right track. I used your reference package and tried pulling all the "animate sim" and "animate object" calls from the make/serve code. The problem with this object though, is that a lot of its behavior is actually run in sync with particular sim animations through event BHAVs... If you just delete the animate calls, those things won't happen. That makes it a real mess to get working. I spent about half an hour playing around with it, but it still doesn't work right.

Unfortunately, the coffee maker is a very complicated object... And believe it or not, a lot of the time it is easier to code a functional object out of a statue than it is to navigate and change the code of an existing item to suit a similar but different purpose. I think this might one of those cases:
- Go to relative position
- Run whatever tea related animations you want
- Spawn coffee cup in hand
- Push/run drink interaction.

Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.