1 (edited by babak2010 2013-05-22 14:28:27)

Topic: emote sorry play cry sound .etc

hi sorry my bad english.

how can create system play sound when click emote ( lshift ) then play sound for example :

emote angry ------> play ninja sound

or

emote sorry -------> play cry sound ( vo_teefault_cry-01.wv )

......

if need C++ i know it . plz  tell me which file need edite and give me Code C++ needed

i'm waiting for u . ( sorry my bad english )
Godling.Rome@yahoo.com

2

Re: emote sorry play cry sound .etc

what about "do it yourself" ?

or even try to find the files...

hm... what about Search function ??

let me guess, you haven't even downloaded the source right?


if you find sth maybe i'll help you, but not before you move your ... a bit.

#yemDX is a known troll

3 (edited by 2013-05-25 08:01:28)

Re: emote sorry play cry sound .etc

i download the source . and this file record as my friend server in iran.

demo size : 221 kb

http://www.mediafire.com/download/336ze … 14-22.demo

any help ?!?!!?!??

4

Re: emote sorry play cry sound .etc

Don't just link a demo and ask for help...

Not Luck, Just Magic.

5

Re: emote sorry play cry sound .etc

see my first post !!! i explanation what i need !!!

just some help for this code C++

and demo show u what i need plz see that

6

Re: emote sorry play cry sound .etc

Like we said, we're not going to code it for you. We can help if you have specific issues, not just "hey guys i want that code it for me plx".

Not Luck, Just Magic.

7 (edited by babak2010 2013-05-26 13:48:46)

Re: emote sorry play cry sound .etc

ok tnx for help

how can set sound for emotioanal tee ? it my issues

hi again i used this cod but give error :

    if(pChr && g_Config.m_SvEmotionalTees)
        {
            int Emote = EMOTE_NORMAL;
            switch(pMsg->m_Emoticon)
            {
            case EMOTICON_SORRY:
               GameServer()->CreateSound(m_Pos, SOUND_PLAYER_PAIN_LONG);
            else
               GameServer()->CreateSound(m_Pos, SOUND_PLAYER_PAIN_SHORT);
                Emote = EMOTE_PAIN;
                break;
            }
            pChr->SetEmote(Emote, Server()->Tick() + 2 * Server()->TickSpeed());
        }
    }

how can fix it ?
i try edit src\game\server\entities\character.cpp to set Pain sound  to emoticon sorry  but give this error !!

tnx for helping

8

Re: emote sorry play cry sound .etc

You obviously don't know C++.

Not Luck, Just Magic.

9

Re: emote sorry play cry sound .etc

tnx for help @Dune

10

Re: emote sorry play cry sound .etc

See: http://www.cprogramming.com/tutorial/lesson2.html and http://www.cprogramming.com/tutorial/lesson5.html