[Tutorial] changing the position of the camera by pressing ALT

Results 1 to 1 of 1
  1. #1
    Member Thiago Costa is offline
    MemberRank
    Sep 2013 Join Date
    51Posts

    note [Tutorial] changing the position of the camera by pressing ALT

    This is a tutorial made to Warz, more than for use in War Inc.

    Original post: http://forum.ragezone.com/f791/tutor...essing-956651/

    in WarZ.sln

    HUD_TPSGame.cpp

    Search for:

    PHP Code:
    PHP Code:
    if(pl->m_isFinishedAiming && !pl->m_isInScope)
        {
            if(
    Keyboard->WasPressed(kbsLeftShift))
            {
                
    R3D_SWAP(g_CameraLeftSideSourceg_CameraLeftSideTarget);
                
    g_CameraLeftSideLerp 0.0f;
            }
        } 
    change to:

    PHP Code:
    PHP Code:
    //if(pl->m_isFinishedAiming && !pl->m_isInScope)
        //{
            
    if(Keyboard->WasPressed(kbsLeftAlt)) //Here you put the key you want
            
    {
                
    R3D_SWAP(g_CameraLeftSideSourceg_CameraLeftSideTarget);
                
    g_CameraLeftSideLerp 0.0f;
            }
        
    //} 

    Credits: Staff DeathZ
    Credits: @
    Yuri-BR




Advertisement