- Joined
- Sep 11, 2014
- Messages
- 21
- Reaction score
- 19
Quick tutorial on how to allow for player movement and rotation while in the Pause screen.
The pause screen includes, Backpack, Options, Player Tab, While Disconnecting from server, etc etc..
Open HUD_TPSGame.cpp
Inside ProcessPlayerMovement();
Search for:
Inside SetCameraPure();
Search for:
Credits: GetRektBami (Dont remove this pls mods is make this)
The pause screen includes, Backpack, Options, Player Tab, While Disconnecting from server, etc etc..
Open HUD_TPSGame.cpp
Inside ProcessPlayerMovement();
Search for:
Add Below:Mouse->GetMouseVisibility()||(hudMain &&(hudMain->isChatInputActive()|| hudMain->isPlayersListVisible())))// do not update player if we are in menu control mode!
{
disablePlayerMovement =true;
disablePlayerRotation =true;
}
----if(hudPause && hudPause->isActive()){//SP 303
disablePlayerMovement =false;
disablePlayerRotation =false;
}
if(hudPause && hudPause->isActive()&&InputMappingMngr->isPressed(r3dInputMappingMngr::KS_CROUCH)){//SP 303
disablePlayerMovement =true;
disablePlayerRotation =true;
}
Inside SetCameraPure();
Search for:
Below Find:if(pl->bDead && hudAttm->isActive())
hudAttm->Deactivate();
Replace with:if(hudPause->isActive())return;
Hope this helps//if(hudPause->isActive()) return;
Credits: GetRektBami (Dont remove this pls mods is make this)
Last edited:

