Results 1 to 2 of 2
  1. #1
    szczyurcio's Avatar
    Join Date
    Nov 2013
    Gender
    female
    Posts
    10
    Reputation
    10
    Thanks
    0

    Technically, how does hipfire spread work?

    I'm wondering how the random hipfire bullet spread is technically handled by the engine. It's certainly different from recoil in that recoil simply changes your viewangles which is then accounted for in CL_FinishMove. But spread?
    I've checked the angles, hooking CL_WritePacket, and there's no difference whatsoever. I also know that the spread calculation is done separately for screen rendering - hooking CG_GetSpreadForWeapon and making it return 0 will give you "local" no spread, so the bullets will seem to go perfectly straight, yet in actual gameplay they will still miss just the same. On the other hand, however, spread calculation must be done somewhere in the client since it's possible to create no-spread hacks that offset it by changing viewangles.

    If anyone could explain the concept or tell me where in the .exe to look for it, it'd be grateful. Thanks.

  2. #2
    191's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    26
    The actual spread is handled serversided.

Similar Threads

  1. How does mm stuff work?
    By 100% in forum Alliance of Valiant Arms (AVA) Discussions
    Replies: 1
    Last Post: 08-26-2011, 08:06 PM
  2. How does hack detection work?
    By khaozizleet in forum Combat Arms Help
    Replies: 6
    Last Post: 12-11-2010, 04:20 PM
  3. I know the injector, but how does the rest work?
    By genya in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 10
    Last Post: 09-05-2010, 02:48 PM
  4. How does BC2 Banning work?
    By Micktorious in forum Battlefield Bad Company 2 (BFBC2) Hacks
    Replies: 10
    Last Post: 03-16-2010, 09:13 AM
  5. HOWS DOES AUTO HS WORK?!?!
    By batboy60 in forum Combat Arms Help
    Replies: 11
    Last Post: 09-07-2009, 11:14 AM