Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 12.07.2005, 17:53   #1
f1rsty
Архивный участник
 
Join Date: Jun 2005
Posts: 24
Default [help] Adding heine gatekeeper

:cry: adding
gatekeeper_flauen001.htm
Code:
<html><head><body>
Gatekeeper Esmeralda:
Many feared monsters lurk around Hunters Village. Teleporting is a great choice for travelers who are tired or in a hurry.
Are you homesick? In a hurry to help a friend in need? Or did you suddenly feel like going to the beach? We can send you anywhere on this vast continent in an instant.
<a action="bypass -h teleport_request">Go to another village.</a>
<a action="bypass -h talk_select">Quest</a></body></html>
gatekeeper_flauen003.htm
Code:
<html><head><body>
Gatekeeper Esmeralda:
Have you helped others in the past? We follow the will of the gods, therefore we cannot permit your passage through the Gates of Space Time. Spend some time reflecting on your past actions.</body></html>
npcdata
Code:
npc_begin	warrior	7899	[gatekeeper_flauen]	level=66	exp=2719752xx.xx5	acquire_exp_rate=90	undying=0	can_be_attacked=1	acquire_sp=75	race=castle_guard	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.xx146118935	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=10	physical_avoid_modify=0	base_attack_speed=293	base_reuse_delay=1500	base_critical=8	magic_use_speed_modify=0	status={normal}	align=-1296	collision_radius=12	collision_height=31	category={}	clan={}	clan_help_range=1200	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[gatekeeper_flauen];{[fnHi] = [gatekeeper_flauen001.htm]};{[fnYouAreChaotic] = [gatekeeper_flauen003.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
npcpos
Code:
territory_begin	[gatekeeper_flauen]	{{111386;219394;-3546;49449 };{111386;219394;-3546;49449 };{111386;219394;-3546;49449 };{111386;219394;-3546;49449 }}	territory_end	
npcmaker_begin	[gatekeeper_flauen]	initial_spawn = all	maximum_npc = 1		
npc_begin [gatekeeper_flauen] pos={111386;219394;-3546;49449 } total=1 respawn=1min npc_end
npcmaker_end
ai.obj
Code:
class gatekeeper_flauen : teleporter
property_define_begin
	telposlist_begin Position
		{"<center>"; 83458; 148012; -3400; 0; 3 }
		{"Giran Castle"; 83336; 147972; -3404; 8100; 3 }
		{"South Harbour"; 47938; 186864; -3420; 6500; 0 }
	telposlist_end
property_define_end
class_end
class clavier : teleporter
property_define_begin
	telposlist_begin Position
		{"<center>"; 15671; 142994; -2704; 0; 2 }
		{"Dion Town"; 15671; 142994; -2704; 8100; 2 }
		{"Oren Castle Town"; 83011; 53207; -1470; 11000; 4 }
		{"Hunter Village"; 117088; 76931; -2670; 9400; 0 }
		{"South Harbour"; 47935; 186810; -3420; 6300; 0 }
		{"Hardin's Academy"; 105918; 109759; -3170; 5300; 3 }
		{"Heine Town"; 111386; 219394; -3546; 11000; 4 }
	telposlist_end
property_define_end
class_end
npc_pch
Code:
[gatekeeper_flauen]	=	1007899
Also have 2 say, that this NPC present in client side...
Code:
npc_begin	npc_id=7899	npc_name=[gatekeeper_flauen]	npc_speed=1	class_name=[LineageNPC.a_common_people_FElf]	mesh_name=[LineageNPCs.a_common_people_FElf_m00]	texture_name={[LineageNPCsTex.a_common_people_FElf_m00_t00_b00];[LineageNPCsTex.a_common_people_FElf_m00_t00_b01];[LineageNPCsTex.a_common_people_FElf_m00_t00_f];[LineageNPCsTex.a_common_people_FElf_m00_t00_h]}	texture_name_second=[none]	collision_radius=7	collision_height=25.5	attack_sound1={[ItemSound.fist_1];[ItemSound.fist_2];[ItemSound.fist_3]}	defense_sound1={[ItemSound.armor_leather_1];[ItemSound.armor_leather_2];[ItemSound.armor_leather_4];[ItemSound.armor_metal_weak_2];[ItemSound.armor_metal_weak_9]}	damage_sound={[ChrSound.FNpc_Lady_Dmg_1];[ChrSound.FNpc_Lady_Dmg_2];[ChrSound.FNpc_Lady_Dmg_3]}	sound_vol=250	sound_radius=50	sound_random=70	attack_effect=[LineageEffect.p_u002_a]	quest_be=0	level_limit={[]}	class_limit={[]}	npc_end
... where is my mistake ??
f1rsty is offline  
Old 12.07.2005, 17:58   #2
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

First mistake I see in the the first minute... it's a warrior?
Aikeleer is offline  
Old 12.07.2005, 17:59   #3
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

does it matter?
i dun think so...
toolpunk is offline  
Old 12.07.2005, 18:06   #4
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

Yes it does. Right now it's like a mob. You have to replace it with teleporter. The same goes for can_be_attacked btw, that should be 0. Putting on undying would be handy as well.
Aikeleer is offline  
Old 12.07.2005, 18:13   #5
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

I would copy and paste an existing teleporters line in npcdata and alter accordingly o.o
Sakumi is offline  
Old 12.07.2005, 18:39   #6
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

thats quite clever but f1rsty and i as well seem 2 try 2 understand all that stuff in the files...
copy paste isnt own work... u just stay a n00b then and dun learn anything
so we have 2 work through code
@Aikeleer
the prob is: it even dun spawn... and it must spawn at least weather it behaves like a guard or as a teleporter
toolpunk is offline  
Old 12.07.2005, 20:34   #7
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

Obviously, but for gatekeeps and such its best to conform to the standards already set in place for all gk's.

Im a perfectionist sorry lol.

Id be annoyed if 1 GK had different stats than another, dont ask me why I dunno..
Sakumi is offline  
Old 13.07.2005, 12:28   #8
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

lol...
yeah and we can learn from the proper gk code as well i think.
didnt think of this yesterday
toolpunk 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 19:16.