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 01.07.2005, 16:43   #1
bobby
Архивный участник
 
Join Date: Jul 2005
Posts: 44
Default need help making a npc

This is what I have done but it doesnt like it at all. I copied the merchant ariel's template.

////////////added this at the very bottom line of the npc_pch file./////////

[Artist bobby] = 1020000

///////the below information went into the end of the ai.obj file.//////////

class Artist bobby : merchant
property_define_begin
buyselllist_begin SellList1
{485; 15}
{486; 15}
{487; 15}
{488; 15}
{489; 15}
{490; 15}
{491; 15}
{492; 15}
{493; 15}
{494; 15}
{495; 15}
{496; 15}
buyselllist_end
property_define_end
class_end


///////////////this info was copied to the bottom of the npcdata file./////////////


npc_begin
merchant
12622
[Artist bobby]
level=70
exp=4296345xx.xx5
acquire_exp_rate=2
undying=1
can_be_attacked=0
acquire_sp=200
race=orc
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={[ Artist bobby];{[fnHi] = [bobby001.htm]};{[fnBuy] = [bobby002.htm]};{[fnYouAreChaotic] = [bobby003.htm]};}
corpse_time=7
no_sleep_mode=0
npc_end


I also added a line to npcpos, but I cant seem to see where i put it...

I'm not sure how you guys put the code int he little boxes either, sorry if full length code is a bad thing


can anyone help me figure out why this doesn't work please?

I've searched through all of the posts here, I've found bit's and pieces of information, which helped me get this far. But this is where I can't get passed.

Thanks for all help in advance
bobby 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 21:50.