Jump to content

[Share]On Death Custom Music and Red Sky


takhs7

Recommended Posts

  • 2 weeks later...

i use just red sky on pk kill :P not every second is a pk kill so thx just add the red line so that all see the red sky not only the player :P

 

ExRedSky packet = new ExRedSky(7);

Broadcast.toAllOnlinePlayers(packet);

Link to comment
Share on other sites

I have 5 sound and I want that one of them would play on death, how can I do that?

learn a bit java.. thats easy  ::)

 

One more thing that i forgot, I want that only when activeChar kills you you see redsky and music plays, how can I do this?

:/ ........ what? like suicide? ;s i dont get what u mean..

 

i use just red sky on pk kill :P not every second is a pk kill so thx just add the red line so that all see the red sky not only the player :P

 

ExRedSky packet = new ExRedSky(7);

Broadcast.toAllOnlinePlayers(packet);

if u have a server with 20 ppl or its a low rate and not much pvp is going on then ok.. else this will be reallyy .. like really really annoying to players...

Link to comment
Share on other sites

About the first post.. Please tell me how to do that or tell me where to look ;/

Second post: I want that only if player kills you you see redsky and hear music not killed by monsters.

 

Sorry for my bad english.

Link to comment
Share on other sites

i can't find this lines

 

-		// Set dead status if applies
-		if (activeChar.getCurrentHp() < 0.5)
-			activeChar.setIsDead(true);

i have interlude pack...

 

lekino on interlude no work : / i try to many advanced code changes but shit happend:D

Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...

ive added it to my Epilogue client (after some little code modifications) it is working perfectly! tnx you so much bro! ^^ its a great and interesting share, i got only one problem... when you die and another player resurects you, the music does not stop XD if you know any way to do this ill be very very happy hahahaha tnx again! cya!

Link to comment
Share on other sites

  • 10 months later...

Well I added this mod to my compiled Hi5 server and it's working perfectly. The only problem I am having is, where do I add that "Game Over" sound that I added on the java files? The link for the sound file is broken so I have no clue where to add it or what format must it be (either WAV or inside a UAX). I know I can make one from scratch but I have no idea where it goes.

 

[EDIT] Ok got it working. Silly me I just had to add it as a music (ogg) and not as a UAX file. I got confused there since the actual Java thing said "play sound" and that threw me off.

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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...