![]() |
|
|
#1 |
|
Архивный участник
Join Date: Oct 2005
Posts: 75
|
Hi, my eglish very bad, but i need help
![]() I do PK viliage. (floran vilage), Merchant_of_pk (hiz like drink, and trade wearpon on soulore end wine) Guard_of_pk kill all haz not PK And i need new ai for guard pk.. if karma < 1 guard kill. Plees helpme and i finish my work and post complit work on this forum ![]() I have client side npcname-e.dat Code:
npc_begin id=14001 nickcolor=raid nick=[Nikolas] name=[Merchant of PK] npc_end Code:
npc_begin npc_id=14001 npc_name=[] npc_speed=1 class_name=[LineageNPC.black_market_trader_MDwarf_set] mesh_name=[LineageNPCs.black_market_trader_MDwarf_set_m00] texture_name={[LineageNPCsTex.black_market_trader_MDwarf_m00_t00_b00];[LineageNPCsTex.black_market_trader_MDwarf_m00_t00_b01];[LineageNPCsTex.black_market_trader_MDwarf_m00_t00_f];[LineageNPCsTex.black_market_trader_MDwarf_m00_t00_h]} texture_name_second={[]} collision_radius=N/A collision_height=N/A attack_sound1={[ItemSound.fist_1];[ItemSound.fist_2];[ItemSound.fist_3]} defense_sound1={[ItemSound.armor_leather_1];[ItemSound.armor_leather_2];[ItemSound.armor_leather_5];[ItemSound.armor_leather_7];[ItemSound.armor_leather_8]} damage_sound={[ChrSound.MNpc_Old_Dmg_1];[ChrSound.MNpc_Old_Dmg_2];[ChrSound.MNpc_Old_Dmg_3]} sound_vol=250 sound_radius=50 sound_random=70 attack_effect=[LineageEffect.p_u002_a] quest_be=0 level_limit={0;0} class_limit={} silhouette={[]} property_list={0} social=0 c3attr=0 npc_end
Code:
item_begin object_id=90004 object_name=[] drop_type=0 drop_anim_type=0 drop_radius=2 drop_height=5 drop_mesh={[dropitems.drop_sack_m00]} drop_texture={[dropitemstex.drop_sack_t00]} icon={[icon.etc_luxury_wine_a_i00]} mesh={[none]} texture={[none]} crystallizable=0 drop_sound=[ItemSound.itemdrop_sack] equip_sound=[none] etcitem_type=none weight=20 consume_type=consume_type_stackable material_type=liquid crystal_type=none durability=0 c3_newvar=0 item_end
Code:
item_name_begin id=90004 name=[12 Year Old Wine] additionalname=[Wine] popup=-1 description=[Вино для спившегося трейдера в деревне флоран, можеть быть использовано, но так же и служит предметом обмена] item_name_end npcdata.txt Code:
npc_begin merchant 14001 [merchant_of_pk] level=70 exp=4296345xx.xx5 acquire_exp_rate=0.4 undying=1 can_be_attacked=0 acquire_sp=40 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=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 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=24xx.xx818899627 org_mp=1345.8 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx3725587608 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=8 collision_height=24 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[gamble_master];{[fnHi] = [mpk001.htm]}} corpse_time=7 no_sleep_mode=0 npc_end
Code:
item_begin etcitem 90004 [12_Year_Old_Wine] item_type=weapon slot_bit_type={none} armor_type=none etcitem_type=potion blessed=0 weight=60 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[s_healing_potion] critical_attack_skill=[none] material_type=liquid crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
Code:
MultiSell_begin [DirtMaster] 900
selllist={
{{[greater_healing_potion];10};{{[12_Year_Old_Wine];1};{[soul_ore];10}}};
{{[saber*bastard_sword];1};{{[12_Year_Old_Wine];1};{[soul_ore];1200}}};
{{[akat_long_bow];1};{{[12_Year_Old_Wine];1};{[soul_ore];5200}}};
{{[sage's_staff];1};{{[12_Year_Old_Wine];1};{[soul_ore];5200}}};
{{[mithril_dagger];1};{{[12_Year_Old_Wine];1};{[soul_ore];2600}}};
{{[tattoo_o'_soul];1};{{[12_Year_Old_Wine];1};{[soul_ore];1500}}}}
{{[wool_underwear_set];1};{{[12_Year_Old_Wine];1};{[soul_ore];50}}}}
MultiSell_end
html mpk001.htm Code:
<html><head><body> Пьяный торговец: Эх... Я раньше был великим мастером. Ходил туда сюда, делал всякие вещи... но... сгубила любовь к вину. Давай бутылку и мы поговорим <a action="bypass -h multisell?id=900">Что я имею предложить</a></body></html> and i use standart skins
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Oct 2005
Posts: 75
|
visual
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Mar 2005
Posts: 1,143
|
If your contribution isn't done, then try posting in the Help section next time.
![]() The MODs section is for done stuff. Thanks.
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Aug 2005
Posts: 7
|
Nice skript sps !
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: May 2005
Posts: 463
|
wow, merchant of pk =O, jaaja
thanks.. ^^ |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Sep 2005
Posts: 9
|
gamble_master ai plz???
|
|
|
|
|
#7 | |
|
Архивный участник
Join Date: Oct 2005
Posts: 75
|
Quote:
|
|
|
|
|
|
#8 | |
|
Архивный участник
Join Date: Oct 2005
Posts: 75
|
Quote:
class gamble_master : merchant_for_cgrade class_end |
|
|
|
|
|
#9 | ||
|
Архивный участник
Join Date: Sep 2005
Posts: 408
|
Quote:
|
||
|
|
|
|
#10 | |||
|
Архивный участник
Join Date: Oct 2005
Posts: 75
|
Quote:
but help my first side (pk guard) and mod my second side (merchant of pk) and this side has done.i reale need help for karma but (говоря русским языком я - запарился излагать на не нашем. Мне надо тупо аи гварда который бьет наоборот не ПК а тех кто не ПК, т.е. тех у кого карма равна 0, чтобы я смог с ней разобраться и доделать деревню
|
|||
|
|
|
|
#11 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
Why just dont use any non used C3 NPC? you dont need make anything clientside if you use any C3 NPC citizen what never be used
then make in npcdata that NPC server only to PK (npc_ai={[gamble_master];{[fnChaotic] = [mpk001.htm]}} = its quickiest way how to make PK MERCHANT.. |
|
|
|
|
#12 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
about PK guard - check sentinel topic.. someone here post anti pk guard AI .. I think there u will find how to make PK guard
its here https://postpacific.loc-online.com/f...hlight=anti+pk but I cant recognize how this anti PK guard check karma of player.. or simply "how know player is PK".. |
|
|
|
|
#13 | |
|
Архивный участник
Join Date: Oct 2005
Posts: 75
|
Quote:
![]() or tutorial )
|
|
|
|
|
|
#14 | |
|
Архивный участник
Join Date: Oct 2005
Posts: 75
|
Quote:
|
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Oct 2005
Posts: 75
|
this?
Code:
class guard : default_npc parameter_define_begin string fnHi "chi.htm" float Attack_DecayRatio 6.600000 float UseSkill_DecayRatio 660xx.xx0000 float Attack_BoostValue 5xx.xx0000 float UseSkill_BoostValue 1000xx.xx0000 parameter_define_end handler 3 // TALKED handler_end handler 1 // ATTACKED variable_begin "attacker" "damage" "myself" "_choiceN" "_code" "_from_choice" variable_end shift_sp 1 push_event // attacker push_const 36 add fetch_i push_const 1 push_const 2000 func_call 2 // func[AddAttackDesire] shift_sp -3 shift_sp -1 handler_end handler 5 // see on creature :) variable_begin "creature" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // if creature karma = 0 push_const 68 add fetch_i //karma push_const 412 add fetch_i push_const 0 greater branch_false L1 // if karma count=0 go L1 if >1 go L0 atack L0 shift_sp 1 push_event // creature push_const 68 add fetch_i push_const 1 push_const 1500 func_call 2 // func[AddAttackDesire] shift_sp -3 shift_sp -1 L1 handler_end class_end |
|
|
|
|
#16 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
As far as i know this is not possible....
Code:
push_const 1 push_const 2000 Code:
push_const 0 push_const 2000 haven't tried 2 or 3 etc. yet perhaps you should... |
|
|
|
|
#17 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
Is it possible just to teleport all pkers inside floran when they die and clicks nearest?
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
Settings.txt:
[php:1:26fc96d83e] point_name=[floran_town] point={17555;170393;-3400} .... blabla chao_point={17931;170381;-3451} [/php:1:26fc96d83e] point = normal player spawn chao_point = PK player spawn |
|
|
|
|
#19 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
oO
nice. I want the pkers to spawn in floran no matter the location of death (could be anywhere on the map). I will try to put in chao_point of all towns the a loc inside floran. I hope it wont crash
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|