Can someone explaind these sequence attributes. Created 7 months ago2018-09-13 08:57:46 UTC by hfc hfc

Created 7 months ago2018-09-13 08:57:46 UTC by hfc hfc

Posted 7 months ago2018-09-13 08:57:46 UTC Post #340865
Im so ignorant please help me :)

What is blends? how different is blend01 from blend02
What blend XR -90 90 means
What LX means
What AX AY AZR means
What { event 2001 21 } means
Why need loop? Do game cant loop animations that not made for looping?
Are there any more attributes should i know?
Which tutorials are needed to master on goldsource animations?
Which tutorials are needed to master on goldsource mdl compiling?
What $cbox 0 0 0 0 0 0 means?
what ZR 0 30 means at a bone controller?

From CS gign.mdl

$controller Mouth "Bone01" ZR 0 30

$sequence "crouch_aim_carbine"
blend XR -90 90
fps 30

From HL zombie.mdl

$sequence "walk"
fps 22

$sequence "dieforward"
{ event 2001 21 }
fps 18

$sequence "vent_c1a3"
{ event 1000 1 }
fps 18
Posted 7 months ago2018-09-13 09:09:54 UTC Post #340866
In the Half-Life SDK, I found an in-depth document that explains all of that.
I think it's called "GoldSrc Modelling Workflow". I forgot the explanations themselves, but you'll find them in there, as well as a lot of other useful info.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 7 months ago2018-09-13 16:12:45 UTC Post #340868
Thank you most of the information is there.
Ill report after reading, if it doesnt include all necessary information :)
Posted 7 months ago2018-09-14 01:09:18 UTC Post #340871
Blends are two animations that are blended together based on movement. XR , YR, ZR is X, Y, and Z rotations. CS has a more powerful blend feature known as "9 way blend" which is why you see so many animations within the blend bracket which is why when you move around your playermodel adjusts their pose and gun with more dynamic than just standard 2.

ZR "mouth" 0 30 is mouth animation that moves the mouth in say 30 which is 30 degrees rotation maximum and 0 minimum (starting point). Other ways is body rotation which begins at a midpoint say -90 90 is a 180 degree range.

LX is linear movement extraction. Meaning the game will move the NPC based on how much distance was covered in the walk SMD; so for example if in 30frames of walking the root bone of the NPC moves forward say 100 Generic units (3dsmax) ingame the NPC will move 100 Hammer units. The loop is added so the animation knows when to loop back to the beginning.

{ event 2001 21 } events are animation events that happen on a specific frame. "2001" is "drop light body" which is a sound and its being played at the 21st frame of the sequence.

Cbox you almost never use so you can ignore it and , AX AY AZR, are deprecated commands that you can also ignore.

Lastly, I have carefully documented pretty much everything GoldSrc QC related here:
Which tutorials are needed to master on goldsource mdl compiling?
Have I got the thing for you:
Posted 7 months ago2018-09-14 15:39:50 UTC Post #340876
thank you <3 awesome work more detailed than hl sdk's manuel :)
Posted 7 months ago2018-09-14 21:26:15 UTC Post #340879
And The303 saves the day. I knew someone would know about this. ^^
Admer456 Admer456Lean, mean, mapping machine :3
You must be logged in to post a response.