Raised This Month: $32 Target: $400
 8% 

Solved [CS:GO] Weapon accuracy in MOVETYPE_NONE


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 08-13-2017 , 01:08   [CS:GO] Weapon accuracy in MOVETYPE_NONE
Reply With Quote #1

https://forums.alliedmods.net/showth...=229643&page=2
how to "In OnPlayerRunCmd set seed (or random_seed iirc) to 128 and substract punch angles from viewangles."
Or maybe another way for normal shooting accuracy
when you were freezed in fly or running

Last edited by Indarello; 02-21-2018 at 10:35.
Indarello is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-13-2017 , 09:09   Re: [CS:GO] Weapon accuracy in MOVETYPE_NONE
Reply With Quote #2

Manipulating the seed to always stay the same is just the server sided alternative for "no spread" (or more like.. consistent spread).

It doesn't work very well with client prediction, but assuming you have no recoil applied (usually the very first shot of a gun), bullets will always go to the same spot on the server side.
__________________
retired

Last edited by shavit; 08-13-2017 at 09:09.
shavit is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 08-13-2017 , 13:27   Re: [CS:GO] Weapon accuracy in MOVETYPE_NONE
Reply With Quote #3

Quote:
Originally Posted by shavit View Post
Manipulating the seed to always stay the same is just the server sided alternative for "no spread" (or more like.. consistent spread).

It doesn't work very well with client prediction, but assuming you have no recoil applied (usually the very first shot of a gun), bullets will always go to the same spot on the server side.
Sorry i dont clear understand you, you want to say no good way to do this?

Last edited by Indarello; 08-13-2017 at 13:27.
Indarello is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 02-20-2018 , 00:29   Re: [CS:GO] Weapon accuracy in MOVETYPE_NONE
Reply With Quote #4

Maybe now somebody know ?
Indarello is offline
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 02-20-2018 , 02:15   Re: [CS:GO] Weapon accuracy in MOVETYPE_NONE
Reply With Quote #5

weapon_accuracy_nospread 1
__________________
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 02-20-2018 , 06:07   Re: [CS:GO] Weapon accuracy in MOVETYPE_NONE
Reply With Quote #6

Quote:
Originally Posted by _GamerX View Post
weapon_accuracy_nospread 1
thanks, i also found code example
https://forums.alliedmods.net/showth...=286786&page=2
But it is not so optimized way, because you should change cvar every shot and then change back
I tried SendConVarValue(client,
But it dont work

Last edited by Indarello; 02-20-2018 at 06:08.
Indarello 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 00:01.


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