Log in

View Full Version : Need to hide spawners etc from players


Hool
07-04-2012, 12:22 AM
My players see many of these npc, which I'm sure should be hidden from their view. How can I hide them from non-GMs?
http://sampson.net/images/1.png
http://sampson.net/images/2.png

GLGanjika
07-04-2012, 12:33 AM
Go into npc_types table and make bodytype: 66 and helmtexture 1 ... try that and let us know if it works.
You should only have to type #repop and it should do the changes immedietly and to select an npc once invisible just type /target npcname.


By the way, This is my 100th post! :D

sorvani
07-04-2012, 12:45 AM
With a default SVN database, and a clean client, these things are all not visible.

Have you modified your global load files? Or are these new/custom NPCs?

Hool
07-04-2012, 01:01 PM
Do you know how to isolate all the npc_type records that require this change? I have some guesses i.e:

where size=-1 and level=1 and runspeed=0 and hp=11

However, i'm not sure and don't want to modify any records that do not need it.

blackdragonsdg
07-04-2012, 02:35 PM
Unless you have changed it the majority of the problem npc's should be race 127 which is for a_shadowed_man which is suppose to be invisible. Sometimes the default settings just don't seem to have the desired effect. The following should fix this issue.
update npc_types set bodytype = 66, gender = 0, texture = 0, helmtexture = 0, npcspecialattks = 'ABH' where race = 127;

Hool
07-04-2012, 07:00 PM
Unless you have changed it the majority of the problem npc's should be race 127 which is for a_shadowed_man which is suppose to be invisible. Sometimes the default settings just don't seem to have the desired effect. The following should fix this issue.
update npc_types set bodytype = 66, gender = 0, texture = 0, helmtexture = 0, npcspecialattks = 'ABH' where race = 127;

thanks, this seemed to do the trick