i was trying to learn how to use the bone controller...but i had no luck :(
I added this to my ClientCommand() function:
else if(FStrEq(pcmd,"bset"))
{
char *a1=(char*)CMD_ARGV(1),*a2=(char*)CMD_ARGV(2);
if(!a1||!a2)
return;
int cont=atoi(a1);
float val=atof(a2);
GetClassPtr((CBasePlayer *)pev)->SetBoneController(cont,val);
ClientPrint(pev,HUD_PRINTCONSOLE,UTIL_VarArgs("Contorller: %i, value:
%f\n",cont,val));
}
I then started with the modified DLL and typed "bset 0 20" as Gman. I tried
many other things, from 0-3 for arg1 and -30 to 30 for arg2(gmans QC file
defined these limits). I was in 3rd person mode, and did not notice ANY
changes in the models appearance. What did I do wrong? with the stuff i
set the bones should be all deranged, but they didnt change at all!
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders