Author Topic: Sniper Rifle  (Read 1163 times)

Offline Nightshades on: January 31, 2015, 06:51:15 AM

  • Newbie
  • *
  • Posts: 34
  • Likes: 1
  • Gender: Male
  • You can't match my ASM skills if you are beginner.
  • AwardsFor helping with translations
    • View Profile
    • Awards
Hello everyone, i wanted to know if the sniper rifle would shot an "instant bullet" with instant speed (projectile) to avoid lag issue ? (if the dude lag and shot the dude does the hit would connect ? or this will do like he was hit but on the server he will not loose hp since he wasn't at the correct position (seen from the client).

Also is this a bullet or a railgun style "projectile" ?
Hacking (IDA 6.4)(Custom Cheat Engine)(Ollydbg)(Visual Studio) and ENG - FR Translator !

Offline Machine Medic #1 on: January 31, 2015, 08:05:07 AM

  • Hero
  • *****
  • Posts: 643
  • Likes: 12
  • Gender: Male
  • Been there. Done that.
    • View Profile
    • Awards
I'm guessing that the Rifle, Shotgun, Rapidgun, Sniper Rifle, Chaingun, etc. will all simply be hitscan weapons that tell the server to scan for a hit or miss every time they fire, rather than dealing with projectile physics, etc.

2x 980ti @1.3GHz, 5820k @ 4.4GHz, 32GB DDR4 @ 2.4GHz, SSD 950 512GB & 850 1024GB.

=\Co-Leader of Contra Clan/=

Offline Rotacak #2 on: February 01, 2015, 08:41:19 PM

  • Administrator
  • Hero
  • *
  • Posts: 724
  • Likes: 14
  • Gender: Male
    • View Profile
    • Awards
Machine Medic: correct.

About lag - we do not know how this behave in UE4. I think that it will need to be tested in regual games.
« Last Edit: February 05, 2015, 09:48:44 AM by Rotacak »

Offline Ypsylon #3 on: February 02, 2015, 04:08:15 PM

  • Developer
  • Newbie
  • *
  • Posts: 12
  • Likes: 2
    • View Profile
    • Awards
Hi,

game & engine programmer here, insta hit traces for weapons are a little bit more complex. Thanks to it we should be able to provide more precision for traces (if you see that you actualy hit something, you should hit it also at server (with reasonably low latency ofc :-)))
I am not a native english speaker so i deeply apologize for all my mistakes O:-)