Newbie Spellweaver
- Joined
- Sep 17, 2013
- Messages
- 51
- Reaction score
- 10
This is a tutorial made to Warz, more than for use in War Inc.
Original post: [url]http://forum.ragezone.com/f791/tutorial-changing-position-camera-pressing-956651/[/URL]
in WarZ.sln
HUD_TPSGame.cpp
Search for:
PHP Code:
change to:
PHP Code:
Original post: [url]http://forum.ragezone.com/f791/tutorial-changing-position-camera-pressing-956651/[/URL]
in WarZ.sln
HUD_TPSGame.cpp
Search for:
PHP Code:
PHP:
if(pl->m_isFinishedAiming && !pl->m_isInScope)
{
if(Keyboard->WasPressed(kbsLeftShift))
{
R3D_SWAP(g_CameraLeftSideSource, g_CameraLeftSideTarget);
g_CameraLeftSideLerp = 0.0f;
}
}
change to:
PHP Code:
PHP:
//if(pl->m_isFinishedAiming && !pl->m_isInScope)
//{
if(Keyboard->WasPressed(kbsLeftAlt)) //Here you put the key you want
{
R3D_SWAP(g_CameraLeftSideSource, g_CameraLeftSideTarget);
g_CameraLeftSideLerp = 0.0f;
}
//}
Credits: Staff DeathZ
Credits: @Yuri-BR
Credits: @Yuri-BR