Raised This Month: $ Target: $400
 0% 

Bullet direction/trajectory client/server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
teh ORiON
Member
Join Date: Sep 2011
Location: Denmark
Old 09-26-2011 , 12:28   Bullet direction/trajectory client/server
Reply With Quote #1

Hi,
Basically my problem is that when im in this sideview, the sprite from the gun and the bullethit decal gets registred on the client as if it hits the side wall.
On server side it looks as if you shoot straight where the gun points like it should.

Is there any way to fix this so it will look properly on client side as well?

[IMG]http://img714.**************/img714/7679/herpe.jpg[/IMG]
teh ORiON is offline
teh ORiON
Member
Join Date: Sep 2011
Location: Denmark
Old 06-10-2012 , 16:30   Re: Bullet direction/trajectory client/server
Reply With Quote #2

Been a while,

Basically I fixed this in a somewhat shitty way by hooking and blocking PlaybackEvent. Then when each gun is fired I hook it and replay the associated event. This work great for weapons such as the railgun, but guns with multiple events such as the minigun need their events timed. Also can't get an event from the crowbar at all.

Is this a retarded way to do it or anyone got some suggestions?
I use a modified version of this plugin:
(http://forums.alliedmods.net/showpos...84&postcount=9)
teh ORiON is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode