Jump to content
  • 0

Adding Npcs


Jojo_

Question

Hi
I have a tiny issue to add basic npcs.
Each time I try to add npc in npcdata.txt it does not load.
Just load until processing NPCDATA.TXT file and crash without any error even in logs.
I tried to add a simple thing like copy paste change id + name and adding name in npc_pch but nothing it just crash.
(I just want to add a simple npc that does same ai than another with just different look and id. (agathion)
Yes I have added the AI in ai.obj

 

class 0 ai_ag_fairy_00 : default_npc
class_end

here my line in NPCDATA.TXT
npc_begin citizen 1337001 [ag_fairy_00] category={} level=55 exp=70853089 ex_crt_effect=0 unique=0 s_npc_prop_hp_rate=1 race=etc sex=female skill_list={@s_npc_prop_race_etc;@s_npc_prop_hp_lv_p0;@s_npc_prop_mp_lv_p0;@s_npc_prop_pa_lv_p0;@s_npc_prop_ma_lv_p0;@s_npc_prop_pd_lv_p0;@s_npc_prop_md_lv_p0;@s_npc_prop_armor_type_n;@s_npc_prop_weapon_type_fist} slot_chest=[] slot_rhand=[] slot_lhand=[] collision_radius={5;5} collision_height={3.75;3.75} hit_time_factor=0.6 hit_time_factor_skill=-1 ground_high={180;0;0} ground_low={60;0;0} str=40 int=21 dex=30 wit=20 con=43 men=25 org_hp=1673.05473 org_hp_regen=6.5 org_mp=889.8 org_mp_regen=2.4 base_attack_type=fist base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=10 base_physical_attack=388.11142 base_critical=4 physical_hit_modify=4.75 base_attack_speed=253 base_reuse_delay=0 base_magic_attack=265.02979 base_defend=223.6362 base_magic_defend=163.64727 base_attribute_attack={none;0} base_attribute_defend={20;20;20;20;20;20;0} physical_avoid_modify=0 shield_defense_rate=0 shield_defense=0 safe_height=100 soulshot_count=2 spiritshot_count=2 clan={} ignore_clan_list={} clan_help_range=0 undying=0 can_be_attacked=1 corpse_time=7 no_sleep_mode=0 agro_range=0 passable_door=0 can_move=1 flying=0 has_summoner=0 targetable=1 show_name_tag=1 npc_ai={[ai_ag_fairy_00]} event_flag={0} unsowing=1 acquire_exp_rate=0 acquire_sp=0 acquire_rp=0 corpse_make_list={} additional_make_list={} additional_make_multi_list={} ex_item_drop_list={} npc_end
Edited by Jojo_
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...