Added default game_text speech color for every major HL2 character

This commit is contained in:
Blixibon
2021-04-23 00:17:08 -05:00
parent bb250dbae6
commit 62a6481d0d
11 changed files with 59 additions and 9 deletions

View File

@@ -34,6 +34,11 @@ public:
void HandleAnimEvent( animevent_t *pEvent );
int GetSoundInterests ( void );
bool UseSemaphore( void );
#ifdef MAPBASE
// Use Breen's default subtitle color (188,188,188)
bool GetGameTextSpeechParams( hudtextparms_t &params ) { params.r1 = 188; params.g1 = 188; params.b1 = 188; return BaseClass::GetGameTextSpeechParams( params ); }
#endif
};
LINK_ENTITY_TO_CLASS( npc_breen, CNPC_Breen );