Pt-br/Adding Proximity Voice: Difference between revisions
< Pt-br
Jump to navigation
Jump to search
m (Multipage removal) |
m (obsolete language category) |
||
Line 31: | Line 31: | ||
http://t-plusplus.com/creating-proximity-chat-in-the-source-engine-sdk/ | http://t-plusplus.com/creating-proximity-chat-in-the-source-engine-sdk/ | ||
{{ACategory|Programming}} | |||
{{ACategory|Programming}} | {{ACategory|Programming}} | ||
{{ACategory|Tutorials}} | {{ACategory|Tutorials}} |
Latest revision as of 03:39, 22 August 2024

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
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/