[199] Input delay?

elodeaelodea Editlodea Join Date: 2009-06-20 Member: 67877Members, Reinforced - Shadow
Well.. accidently stumbled upon this just now. Thought this bug was fixed a while ago or is this only happening because i am running it on a local server?

<a href="http://www.youtube.com/watch?v=C-7rHAFadqk" target="_blank">http://www.youtube.com/watch?v=C-7rHAFadqk</a>

Comments

  • AsranielAsraniel Join Date: 2002-06-03 Member: 724Members, Playtest Lead, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow, Subnautica Playtester, Retired Community Developer
    I have no idea what i just watched... and there was a strange beeping sound..
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    Copying one of my post :

    Do you consider this normal ? What I do is hitting vertically my mouse button with one finger, without holding the mouse at all. It press the mouse button and then the mouse start to move. In the video we can see the contrary happens in game, the camera move and then the shotgun fire.

    <center><object width="450" height="356"><param name="movie" value="http://www.youtube.com/v/HEXS1BlKNXw"></param><embed src="http://www.youtube.com/v/HEXS1BlKNXw" type="application/x-shockwave-flash" width="450" height="356"></embed></object></center>

    I tried to follow the path in code from mouse click to bullet fire, but it's quite complicated. But as I understand the firing is linked to animation and is done after the camera has been updated (hard to say though).

    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->OnProcessMove->HandleButtons->HandleAttacks->PrimaryAttack->weapon:OnPrimaryAttack->TriggerEffects()->EffectManager:TriggerEffects->InternalTriggerEffect-> ?

    In  the other direction :

    FireBullets<- FirePrimary <- OnTag<- UpdateAnimationState?<!--c2--></div><!--ec2-->
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    I'm not 100% sure about the input though, it's hard to say if the button is really pressed before the mouse start to move. Maybe we could generate an artificial input to test this.
  • elodeaelodea Editlodea Join Date: 2009-06-20 Member: 67877Members, Reinforced - Shadow
    <!--quoteo(post=1912837:date=Mar 14 2012, 10:15 PM:name=Asraniel)--><div class='quotetop'>QUOTE (Asraniel @ Mar 14 2012, 10:15 PM) <a href="index.php?act=findpost&pid=1912837"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I have no idea what i just watched... and there was a strange beeping sound..<!--QuoteEnd--></div><!--QuoteEEnd-->
    I've just modded the sound in to play when theres a hit. I dont exactly feel bothered to set up a video recording myself clicking and syncing it with ingame capture. Its illustrating the slight delay between the click and the skulk starting its hit detection thing.

    <!--quoteo(post=1912840:date=Mar 14 2012, 10:25 PM:name=Yuuki)--><div class='quotetop'>QUOTE (Yuuki @ Mar 14 2012, 10:25 PM) <a href="index.php?act=findpost&pid=1912840"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I'm not 100% sure about the input though, it's hard to say if the button is really pressed before the mouse start to move. Maybe we could generate an artificial input to test this.<!--QuoteEnd--></div><!--QuoteEEnd-->
    Oh, forgive me if it was already reported. I have no programming knowledge so all i can say is i am very certain i was flicking the mouse only after a click. If you know how to generate an artificial click the results would be really interesting Yuuki! :o.
Sign In or Register to comment.