zombie is eating - scripted_sequence - h Created 6 years ago2018-01-13 16:39:21 UTC by ninja defuse ninja defuse

Created 6 years ago2018-01-13 16:39:21 UTC by ninja defuse ninja defuse

Posted 6 years ago2018-01-13 16:44:41 UTC Post #338632
hello
i am trying to make my zombie eating, i have set up scripted_sequence and i have changed Action Animation and Idle Animation to "zombie_eating" i have placed triger_once that target the scripted_sequence

maybe i have missed to check one of the properties flags?

trigger_once
target: zombie_eats

monster_zombie
name: zombiaczek

scripted_sequence
name: zombie_eats
target monster: zombiaczek
action animation: zombie_eating
idle animation: zombie_eating
Posted 6 years ago2018-01-13 17:17:44 UTC Post #338633
Try "No Interruptions" and/or "Override AI", I guess?
Admer456 Admer456If it ain't broken, don't fox it!
Posted 6 years ago2018-01-13 17:48:37 UTC Post #338635
doesn't work.... :(
couldnt someone make an example map for me :)?
Posted 6 years ago2018-01-13 18:03:30 UTC Post #338636
In the zombie's properties, try WaitForScript.
Last resort: aiscripted_sequence.

Edit:
Ah, here it is:

Zombie - WaitForScript
scripted_sequence - Idle Animation only, without Action Animation, otherwise the zombie would be frozen
Admer456 Admer456If it ain't broken, don't fox it!
Posted 6 years ago2018-01-13 18:53:39 UTC Post #338637
only ceertain animations can be used as idle animations, u will have to ocheck with model viewer

for dying animations the script itself doent actually kill the monster so i use a trigger hurt on it as the sequence plays
Posted 6 years ago2018-01-13 21:22:59 UTC Post #338638
1. Decompile the model
2. Rename zombie_eating.smd to idle.smd
3. Recompile.
4. Problem solved.

I have had the SAME problem in the menu map of ZWC, I have had to do a idle animation on which the character was walking instead of standing still... :)
Posted 6 years ago2018-01-14 01:22:09 UTC Post #338639
Ninja probably doesn't want the zombie to eat off an empty floor while it's doing 'nothing', lol.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 6 years ago2018-01-15 19:47:32 UTC Post #338647
the sequence is being played in less than 1 second, so i cant see even the full animation, it doesnt matter i will place zombie on map without this animation :(
Posted 6 years ago2018-01-15 19:53:52 UTC Post #338648
IIRC you need to use multiple scripted sequences, and play around with the idle and action animations so that it loops the animation you want until you trigger the script you want to play.
Posted 6 years ago2018-01-15 20:28:14 UTC Post #338649
i remember when i was playing Half-Life 1 on single player and there was a zombie with eating animation but when i step close to the monster he stopped eating animation and started to attack me
Posted 6 years ago2018-01-16 01:53:34 UTC Post #338650
I'm a little rusty on the subject but you have assigned the zombie_eating animation to both the action AND idle animations.
You should be using the eat_to_stand action animation to make the zombie stop eating and stand up.
The Mad Carrot The Mad CarrotMad Carrot
You must be logged in to post a response.