Help with QC file. Created 8 years ago2015-07-10 22:31:29 UTC by abbadon abbadon

Created 8 years ago2015-07-10 22:31:29 UTC by abbadon abbadon

Posted 8 years ago2015-07-10 22:31:29 UTC Post #326278
Hi again. I need some help with QC files. I am confused about this lines...
sequence "attack1" "attack1" fps 15 ACT_MELEE_ATTACK1 5 { event 1 10 } { event 2 19 }
$sequence "attack2" "attack2" fps 15 ACT_MELEE_ATTACK1 1 { event 3 6 }
What does those numbers mean, the first and the second, between the brackets?. :/
Posted 8 years ago2015-07-11 07:29:12 UTC Post #326281
most likely, for each bracket the first number represents the event number and the second number represents the frame of animation where that event occurs. So basically for 'attack1' the first event (the first zombie swipe) occurs at animation frame 10 and is event1. The second zombie swipe is then the event 2 and occurs at animation frame 19. You can check this in model viewer if it lets you see events.

the code uses these events to make things happen. Like if you look in zombie.cpp these events determine when the zombie swipe does damage.
Posted 8 years ago2015-07-11 08:50:51 UTC Post #326282
Wow, thanks!!!, Now I have much clear everything!!. But, then the number 5 is relative to... :rly:
You must be logged in to post a response.