Skip to content

How do I add animation events? Event Tutorial

thepancake1 edited this page Feb 6, 2022 · 9 revisions

First, scroll to the bottom and click Initialize Events if there are no textboxes for events at the top.

After doing so, this is what that looks like.

NOTE THAT SOME OF THE PARAMETERS LISTED IN THE ADDON ITSELF ARE WRONG. I'll fix them soon.

For example, Play Effect's parameters are actually Frame Number, VFX Name, Actor Name, Bone Name, 0, 0, Unique VFX Name.

Each of these have a specific purpose. I'll detail how you can add them below.

If you want to create multiple events of the same type, click the "Create" button on the far right. You can also use the "Delete" button to remove an event as well.

One thing to note is, all events have their first parameter as a Frame Number. You can enter the Frame Number in either seconds or in frames. If you use seconds, you can just type the number directly. IF you want to use frames however, you'll need to add an f to the end. So entering 1 as your timecode is the same as 30f, because 1 secoond is 30 frames.

First of is the Parent Event.

  • This attaches one actor to another's actor bone. The parameters are: Frame Number, Object to Be Parented, Object to be Parented to and Bone.

  • If you wanted to parent an actor named chocolateBar to your sim's head starting at frame 40, you'd type

  • 40f,chocolateBar,x,b__Head__

Second is the Sound Event. This event lets you play sounds. The two parameters are Frame Number and Sound Effect Name.

  • Sound Effect Name can be anything from object sounds to voices of sims. If you wanted to play a sound called chocolateBarCrunchySound at frame 32, you'd type:

  • 32f,chocolateBarCrunchySound

Now that you know how to enter the event parameters, I'll simplify the rest of the explanations.

Third is the Script event.

  • This allows you to set xevents in game. The parameters are Frame Number and Script. If you wanted to trigger specifc python code at a precise frame, then this is what you should use.

Next up is the Snap Event:

  • It's way too complciated. I'll have to edit this in later.

Reaction Events play animations on Listener sims.

  • They specify a frame number and the name of the reaction asm.

Play Effect Events allow you to play effects.

  • The parameters are: Frame Number, VFX Name, Actor Name, Bone Name, 0, 0, Unique VFX Name
  • Note: you have to enter the zeroes. These numbers may mean something for later packs, so I've left them in.

Stop Effect Events allow you to stop effects.

  • The parameters are Frame Number, Unique VFX Name,0,0. You also have to enter the zeroes in.

Suppress Lipsync Events allow you to animate the Jaw.

  • The parameters are the Frame Number where the jaw can be animated, and Duration, which is how long the jaw will be animated before it goes back to normal.

Visibility Events let you hide or show objects.

Parameters are Frame Number, Actor Name, and Visibility

Focus Compatibility events are kind of mysterious right now.

I haven't had time to look at them properly yet

That's all the events supported in the tool currently. Hope this is helpful.

Clone this wiki locally