View unanswered posts | View active topics It is currently Sat Dec 28, 2024 5:11 pm



Reply to topic  [ 13 posts ] 
 Two player glitch 
Author Message

Joined: Sat Dec 18, 2010 6:11 pm
Posts: 285
Reply with quote
Post Two player glitch
is it just me or when one player is using keyboard and mouse and second player is using (not sure any may work) controll scheme.
when player 2 sharp aims it gets rid of player one sharp aiming?


Sun Jan 02, 2011 5:35 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Two player glitch
Yes.
It is a known bug.


Sun Jan 02, 2011 5:41 am
Profile WWW

Joined: Wed Feb 06, 2008 9:56 am
Posts: 15
Reply with quote
Post Re: Two player glitch
For me it works in other way. We can both sharp aim, but when 2nd player presses any movement button I lose sharp aim. Not if he holds it though, if he just walks straight I can aim, till he relases button and preses it again.


Sun Jan 02, 2011 12:37 pm
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Two player glitch
When a movement button is pressed, it knocks the player out sharpaim. The bug is that it knocks every player out of sharpaim. A movement key presumably makes the game ignore the sharpaim control keypress. This check works correctly, presumably.


Sun Jan 02, 2011 1:39 pm
Profile WWW

Joined: Sat Dec 18, 2010 6:11 pm
Posts: 285
Reply with quote
Post Re: Two player glitch
ok, thanks
id hope this is high on the TODO list, id rather have game fixes like this than any improvement to the game
fix it then make it better not the other way around


Sun Jan 02, 2011 11:01 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Tue Jul 27, 2004 8:02 pm
Posts: 428
Location: AZ
Reply with quote
Post Re: Two player glitch
gonna fix this right now


Tue Jan 04, 2011 12:08 am
Profile ICQ
User avatar

Joined: Tue Aug 11, 2009 2:42 am
Posts: 321
Location: On an iceberg typing away...
Reply with quote
Post Re: Two player glitch
I'm loving these instant service posts! Sorry for being off topic, I just had to say it!


Tue Jan 04, 2011 12:11 am
Profile

Joined: Mon Jan 17, 2011 11:10 pm
Posts: 22
Reply with quote
Post Re: Two player glitch
Good luck, Data--that glitch is the only thing keeping me from building a shrine to CC in my dorm room.


Sat Jan 22, 2011 4:30 pm
Profile
User avatar

Joined: Tue Dec 23, 2008 8:04 pm
Posts: 1545
Reply with quote
Post Re: Two player glitch
Data wrote:
gonna fix this right now

Thank you dan.


Sun Jan 23, 2011 12:10 pm
Profile
User avatar

Joined: Wed Jan 06, 2010 2:17 am
Posts: 81
Location: New Zealand
Reply with quote
Post Re: Two player glitch
Thank god Data


Mon Jan 24, 2011 11:46 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Tue Jul 27, 2004 8:02 pm
Posts: 428
Location: AZ
Reply with quote
Post Re: Two player glitch
fixed..

Code:
        // Sharp aim can't happen when moving around
        // This also helps with keyboard vs mouse fighting when moving and aiming in opposite directions
        if (/*m_AnalogMove.GetMagnitude() > 0.1 || */m_ControlStates[PRESS_RIGHT] || m_ControlStates[PRESS_LEFT] || m_ControlStates[BODY_JUMPSTART] || (m_ControlStates[PIE_MENU_ACTIVE] && !m_ControlStates[SECONDARY_ACTION]))
        {
            // Also stunt the analog aim so that it isn't stuck out in the extreme
            // Reset the aim if we were aiming sharp and not anymore, makes wiggle easier
    //        if (m_ControlStates[AIM_SHARP])
    //            m_AnalogAim.CapMagnitude(0.1);

            if (IsMouseControlled()) <-- FIX
                g_UInputMan.SetMouseValueMagnitude(0.05);

            m_ControlStates[AIM_SHARP] = false;
        }


needed a check to make sure we were dealing with a mouse controlled player :p


Wed Aug 03, 2011 2:51 pm
Profile ICQ
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Two player glitch
Look guys, CC just became open-source.^

See how much one line of code does for people, Data? Don't stop now!


Wed Aug 03, 2011 3:43 pm
Profile

Joined: Sat Dec 18, 2010 6:11 pm
Posts: 285
Reply with quote
Post Re: Two player glitch
This is awesome
thanks for fixing, will improve multiplayer alot!


Thu Aug 04, 2011 6:01 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 13 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.036s | 14 Queries | GZIP : Off ]