Loop animiation (specific problen in tha Created 14 years ago2010-02-25 15:01:51 UTC by 23-down 23-down

Created 14 years ago2010-02-25 15:01:51 UTC by 23-down 23-down

Posted 14 years ago2010-02-25 15:17:16 UTC Post #279269
Hi people

Like I said I have a specific problem with looping an animation.

The Situation is as following: I've spawned construction.mdl (the Blackmesa worker) via monster_generic now I wanted him to loop the animation inspect_floor. The problem is he isn't looping it not even when it is in the idle field.

Do you know of any other ways for looping that animation? I guess the Animation itself doesn't support the looping feature could that be possible?
Posted 14 years ago2010-02-25 15:30:45 UTC Post #279272
no animation will loop unless it says loop after the animation entry in it's QC script embedded in the MDL file. If you have a model viewer with a QC script viewer built in, you can see what I'm talking about.
Rimrook RimrookSince 2003
Posted 14 years ago2010-02-26 14:54:00 UTC Post #279307
It's possible for him to loop.

Get a trigger_auto, set it to 0.1 on "Delay before trigger"

Put the name of the scripted_sequence in "target" (Example : EK)

And do the following in the scripted_sequence

Name : EK
Target : EK
Target_monster : Name of worker
Idle_animation: inspect_floor
Repeat rate ms : 400

Check repeatable (Not sure if it does anything.)

Of course, he looks like his humping the floor.

But it's the best way to do it if you don't know anything outside of Valve Hammer.

EDIT : Maybe there's a better way.
Posted 14 years ago2010-03-01 18:22:08 UTC Post #279378
You must be logged in to post a response.