Adding Proximity Voice/pt-br
This article has no links to other VDC articles. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024
January 2024
Language subpage
This subpage is used on the Adding Proximity Voice page to display content in português do Brasil (Brazilian Portuguese).
If you have edited the language subpage, do not forget to purge the base page by clicking on the button on the right. Otherwise, its contents will not be updated.
Esse tutorial vai ensinar como você pode criar um chat de proximidade para HL2MP mod ou equivalente.
Abra game/shared/voice_gamemgr.cpp
E pela mais ou menos na linha 228...
bool bProximity = false;
E mude para....
bool bProximity = true;
Depois você precisa mudar a distancia que vai projetar a voz. Na linha 106 mude...
m_iProximityDistance = -1;
Para isso
m_iProximityDistance = 10;
Source: http://t-plusplus.com/creating-proximity-chat-in-the-source-engine-sdk/