Hi i nid abit help here,
I made a custom L2Monster using Zariche template 13086, everything is ok when I spawn it but when I click on it,but it doesnt reveal its HP bar like all other mobs does. Is there anything else I nid to edit on the db table?
Hi i nid abit help here,
I made a custom L2Monster using Zariche template 13086, everything is ok when I spawn it but when I click on it,but it doesnt reveal its HP bar like all other mobs does. Is there anything else I nid to edit on the db table?
the hp and mob stats can be changed only from the sql npc... so if you want post the npc sql line
I have such problem too and i wish to know if there is a way to solve it.
Mine is a bit difrent:
I took an exisitng npc and changed template to another mob.
and the health bar disapeared.
what do u mean by size?
INSERT INTO custom_npc
(`id`, `idTemplate`, `name`, `serverSideName`, `title`, `serverSideTitle`, `class`, `collision_radius`, `collision_height`, `level`, `sex`, `type`, `attackrange`, `hp`, `mp`, `hpreg`, `mpreg`, `str`, `con`, `dex`, `int`, `wit`, `men`, `exp`, `sp`, `patk`, `pdef`, `matk`, `mdef`, `atkspd`, `aggro`, `matkspd`, `rhand`, `lhand`, `armor`, `walkspd`, `runspd`, `faction_id`, `faction_range`, `isUndead`, `absorb_level`, `absorb_type`, `ss`, `bss`, `ss_rate`, `AI`, `drop_herbs`)
VALUES
(2004, 13086, 'Zariche', 1, 'Test Monster', 1, 'LineageMonster4.Avatar_Z', 12.00, 31.57, 80, 'male', 'L2Monster', 40, 500000, 2444, 500.00, 100.00, 40, 40, 20, 20, 20, 20, 0, 0, 2000, 500, 200, 250, 400, 500, 2362, 8190, 0, , 80, 120, '', 0, 0, 0, 'LAST_HIT', 0, 0, 0, 'fighter', 'false');
hope this is the 1 you are asking, sorry still pretty green here.
Also I would like to ask if an custom npc can be edited so it belongs to 2 or more 'faction_id'
Last edited by GamerZ; 11-02-09 at 07:15 PM. Reason: Additional question to ask
`collision_radius`, `collision_height
well i can not see any problem.. try to take elpy sql line in a notepad then change the name the `collision_radius`, `collision_height to be like the monster that you want and then change the idtemplate to be like the monster that you want. then change the id to 94522 example and try again...
also as i know it can not you must make two different npc ids with the same id template
The problem is not that you cant see the name, it's that the HP bar is "black" sort of speak.
As far as I know this is due to that mob's template and there is nothing that we can do about it... but I'm not 100% sure. I've run into this problem a few times too but I really havent spent too much time researching a solution.
yes, i've seen this too, the hp bar is there, but it looks like the hp is 0
The past week I had been trying some trial and errors, but jus like theone_l2j said, it got something to do with the template, however if u can see the hp bar as though its been greyout, means it can appear likely by changing the class of the npc, but if the bar isnt there at all, then its not possible yet, or I havnt figure the way to make it appear.
Tried Darkangel's method as well, also no avail.
I Am not 100% Sure, i havent tried it because i cant open things with that piece of trash fileedit (wish someone would make something more reliable) But i think what you need to do is edit something of that NPC Template in the NPCname-e file or maybe somewhere else in the system folder, I Dunno... Try having a look at some of them and compare to your mob from another mob with HP Bar.
I think HP Bar is due to client side, when custom IDtemplate.
Last edited by execute99; 14-12-09 at 01:02 AM.
wait are we talking about custom npcs from sql or new npc from client.
if we are talking for the first one you must check your npc type and idtemplate.
i didn't have problems with custom npcs
use another npc template, thats cause the client side npc type
HP Bar does not show up if client side file NPCgrp, does not have one option as 1 instead of 0. If you are using a CUSTOM IdTemplate! Unless you use the IDTEMPLATE of some other mob (most mobs have the npgrp correct).
Here's a better question though. How do you set on NPCgrp-e.dat, the "Monster type" (like undead, bug, insect, flora, monster, angel). Those little icons that show up below HP BAR of a mob. There must be a way to activate those on client-side. I thought by assigning npcskills to each npc, I can accomplish this. But that just puts the skill on it, I think I need to edit client side too to show the icon.
Last edited by execute99; 14-12-09 at 01:04 AM.