add/remove NPCs Add sound

04/02/2010 22:40 mynameisqwerty#1
How do i add remove NPCs in 5165 because its all laid out in txt files and its weird can any help me

<edit> nvm about the sound
04/03/2010 00:58 .Beatz#2
use my sig
04/03/2010 01:50 -NewDawn-#3
No no! Wait! Lol, I would love to know how to do that with sound! I'll look into it tomorrow when my laptop is up and running since I just got it back. So excited!
04/03/2010 02:00 .Beatz#4
Quote:
Originally Posted by -NewDawn- View Post
No no! Wait! Lol, I would love to know how to do that with sound! I'll look into it tomorrow when my laptop is up and running since I just got it back. So excited!
What does he mean sound? like when you click on a NPC it plays certain sounds? if so i will have a play around now. got nothing else to do lol


**EDIT** Use my sig and go to how to make a NPC play sounds!
04/03/2010 02:57 Viscount S#5
Quote:
Originally Posted by mattyc2580 View Post
What does he mean sound? like when you click on a NPC it plays certain sounds? if so i will have a play around now. got nothing else to do lol


**EDIT** Use my sig and go to how to make a NPC play sounds!
Your code doesn't do what you think it does. The OP most likely meant [Only registered and activated users can see links. Click Here To Register...]. Refer to Korvac's post.
04/03/2010 03:11 .Beatz#6
Quote:
Originally Posted by Viscount S View Post
Your code doesn't do what you think it does. The OP most likely meant [Only registered and activated users can see links. Click Here To Register...]. Refer to Korvac's post.
I think you will find it does do exactly what i said it does. When you click on a NPC it plays a wav file. Have tested this myself. i did not want it to be an external music player.
i did not know what he meant thats why i asked. But he hasnt replied so i came up with this idea.
04/03/2010 04:18 Viscount S#7
Quote:
Originally Posted by mattyc2580 View Post
i did not want it to be an external music player.
But that is what yours is!

When you say that you have tested this yourself, I assume that there was no one else on your server to test this, and that you tested this on the same computer from which the server was running. Every time anyone starts a conversation with an NPC, your wav file will be played only on the server's computer, and the client (connected from a different computer) will not hear it. In other words, your server is acting as an external music player, that the client cannot hear. The proper way to do this is through the way discussed in the thread I linked above (using the string packet, not Emme's creation).
04/03/2010 11:57 .Beatz#8
Quote:
Originally Posted by Viscount S View Post
But that is what yours is!

When you say that you have tested this yourself, I assume that there was no one else on your server to test this, and that you tested this on the same computer from which the server was running. Every time anyone starts a conversation with an NPC, your wav file will be played only on the server's computer, and the client (connected from a different computer) will not hear it. In other words, your server is acting as an external music player, that the client cannot hear. The proper way to do this is through the way discussed in the thread I linked above (using the string packet, not Emme's creation).
Aha sorry was really tired last night lol, will post the right way of doing it soon haha :)
04/03/2010 22:45 Arcо#9
As for the npc you can just open npcs.txt and search for the id of the npc you want deleted and delete that entire line.