• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Associating the sound for a specific model animation

Status
Not open for further replies.
Level 13
Joined
Jun 3, 2004
Messages
235
It's all in the event object area at the bottom of an MDL.

You'll see various time (which correspond to the time in the animation-which is what you are looking for)
such as:
towards the bottom of The Mountain King MDL, you'd see-

EventObject "SPLxHBL2" { <---Sound effect
ObjectId 100,
EventTrack 1 {
19467, <---Time at which sound occurs
}


To know what sound this pertains to (this is the death sound btw) you'd look at the Animation Sequences at the top. The area should look something like this (staying with the death anim):

}
Anim "Death" {
Interval { 19333, 21833 },
NonLooping,
MinimumExtent { -101.678, -106.872, -68.761 },
MaximumExtent { 111.773, 106.198, 112.911 },
BoundsRadius 150.792,

At the Interval portion, the two numbers are the times that the animation occurs during. 19467 was the time that the death sound occurs- the death anim times are between 19333 and 21833. Usually the times corresponds more closely- and the numbers exact.

Anyway, thats a backasswards way to determine what sound is being played. To replace it, find the corresponding sound in the model you want to replace it
(back to this)
EventObject "SPLxHBL2"

copy the name of the sound- in this case SPLxHBL2, and paste it in the corresponding place of the model at the correct time.

I apologize for the longwinded answer, but there ya go. Hope it helps....i'd be happy to clarify anything.
 
Status
Not open for further replies.
Top