Scientist sit idle without interruptions Created 9 years ago2015-11-19 11:34:08 UTC by EsprimoP EsprimoP

Created 9 years ago2015-11-19 11:34:08 UTC by EsprimoP EsprimoP

Posted 9 years ago2015-11-19 11:34:08 UTC Post #327473
Greetings

How to set up animations for monsters for example monster_scientist? I know I need scientist, trigger_auto and scripted_sequence. I tried making the scientist sitting with the animation sitidle, but whenever I come near the scientist he stands up.. breaks the animation. I set No Interruptions and Repeatable in scripted_sequence flags.

monster_scientist:

Name: walt
Flags: Pre-Disaster

scripted_sequence:

Name: sitdown
Target Monster: walt
Trigger Animation: sitidle
Repeat rate: 1

And trigger_auto that triggers sitdown (The s_sequence)
I want to make the scientist just sit down, not get interrupted.. even if he gets shot by the player.
EsprimoP EsprimoPwEight
Posted 9 years ago2015-11-19 13:46:18 UTC Post #327474
There's a monster_sitting_scientist just for this. :)
Posted 9 years ago2015-11-19 14:22:13 UTC Post #327479
Moved to HL Engine Discussion

That only works if you want him at a keyboard though.

There should be another animation field in your scripted sequence. Something like Idle Animation? You should be using that for looping animations.
monster_urby monster_urbyGoldsourcerer
Posted 9 years ago2015-11-19 16:41:45 UTC Post #327481
In some cases certain animations are just not loop-able though you can fix it yourself by decompiling the model and copying the lines of animations which are looped. I did that once in one of my mods to show off a floating scientist under water. Originally that animation lasted only like 12 seconds but I made it last forever..

But simple sit animations should all be loop-able so no worries about that.
Unq pointed you to the right entity. Use the sitting Scientists.
Posted 9 years ago2015-11-19 18:47:32 UTC Post #327482
You want the idle animation to be sitidle, and the target monster your scientists name as urby said.

Hell stay in that anim until you tell him different.
Posted 9 years ago2015-11-19 18:58:14 UTC Post #327483
Read my post again. I said whenever I get near the scientist the animation breaks, otherwise It's looped perfectly.

monster_sitting_scientist actually sounds better.. since I don't plan to move the scientist anywhere.. but for the future when I need normal scientist.
EsprimoP EsprimoPwEight
Posted 9 years ago2015-11-19 21:45:23 UTC Post #327484
Well I guess I only had to use Idle Animation instead of Action Animation in the scripted sequence.. I'd like to apologize for opening this topic just for a dumb tiny thing. The names confused me a little.
EsprimoP EsprimoPwEight
Posted 9 years ago2015-11-19 22:48:03 UTC Post #327488
That's what this forum is here for so we can ask our questions and learn of the answers..

Remember Einstein:

Those that ask are for 5 minutes a fool - those that do not ask remain one for the remainder of their lives. :P
You must be logged in to post a response.