[QUESTION] - New NPC-xmls & Custom-NPCs

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Cresceus
Posts: 238
Joined: Tue Jan 15, 2008 8:20 am
Location: Germany

[QUESTION] - New NPC-xmls & Custom-NPCs

Post by Cresceus »

Hello guys,

We're about going to shovel the custom NPCs in the new NPC-XML-structure. Here some issues have arisen.

is there a list in which each parameter in the npc-xmls is explained?
This would be very helpful!

For example what about:
  • Where is the Cast Speed of a monster to be set?
  • What does <hit_time> mean?
  • What about active and passive skills? Is it right that active skills have to be listed in <parameters> AND <skill_list>? And the passive skills have to be listed only in <skill_list>?? And primary Skills are listed also in <ai>, right??
  • What does width in <attack> mean?
  • What is the difference between range and distance?
  • What about the EXP what a player gains after killing a monster?
  • What does expRate mean?
  • What does <ex_crt_effect> mean?
  • What does <s_npc_prop_hp_rate> mean?
  • What about "not targetable"? Where is this to be set?
  • What about showName? Where is this to be set?
  • What about can Move? Is this MoveAroundSocial now? The values are the chance with which the social movement is performed?
  • What about isAggressive? In NPC 22768 it is listed in <ai>. In NPC 22825 it is listed in <parameters>. Where is the difference?
Thanks in advance
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: [QUESTION] - New NPC-xmls & Custom-NPCs

Post by UnAfraid »

Most of those parameters you've shown are not in use.
Image
Cresceus
Posts: 238
Joined: Tue Jan 15, 2008 8:20 am
Location: Germany

Re: [QUESTION] - New NPC-xmls & Custom-NPCs

Post by Cresceus »

And what about the others?

Where are this parameters to be set?
  • Cast Speed
  • EXP that a Player gains after killing the mob
  • not targetable
  • cannot move
  • show name

And the following parameters are not in use at this time? Like:
  • hit_time
  • width
  • distance
  • range
  • ex_crt_effect
  • s_npc_prop_hp_rate
  • expRate
Regards
NosBit
L2j Veteran
L2j Veteran
Posts: 314
Joined: Mon Mar 11, 2013 4:19 pm

Re: [QUESTION] - New NPC-xmls & Custom-NPCs

Post by NosBit »

Casting Speed = 333 and WIT + skill bonuses
Exp = level * level * expRate (retail calculates it like that so i thought to keep it that way in case some npc levels up because npcs on retail can level up... not sure if any is used that way but they still can so just to be safe i made it same)
not targetable = <status targetable="false"/> under <npc> element
cannot move = <status canMove="false"/> under <npc> element
show name = <status showName="false"/> under <npc> element (to hide it by default is shown)

the others are not in use not sure how they handle them at the moment.
Image
Cresceus
Posts: 238
Joined: Tue Jan 15, 2008 8:20 am
Location: Germany

Re: [QUESTION] - New NPC-xmls & Custom-NPCs

Post by Cresceus »

Ahhh I see!
So the CastSpeed is always 333 and it is influenced only by WIT and Passive Skills?

And the gaining EXP looks like this for example:
Monster is Lvl 50 and expRate is 4.
Exp = 50 x 50 x expRate = 2.500 x 4 = 10.000 Exp for the Player

Right?

And SP is the value written in the npc.xml? For example 2.500 SP.


Right so far?
NosBit
L2j Veteran
L2j Veteran
Posts: 314
Joined: Mon Mar 11, 2013 4:19 pm

Re: [QUESTION] - New NPC-xmls & Custom-NPCs

Post by NosBit »

Cresceus wrote:Ahhh I see!
So the CastSpeed is always 333 and it is influenced only by WIT and Passive Skills?

And the gaining EXP looks like this for example:
Monster is Lvl 50 and expRate is 4.
Exp = 50 x 50 x expRate = 2.500 x 4 = 10.000 Exp for the Player

Right?

And SP is the value written in the npc.xml? For example 2.500 SP.


Right so far?
right 8)
Image
Cresceus
Posts: 238
Joined: Tue Jan 15, 2008 8:20 am
Location: Germany

Re: [QUESTION] - New NPC-xmls & Custom-NPCs

Post by Cresceus »

Thank you very much for the quick response and support! :D
Post Reply