![]() |
PK viliage
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_endCode:
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_endCode:
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_endCode:
item_name_begin id=90004 name=[12 Year Old Wine] additionalname=[Wine] popup=-1 description=[Вино для спившегося трейдера в деревне флоран, можеть быть использовано, но так же и служит предметом обмена] item_name_endnpcdata.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_endCode:
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_endCode:
MultiSell_begin [DirtMaster] 900html mpk001.htm Code:
<html><head><body> |
Re: PK viliage
visual:)
|
If your contribution isn't done, then try posting in the Help section next time. :)
The MODs section is for done stuff. Thanks. :) |
Nice skript sps !
|
wow, merchant of pk =O, jaaja
thanks.. ^^ |
gamble_master ai plz???
|
Quote:
|
Quote:
class gamble_master : merchant_for_cgrade class_end |
Quote:
|
Quote:
i reale need help for karma but (говоря русским языком я - запарился излагать на не нашем. Мне надо тупо аи гварда который бьет наоборот не ПК а тех кто не ПК, т.е. тех у кого карма равна 0, чтобы я смог с ней разобраться и доделать деревню:) |
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.. |
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.mmorpg-game.onli...hlight=anti+pk but I cant recognize how this anti PK guard check karma of player.. or simply "how know player is PK".. |
Quote:
or tutorial:)) |
Quote:
|
this?
Code:
class guard : default_npc |
As far as i know this is not possible....
Code:
push_const 1 Code:
push_const 0haven't tried 2 or 3 etc. yet perhaps you should... |
Is it possible just to teleport all pkers inside floran when they die and clicks nearest?
|
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 |
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 :) |
| All times are GMT. The time now is 21:45. |