View Single Post
Old 30.04.2007, 13:43   #1
ZeniMax
Архивный участник
 
Join Date: May 2006
Posts: 209
Default [Help]New NPC with his htm

Hi
This is my code:

Code:
class 1 evento_npc : default_npc
parameter_define_begin
	string fnHi "evento_npc001.htm"
parameter_define_end
class_end

class 1 donaciones_npc : default_npc
parameter_define_begin
	string fnHi "donaciones_npc001.htm"
parameter_define_end
class_end
Code:
npc_begin	citizen	13853	[evento_npc]	level=70	acquire_exp_rate=0.1	acquire_sp=10	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_humanoid}	npc_ai={[evento_npc];{[fnHi]=[evento_npc001.htm]}}	category={}	race=human	sex=female	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=2444.5	org_hp_regen=7.5	org_mp=1345.8	org_mp_regen=2.7	collision_radius={8;8}	collision_height={20.5;20.5}	str=40	int=21	dex=30	wit=20	con=43	men=10	base_attack_type=fist	base_attack_range=40	base_damage_range={0;0;80;120}	base_rand_dam=30	base_physical_attack=6xx.xx	base_critical=4	physical_hit_modify=4.75	base_attack_speed=253	base_reuse_delay=0	base_magic_attack=470.4	base_defend=2xx.xx	base_magic_defend=2xx.xx	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
npc_begin	citizen	13854	[donaciones_npc]	level=70	acquire_exp_rate=0.1	acquire_sp=10	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_humanoid}	npc_ai={[donaciones_npc];{[fnHi]=[donaciones_npc001.htm]}}	category={}	race=human	sex=female	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=2444.5	org_hp_regen=7.5	org_mp=1345.8	org_mp_regen=2.7	collision_radius={8;8}	collision_height={20.5;20.5}	str=40	int=21	dex=30	wit=20	con=43	men=10	base_attack_type=fist	base_attack_range=40	base_damage_range={0;0;80;120}	base_rand_dam=30	base_physical_attack=6xx.xx	base_critical=4	physical_hit_modify=4.75	base_attack_speed=253	base_reuse_delay=0	base_magic_attack=470.4	base_defend=2xx.xx	base_magic_defend=2xx.xx	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
Code:
[evento_npc] = 1013853
[donaciones_npc] = 1013854
The NPC spawns correct, I can see the npc. But when I talk with the NPC I dont see the html window and not have the npc animation... maybe the IA is wrong?
ZeniMax is offline