if( m_dwPkCounter == 1) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_FIRST_BLOOD );
else if( m_dwPkCounter == 2) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_DOUBLE_KILL );
else if( m_dwPkCounter == 3) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_TRIPLE_KILL );
else if( m_dwPkCounter == 4) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_ULTRA_KILL );
else if( m_dwPkCounter == 5) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_RAMPAGE );
else if( m_dwPkCounter == 6) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_KILLING_SPREE );
else if( m_dwPkCounter == 7) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_DOMINATING );
else if( m_dwPkCounter == 8) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_MEGA_KILL );
else if( m_dwPkCounter == 9) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_UNSTOPPABLE );
else if( m_dwPkCounter == 10) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_WICKED_SICK );
else if( m_dwPkCounter == 11) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_MONSTER_KILL );
else if( m_dwPkCounter == 12) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_GODLIKE );
else if( m_dwPkCounter == 13) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_HOLY_SHIT );
else if( m_dwPkCounter >= 14) CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_OWNAGE ); chang to
switch(m_dwPkCounter)
{
case 1:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_FIRST_BLOOD );
DxSoundLib::GetInstance()->PlaySound ( "PK_FIRST_BLOOD" );
break;
case 2:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_DOUBLE_KILL );
DxSoundLib::GetInstance()->PlaySound ( "PK_DOUBLE_KILL" );
break;
case 3:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_TRIPLE_KILL );
DxSoundLib::GetInstance()->PlaySound ( "PK_TRIPLE_KILL" );
break;
case 4:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_ULTRA_KILL );
DxSoundLib::GetInstance()->PlaySound ( "PK_ULTRA_KILL" );
break;
case 5:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_RAMPAGE );
DxSoundLib::GetInstance()->PlaySound ( "PK_RAMPAGE" );
break;
case 6:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_KILLING_SPREE );
DxSoundLib::GetInstance()->PlaySound ( "PK_KILLING_SPREE" );
break;
case 7:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_DOMINATING );
DxSoundLib::GetInstance()->PlaySound ( "PK_DOMINATING" );
break;
case 8:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_MEGA_KILL );
DxSoundLib::GetInstance()->PlaySound ( "PK_MEGA_KILL" );
break;
case 9:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_UNSTOPPABLE );
DxSoundLib::GetInstance()->PlaySound ( "PK_UNSTOPPABLE" );
break;
case 10:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_WICKED_SICK );
DxSoundLib::GetInstance()->PlaySound ( "PK_WICKED_SICK" );
break;
case 11:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_MONSTER_KILL );
DxSoundLib::GetInstance()->PlaySound ( "PK_MONSTER_KILL" );
break;
case 12:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_GODLIKE );
DxSoundLib::GetInstance()->PlaySound ( "PK_GODLIKE" );
break;
case 13:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_HOLY_SHIT );
DxSoundLib::GetInstance()->PlaySound ( "PK_HOLY_SHIT" );
break;
case 14:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_OWNAGE );
DxSoundLib::GetInstance()->PlaySound ( "PK_OWNAGE" );
break;
default:
CInnerInterface::GetInstance().SET_PLAYERKILL_STREAK_ID ( PK_OWNAGE );
DxSoundLib::GetInstance()->PlaySound ( "PK_OWNAGE" );
}
GLGaeaClient.cpp add
DxSoundLib::GetInstance()->CreateSound ( "PK_FIRST_BLOOD", GLCONST_CHAR::strFIRST_BLOOD.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_DOUBLE_KILL", GLCONST_CHAR::strDOUBLE_KILL.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_TRIPLE_KILL", GLCONST_CHAR::strTRIPLE_KILL.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_ULTRA_KILL", GLCONST_CHAR::strULTRA_KILL.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_RAMPAGE", GLCONST_CHAR::strRAMPAGE.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_KILLING_SPREE", GLCONST_CHAR::strKILLING_SPREE.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_DOMINATING", GLCONST_CHAR::strDOMINATING.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_MEGA_KILL", GLCONST_CHAR::strMEGA_KILL.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_UNSTOPPABLE", GLCONST_CHAR::strUNSTOPPABLE.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_WICKED_SICK", GLCONST_CHAR::strWICKED_SICK.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_MONSTER_KILL", GLCONST_CHAR::strMONSTER_KILL.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_GODLIKE", GLCONST_CHAR::strGODLIKE.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_HOLY_SHIT", GLCONST_CHAR::strHOLY_SHIT.c_str(), SFX_SOUND );
DxSoundLib::GetInstance()->CreateSound ( "PK_OWNAGE", GLCONST_CHAR::strOWNAGE.c_str(), SFX_SOUND );
GLogicData.cpp add
std::string strFIRST_BLOOD = "";
std::string strDOUBLE_KILL = "";
std::string strTRIPLE_KILL = "";
std::string strULTRA_KILL = "";
std::string strRAMPAGE = "";
std::string strKILLING_SPREE = "";
std::string strDOMINATING = "";
std::string strMEGA_KILL = "";
std::string strUNSTOPPABLE = "";
std::string strWICKED_SICK = "";
std::string strMONSTER_KILL = "";
std::string strGODLIKE = "";
std::string strHOLY_SHIT = "";
std::string strOWNAGE = "";
GLogicData.h add
extern std::string strFIRST_BLOOD;
extern std::string strDOUBLE_KILL;
extern std::string strTRIPLE_KILL;
extern std::string strULTRA_KILL;
extern std::string strRAMPAGE;
extern std::string strKILLING_SPREE;
extern std::string strDOMINATING;
extern std::string strMEGA_KILL;
extern std::string strUNSTOPPABLE;
extern std::string strWICKED_SICK;
extern std::string strMONSTER_KILL;
extern std::string strGODLIKE;
extern std::string strHOLY_SHIT;
extern std::string strOWNAGE;
GLogicDataLoad.cpp add
cFILE.getflag( "strFIRST_BLOOD", 1, 1, strFIRST_BLOOD );
cFILE.getflag( "strDOUBLE_KILL", 1, 1, strDOUBLE_KILL );
cFILE.getflag( "strTRIPLE_KILL", 1, 1, strTRIPLE_KILL );
cFILE.getflag( "strULTRA_KILL", 1, 1, strULTRA_KILL );
cFILE.getflag( "strRAMPAGE", 1, 1, strRAMPAGE );
cFILE.getflag( "strKILLING_SPREE", 1, 1, strKILLING_SPREE );
cFILE.getflag( "strDOMINATING", 1, 1, strDOMINATING );
cFILE.getflag( "strMEGA_KILL", 1, 1, strMEGA_KILL );
cFILE.getflag( "strUNSTOPPABLE", 1, 1, strUNSTOPPABLE );
cFILE.getflag( "strWICKED_SICK", 1, 1, strWICKED_SICK );
cFILE.getflag( "strMONSTER_KILL", 1, 1, strMONSTER_KILL );
cFILE.getflag( "strGODLIKE", 1, 1, strGODLIKE );
cFILE.getflag( "strHOLY_SHIT", 1, 1, strHOLY_SHIT );
cFILE.getflag( "strOWNAGE", 1, 1, strOWNAGE );
default.charclass add
strFIRST_BLOOD GameBmg.wav
strDOUBLE_KILL GameBmg.wav
strTRIPLE_KILL GameBmg.wav
strULTRA_KILL GameBmg.wav
strRAMPAGE GameBmg.wav
strKILLING_SPREE GameBmg.wav
strDOMINATING GameBmg.wav
strMEGA_KILL GameBmg.wav
strUNSTOPPABLE GameBmg.wav
strWICKED_SICK GameBmg.wav
strMONSTER_KILL GameBmg.wav
strGODLIKE GameBmg.wav
strHOLY_SHIT GameBmg.wav
strOWNAGE GameBmg.wav
now done , happy fun