Re: [hlcoders] Vehicle View Judder

2010-01-24 Thread Ryan Sheffer
Why would there be interpolation for server side objects? You would really have to write that for your vehicles for them to work without jitter. Currently the client side is interpolated because the client is told what to do by the server, so it interpolates movements. Source was never designed to

Re: [hlcoders] Vehicle View Judder

2010-01-24 Thread Chief Whosm
Sorry, should have mentioned that I'd tried that code (on the wiki), and it seems not to work with the latest OB SDK. It doesn't seem to do anything, the problem remains as it was. ___ To unsubscribe, edit your list preferences, or view the list

Re: [hlcoders] Vehicle View Judder

2010-01-24 Thread Chief Whosm
Odd, got no warning to all those replies when I posted my last post - maybe gmail is slow today. So is the *InvalidateBoneCache();* the reason why Scratch SDK mp vehicles are fine, while hl2mp vehicles aren't since its all the same vehicle code for the most part? It's just Ive hunted the code and

Re: [hlcoders] Vehicle View Judder

2010-01-24 Thread Tony omega Sergi
Here, I whipped this up in the SDK a few months ago to test out my theory and it completely smoothed them out: Add this to iviewrender: virtual voidMP_PostSimulate() = 0; and to viewrender: virtual voidMP_PostSimulate(); then in cdll_client_int, inside OnRenderStart() after

Re: [hlcoders] Vehicle View Judder

2010-01-24 Thread Tony omega Sergi
Also note that all this does is smooth out the local players camera (so the vehicle doesn't jitter around); if you have visible players on it, you also have to invalidate all of the players that are in it's bonecaches, as well as the vehicle to lookup the correct locations. (the easiest way to

Re: [hlcoders] Vehicle View Judder

2010-01-24 Thread Chief Whosm
Wow! Thanks for that code it works beautifully for the interior view. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

Re: [hlcoders] Vehicle View Judder

2010-01-24 Thread Matt Hoffman
So now that we have a plausible fix for movement, has anyone looked at multiple passengers? My understanding of it is the vehicles are set up with a passenger system. Just Passenger 0 (1?) is considered the driver. My guess on implementing multiple-passengers in the vehicle would require

Re: [hlcoders] Vehicle View Judder

2010-01-24 Thread Christopher Harris
We have a multiple passenger system. Basically it is a matter of having a hitbox, and attachments per role and then modifying some of the vehicle logic to work with more roles. Chris -Original Message- From: hlcoders-boun...@list.valvesoftware.com

Re: [hlcoders] Vehicle View Judder

2010-01-24 Thread Matt Hoffman
Could you ask your team if it would be okay to post the code up? I think it'd be great if there was a completed VDC article for mostly fixed vehicles with passengers in MP. On Sun, Jan 24, 2010 at 12:09 PM, Christopher Harris char...@resrchnet.comwrote: We have a multiple passenger system.

Re: [hlcoders] Vehicle View Judder

2010-01-24 Thread Chief Whosm
http://www.chatbear.com/board.plm?a=viewthreadt=573,1125931904,10177id=901881b=4991v=flatold Might be worth taking a look at it, it's been around for a while though and I never got it working mind (but that's not saying much considering my skill as a coder is quite near to zilch).