Repeating an animation 5 times... Created 20 years ago2004-07-20 18:38:18 UTC by KwisatzHaderach KwisatzHaderach

Created 20 years ago2004-07-20 18:38:18 UTC by KwisatzHaderach KwisatzHaderach

Posted 20 years ago2004-07-20 18:38:18 UTC Post #43337
I want barney to walk to a position and then execute an animation 5 times. Using an aiscripted_sequence, I can only get him to do the animation once. Specifically, I'm trying to get barney to unlock a door by pussing 5 numbers into a keypad (executing the 'buttonpush' animation 5 times.) It was done at the beginning of Half-Life after you got of the tram, so I know there's a way.

Also, I would like a beeping sound effect to play 5 times while barney is pushing the buttons. This was also done in Half-Life. But I can't figure out how.
Posted 20 years ago2004-07-20 18:43:00 UTC Post #43340
There's a different animation to use for that - he does the exact same animation (complete with the beeping noises) from the very first time you see Barney as you step off the train in HL. I just recently used it but I dont remember what the name of the animation was - sorry. You'll find it in the HL model viewer though.
Posted 20 years ago2004-07-20 18:44:22 UTC Post #43341
Just checked for you - it's called intropush

It's still got that weird thing though where the beeping sound makes his mouth move as if he's saying BEEP BEEP BEEP lol.
Posted 20 years ago2004-07-20 19:18:25 UTC Post #43352
Haha!

Alright, thanks alot both of you.
Posted 20 years ago2004-07-20 19:20:04 UTC Post #43353
Waaaaaiiit a sec..... you're the same person, you just posted twice! Ok, I'm retarded.
Posted 20 years ago2004-07-20 19:27:08 UTC Post #43354
buttonpush and intropush are the same, the only difference is that in intropush, Barney moves his mouth.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 20 years ago2004-07-20 19:28:25 UTC Post #43355
you can check in the hl-model viewer. (if you have one.)
Posted 20 years ago2004-07-20 19:41:56 UTC Post #43357
I think Barney only pushes the button once with the buttonpush animation - but I could be wrong.
Posted 20 years ago2004-07-20 19:47:50 UTC Post #43359
Ah true. Since the anims are looped in HLMV, they look the same.
RabidMonkey RabidMonkeymapmapmapfapmap
You must be logged in to post a response.