Jump to content
  • 0

Player will Cast Text & sound effect everytime he/she uses skills or died


ichikun1

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  05/11/17
  • Last Seen:  

Hello folks, please help :) how to make player cast text whlie playing sound effects everytime he/she uses skills like F1 etc..... for female & male thank's

Edited by ichikun1
update question
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

Default the text will show isn't it?

Like this

maxresdefault.jpg

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  05/11/17
  • Last Seen:  

yes sir, but i want to change or or put some sound effect like voice ? if hi died or using skills?

 

is this possible?

 

-    script    scriptname#100    -1,{
OnPCDieEvent:
    showscript .words$[rand(getarraysize(.words$))];
    end;
OnInit:
    setarray .words$,"nani?","mada mada","korosah!","konoooo";
    end;
}

 

"plus this one" +

 

soundeffect "dead.wav",0;

 

???? please help thank's

Edited by ichikun1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

You need to edit each skill line in source code to play specific sound effect when using skills.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  05/11/17
  • Last Seen:  

where can i find it sir?

is this possible?

 

-    script    scriptname#100    -1,{
OnPCDieEvent:
    showscript .words$[rand(getarraysize(.words$))];
    end;
OnInit:
    setarray .words$,"nani?","mada mada","korosah!","konoooo";
    end;
}

 

"plus this one" +

 

soundeffect "dead.wav",0;

 

if the player is dead this soundclip will play?

Edited by ichikun1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

Example : Swordman Bash Skills

src\map\skill.cpp ( Line 1207 )

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  05/11/17
  • Last Seen:  

thank you mr. TARTs........

 

I have another   idea....

 

Problem solved....

Thank's for mr. Christian Kontra for helping me. Stay cool sir :) godbless us

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  09/27/12
  • Last Seen:  

@ichikun1 what is the solutions brother dont u said solved but not explain it.. we want to know too...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...