-- [ Picked text/plain from multipart/alternative ] Sequences have a sequence name, but can also be grouped as "activities". These are probably the names you will see in the SDK (for AI at least). In your sequence line in your models qc, you group sequences in activities like so:
$sequence sequencename "sequence_ref_file_name" activity ACT_CUSTOM -1 The activity will be called ACT_CUSTOM and can be looked up in the gamecode from there. The "-1" is the weight of the activity. If there is only one sequence in the activity set, this number is not important, but it is used to set the likeliness of a certain sequence being used out of the set. It is probably better explained here: http://developer.valvesoftware.com/wiki/QC_Commands#.24sequence_Options So basically, find out the activity names used by the scanner and place them in your qc like so. On 7/19/06, Adam Donovan <[EMAIL PROTECTED]> wrote: > > Hi all, > I am really having a hard time trying to grasp animations > sequences in the source engine. I have been trying to read and modify > npc_scanner to ad my own models and animations and also change the AI a > little. The thing that I don't understand is what links the animations in > the code to the $sequences in the .qc file? From what I can gather it > looks > like an enumeration but I cant seem to figure it out and I'm going a > little > crazy. I can see the spawn function where the models is precached but the > names for the act sequences don't match any of those in the .qc nor do > they > match any logical enumeration--- really it cant be that hard to link the > activity/task to the animation? > Please someone shed some light > Adam Donovan > Hybrid Media Artist > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- Lead Programmer for Resistance and Liberation www.resistanceandliberation.com -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

