Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 11.12.2005, 18:30   #1
xarion
Архивный участник
 
Join Date: Sep 2005
Posts: 220
Default I wanna create x-mass tree in town: but i make an error

NPCdata
Code:
npc_begin	citizen	12619	[x_mas_tree_a]	level=66	exp=2719752xx.xx5	acquire_exp_rate=1.2	undying=1	can_be_attacked=0	acquire_sp=360	race=human	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=80	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={}	slot_chest=[]	slot_rhand=[]	slot_lhand=[]	base_attack_type=bow	base_can_penetrate=0	base_attack_range=1100	base_damage_range={0;0;80;120}	base_rand_dam=0	str=40	int=21	dex=30	wit=20	con=43	men=10	hp_increase=40	mp_increase=7	org_hp_regen=7.5	org_mp_regen=2.7	ground_low={80;0;10}	ground_high={120;-30;30}	underwater_low={50;0;10}	underwater_high={0;0;30}	fly_low={0;0;10}	fly_high={0;-30;30}	float_low={0;0;10}	float_high={0;-30;30}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1000	org_hp=67xx.xx009186617	org_mp=1219.8	base_defend=5xx.xx5040328361	base_magic_attack=5xx.xx5709791816	base_magic_defend=2xx.xx7189482006	base_physical_attack=40xx.xx431336161		physical_hit_modify=4.75	physical_avoid_modify=0	base_attack_speed=293	base_reuse_delay=0	base_critical=8	magic_use_speed_modify=0	status={normal}	align=-4900	collision_radius=8	collision_height=24.0	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[x_mas_tree];[fnHi] = [x_mas_tree.htm]}	corpse_time=7	no_sleep_mode=0	npc_end
npc_begin	citizen	12620	[x_mas_tree_b]	level=66	exp=2719752xx.xx5	acquire_exp_rate=1.2	undying=1	can_be_attacked=0	acquire_sp=360	race=human	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=80	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={}	slot_chest=[]	slot_rhand=[]	slot_lhand=[]	base_attack_type=bow	base_can_penetrate=0	base_attack_range=1100	base_damage_range={0;0;80;120}	base_rand_dam=0	str=40	int=21	dex=30	wit=20	con=43	men=10	hp_increase=40	mp_increase=7	org_hp_regen=7.5	org_mp_regen=2.7	ground_low={80;0;10}	ground_high={120;-30;30}	underwater_low={50;0;10}	underwater_high={0;0;30}	fly_low={0;0;10}	fly_high={0;-30;30}	float_low={0;0;10}	float_high={0;-30;30}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1000	org_hp=67xx.xx009186617	org_mp=1219.8	base_defend=5xx.xx5040328361	base_magic_attack=5xx.xx5709791816	base_magic_defend=2xx.xx7189482006	base_physical_attack=40xx.xx431336161		physical_hit_modify=4.75	physical_avoid_modify=0	base_attack_speed=293	base_reuse_delay=0	base_critical=8	magic_use_speed_modify=0	status={normal}	align=-4900	collision_radius=8	collision_height=24.0	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[x_mas_tree];[fnHi] = [x_mas_tree.htm]}	corpse_time=7	no_sleep_mode=0	npc_end
Ai
Code:
class x_mas_tree_a : citizen
parameter_define_begin
	string fnHi "x_mas_tree.htm"
	parameter_define_end
class_end

class x_mas_tree_b : citizen
parameter_define_begin
	string fnHi "x_mas_tree.htm"
	parameter_define_end
class_end
NPCpos
Code:
territory_begin	[20_22_NPC_031201_01]	{{0;0;-3148;-2828};{18973;0;-3148;-2828};{18973;145264;-3148;-2828};{0;145264;-3148;-2828}}	territory_end
npcmaker_begin	[20_22_NPC_031201_01]	initial_spawn = all	maximum_npc=1
npc_begin	[x_mas_tree_a]	pos = {18873;145164;-3128;49152}	total=1	respawn=1min	npc_end
npcmaker_end
[highlight=red:021dc7c3bc]Object.cpp undefined or unregistred
Create NPC failed.getobject failed
There is no NPC named [x_mas_tree_a] at file NPCsocket.cpp[/highlight:021dc7c3bc]
Help :cry:
xarion is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:29.