![]() |
|
|
#1 |
|
Архивный участник
Join Date: Feb 2006
Posts: 8
|
Hi,
i tried making a custom npc with this line in npcdata.txt: Code:
npc_begin citizen 20000 [henry] level=70 acquire_exp_rate=0 acquire_sp=0 unsowing=1 clan={} ignore_clan_list={} clan_help_range=300 slot_chest=[] slot_rhand=[] slot_lhand=[] shield_defense_rate=0 shield_defense=0 skill_list={@s_race_undead;@s_full_magic_defence} npc_ai={[citizen];{[fnHi]=[henry001.htm]};{[MoveAroundSocial]=0};{[MoveAroundSocial1]=90};{[MoveAroundSocial2]=90}} category={} race=dwarf sex=male undying=1 can_be_attacked=0 corpse_time=7 no_sleep_mode=0 agro_range=1000 ground_high={120;0;0} ground_low={50;0;0} exp=429634528 org_hp=24xx.xx819 org_hp_regen=7.5 org_mp=1345.8 org_mp_regen=2.7 collision_radius={8;8} collision_height={17;17} str=40 int=21 dex=30 wit=20 con=43 men=10 base_attack_type=sword base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 base_physical_attack=6xx.xx373 base_critical=4 physical_hit_modify=4.75 base_attack_speed=253 base_reuse_delay=0 base_magic_attack=4xx.xx463 base_defend=2xx.xx597 base_magic_defend=2xx.xx847 physical_avoid_modify=0 soulshot_count=0 spiritshot_count=0 hit_time_factor=0.6 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} hp_increase=0 mp_increase=0 safe_height=100 npc_end
maybe someone could point to my error? thanks in advance |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Oct 2006
Posts: 120
|
Code:
npc_ai={[citizen];{[fnHi]=[henry001.htm]};{[MoveAroundSocial]=0};{[MoveAroundSocial1]=90};{[MoveAroundSocial2]=90}}
maybe it should be default_npc EDIT ok i haven't tested to load up npc but it seems that you have to put another id,not 20000 ex.i used 13853 which is the next number from the last id(13852) in my scripts |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Feb 2006
Posts: 8
|
thx i will try now
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Oct 2005
Posts: 367
|
server does because of id of npc, it is too hogh, c4 server does not understand it
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: May 2006
Posts: 237
|
i think KTP means the NPC id is to HIGH and the server cant understand the high id number u inserted (just make it lower)
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Feb 2006
Posts: 8
|
thx guys it worked!!
i made the number sequential and now it runs |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Oct 2006
Posts: 120
|
what kind of npc was it? :P
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Feb 2006
Posts: 8
|
he sells jobmarks
its the narketeer dwarf i just love the looks
|
|
|
|
|