![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jun 2005
Posts: 24
|
: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> 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> 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
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
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
Code:
[gatekeeper_flauen] = 1007899 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
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jun 2005
Posts: 374
|
First mistake I see in the the first minute... it's a warrior?
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
does it matter?
i dun think so... |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Jun 2005
Posts: 374
|
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.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Apr 2005
Posts: 555
|
I would copy and paste an existing teleporters line in npcdata and alter accordingly o.o
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
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 |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Apr 2005
Posts: 555
|
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.. |
|
|
|
|
#8 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
lol...
yeah and we can learn from the proper gk code as well i think. didnt think of this yesterday
|
|
|
|
|