I ported the default blending code to the server a while back, but I can only find an old work-in-progress copy... it may be useful to you, but it's certainly not 'working' code.
http://homepage.ntlworld.com/pr.searle/testns/blending.cpp Things that need changing: * The parameters to SV_StudioSetupBones are wrong: the angles and origin should be pointers to const vec3_t (see this thread for more details: http://forums.thewavelength.net/index.php?s=&showtopic=10798&view=findpost&p=89220). * Support for 3-way blends is commented out; it shouldn't need much changing for it to work. * Blending between frames/previous animations is commented out... since there aren't any latched animation variables available on the server I don't know whether this can be made to work or how important it is. * Gait animation code is commented out, along with some custom facial animation code that didn't really work. > > From: "Rodrigo 'r2d2rigo' Diaz" <[EMAIL PROTECTED]> > Date: 2007/04/12 Thu PM 08:29:09 BST > To: [EMAIL PROTECTED] > Subject: Re: [hlcoders] 9/3-Way Blending Server Side Code in Goldsrc > > Glad to see I'm not the only moron that still works under GoldSrc :) > > I heard about 9-way blending source code a lot of time ago (two or three > years, when people still loved HL). I think it was from someone at > TheWavelength... perhaps Omega or Vino, or maybe that old code from > DarkTruth's MOD. I can't remember anything more, hope someone is more > helpful than me. > > 2007/4/7, Arthur Lee <[EMAIL PROTECTED]>: > > > > Hey, I'm one of those idiots still working on the Goldsrc engine, but I > > was wondering if I could get my hands on the server side portion of the > > 9-way-blending code, or at least the translated version of the default > > blending code for the server side. Ideally, I would like if I could use > > 9-way or at the very least, 3-way blending, but translating all of the > > code is proving to be tedious work. If someone could point me to the > > correct code, I'd be grateful. Thanks! > > ----------------------------------------- Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders