Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 03.06.2005, 04:41   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default [Chinese] notes on npcdata

thx to coconut123

npc_begin
warrior --NPC種類,例如summon(召喚獸)、teleporter(� ��送師)、holything(城堡聖物)、merchant(商 人)、boss ..... 等
1 -- NPC編號,不可與其他NPC編號重複
[gremlin] -- NPC英文名稱,不可與其他NPC英文名稱� �複
level=1 -- NPC等級,玩家殺死NPC時,等差加減比� �以此判斷,並不影響NPC能力
exp=1 -- NPC擁有的EXP,如同玩家,擁有越多則EX P越多,則能力越高
acquire_exp_rate=xx.xx -- EXP倍數,殺死NPC後應取得的EXP,再乘� �這邊設定的倍數,需要考量NPC的EXP、� ��級差
undying=0 -- NPC是否可被殺死
can_be_attacked=1 -- 可否攻擊該NPC
acquire_sp=2 -- 殺死NPC所取得的SP,僅與等級差有影響
race=fairy -- NPC種族,例如不死系、精靈系、動物� �...等
sex=male -- NPC性別
temper=100 -- 不明,數值皆為100
safe_height=100 -- 不明,數值皆為100
org_jump=15 -- 應該是跳躍高度,皆為15
skill_list={} -- NPC本身附帶的被動技能
magic_list={} -- 不明,目前無用
max_item=50 -- 最大物品數量?...目前只知道一般NPC� �量為50、商人為80
item_make_list={} -- 不明
corpse_make_list={{[magic_ring];1;1;xx.xx03};{[stem];1;1;3.9799}} -- {{[回收物品1];最小數量;最大數量;回收機率};{[回收物品2];最小數量;最大數量;回收機率}}
additional_make_list={} -- 單樣物品掉落機率 {{[掉落物品1];最小數量;最大數量;掉落機率};{[掉落物品2];最小數量;最大數量;掉落機率}}
additional_make_multi_list={{{{[adena];7;10;100}};70};{{{[stem];1;1;75};{[suede];1;1;25}};1.3062}} -- 複數物品掉落機率,這個部分請參閱� �落物品調整說明
slot_chest=[] -- 身體裝備物品,目前沒有使用
slot_rhand=[] -- 左手裝備物品,輸入裝備英文名稱
slot_lhand=[] -- 右手裝備物品,輸入裝備英文名稱
base_attack_type=fist -- 攻擊類型,輸入武器類型英文,例如bo w弓、sowrd劍
base_can_penetrate=0 -- 不明,(可否穿透?)皆設定為0
base_attack_range=40 -- 攻擊範圍
base_damage_range={0;0;80;120} --基本傷害值範圍,詳細設定不明
base_rand_dam=30 -- 不明
str=40 --NPC STR值
int=21 -- NPC INT值
dex=30 -- NPC DEX值
wit=20 -- NPC WIT值
con=43 -- NPC CON值
men=10 -- NPC MEN值
hp_increase=10 -- NPC HP回復量
mp_increase=3 -- NPC MP回復量
org_hp_regen=2 -- NPC HP回復值
org_mp_regen=0.9 -- NPC MP回復值
ground_low={20;0;10} -- 地面行走速度,格式不明
ground_high={50;-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 -- 不明,皆為100
sight={0;0;2500;120;5} -- 視野?不明,可能是NPC的視野或是可� �螢幕顯示的最遠距離?
agro_range=1000 -- 偵測同族受到攻擊的援助範圍
org_hp=xx.xx81717042201 -- HP量
org_mp=40 -- MP量
base_defend=xx.xx91162425052 -- 物理防禦力
base_magic_attack=5.78703703703704 -- 魔法攻擊力
base_magic_defend=xx.xx25155877146 -- 魔法防禦力
base_physical_attack=4.12912046182547 -- 物理攻擊力
physical_hit_modify=4.75 -- 物理攻擊命中修正
physical_avoid_modify=0 -- 遭受物理攻擊閃避率修正
base_attack_speed=253 -- 攻擊速度
base_reuse_delay=0 -- 攻擊恢復時間,如持弓攻擊的NPC
base_critical=4 -- 致命攻擊修正率
magic_use_speed_modify=0 -- 魔法使用速度修正?不明,皆為0
status={normal} --狀態?不明,皆為normal
align=-1 -- 照字面應為互助編號,同類編號互助
collision_radius=10 -- 碰撞範圍
collision_height=15 -- 碰撞高度
category={} -- 不明
clan={} -- 同族互助
clan_help_range=300 -- 互助感知範圍
guild={} -- 工會
pledge={} -- 血盟
pledge_leader=0 -- 工會領導者??用途不明
alliance={} -- 同盟??用途不明
alliance_leader=0 -- 同盟盟主?? 用途不明
ignore_clan_list={} -- 略過同族列表?不明
ruler=0 -- 統治者?不明,皆為0
ruling_domain={} -- 統治範圍?不明
npc_ai={[gremlin]} -- NPC的AI設定名稱,須對照ai.obj
corpse_time=7 -- NPC死後屍體留存時間
no_sleep_mode=0 -- 無法能對該NPC施展睡眠術 0否 / 1是
npc_end
Digital is offline  
Old 03.06.2005, 04:46   #2
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

NPCDATA.TXT,NPC掉落物品屬性說明


開啟SCRIPT\NPCDATA.TXT,會看到如下的一� �敘述:

additional_make_multi_list={{{{[adena];99;159;100}};70};{{{[long_sword];1;1;5.8252};{[sword_of_reflexion];1;1;5.8252};{[sword_of_reflexion_blade];1;1;xx.xx43};{[sword_of_watershadow];1;1;5.8253}};0.1514};{{{[animal_skin];1;1;50};{[animal_bone];1;1;50}};7.9964}}

擠在一起看不清楚,所以我們分開來� �:

additional_make_multi_list={
{{
{[adena];99;159;100}
};70};

{{
{[long_sword];1;1;5.8252};
{[sword_of_reflexion];1;1;5.8252};
{[sword_of_reflexion_blade];1;1;xx.xx43};
{[sword_of_watershadow];1;1;5.8253}
};0.1514};

{{
{[animal_skin];1;1;50};
{[animal_bone];1;1;50}
};7.9964}

}

物品後面跟著的是「出現機率」,例� � 5.8252、xx.xx43、50
複數物品後面跟著的是「掉落機率」� �例如 0.1514

有沒有發現有沒有發現第二類與第三� �物品數量出現機率總合都是100?
5.8252 + xx.xx43 + 5.8252 + 5.8253 = 100
50 + 50 = 100

因此代表殺死這支怪物會掉落
1.adena
2.long_sword、sword_of_reflexion、sword_of_refle xion_blade、sword_of_watershadow
3.animal_skin、animal_bone
這三大類物品

掉落第一類物品的機率是70
掉落第二類物品的機率是0.1514
掉落第三類物品的機率是7.9964

以數量最多的第二類為例,如果剛好 0.1514 的機率掉落第二類物品,其中
有 5.8252 的機率會出現 long_sword
有 5.8252 的機率會出現 sword_of_reflexion
有 xx.xx43 的機率會出現 sword_of_reflexion_blade
有 5.8253 機率會出現sword_of_watershadow

所以要改物品掉落機率,應該依照需� �來修改「掉落機率」並且調整「出現� ��率」
Digital is offline  
Old 03.06.2005, 08:37   #3
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

我心爱的象形文字再。我非常愉快。� �的材料。
Livid is offline  
Old 03.06.2005, 09:05   #4
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

woah O_o
你会讲中文? 太强了呢。。 呵呵
Digital is offline  
Old 03.06.2005, 09:17   #5
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

呵呵,很好啊。。 能讲华语是件好事
Digital is offline  
Old 09.06.2005, 09:05   #6
yendream
Архивный участник
 
Join Date: Jun 2005
Posts: 2
Default

支持呢~~或許也是種文化交流吧
yendream is offline  
Old 09.06.2005, 14:30   #7
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

哦, yendream兄也来了
这下子就热闹了,呵呵!
Digital is offline  
Old 09.06.2005, 17:43   #8
Riane
Архивный участник
 
Join Date: Apr 2005
Posts: 196
Default

umm could sum1 translate me the exp and acquire_exp?
coz i (and divider ) wanna know where the differences are
Riane is offline  
Old 18.06.2005, 18:32   #9
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

exp=1 -- NPC擁有的EXP,如同玩家,擁有越多則EX P越多,則能力越高
acquire_exp_rate=xx.xx -- EXP倍數,殺死NPC後應取得的EXP,再乘� �這邊設定的倍數,需要考量NPC的EXP、� ��級差

exp = the exp the NPC has, just like the player, the higher the level the more exp it should have.
acquire_exp_rate = exp multipler, after killing npc, the amount of exp times acquire_exp_rate, but take into consideration of the npc exp and level differences.
Digital is offline  
Old 19.06.2005, 07:34   #10
hr
Архивный участник
 
Join Date: Jun 2005
Posts: 285
Default

Quote:
acquire_exp_rate = exp multipler, after killing npc, the amount of exp times acquire_exp_rate, but take into consideration of the npc exp and level differences.
Nope. Gathering exp = acquire_exp_rate * npc_lvl^2

The exp parameter states for npc's lvl (the same for player)
hr is offline  
Old 06.02.2006, 07:33   #11
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

how calculate:

final_patk = f(STR, base_physical_attack);

f = base_physical_attack*level_bonus*attribute_bonus

level_bonus,attribute_bonus - from PC_parameters.txt
base_physical_attack, STR - from npcdata.
formula work for me.

but if i calc matk with such method i get wrong result. Who can shaeformulas for matk mdef evasion accuracy etc.?
RmzVoid is offline  
Old 06.02.2006, 08:08   #12
hr
Архивный участник
 
Join Date: Jun 2005
Posts: 285
Default

PrimaGuide
hr is offline  
Old 06.02.2006, 16:27   #13
zcold
Архивный участник
 
Join Date: Nov 2005
Posts: 146
Default

Anyone can translate this to english?

It's good work, but i don't understand Chinese
zcold is offline  
Old 06.02.2006, 16:30   #14
kgptzac
Архивный участник
 
Join Date: Jan 2006
Posts: 363
Default

Quote:
Originally Posted by Livid
我心爱的象形文字再。我非常愉快。� �的材料。
lmao what translator u used?

anyway im suprised that mobs can have Pledge and Alliance o.O
kgptzac is offline  
Old 06.02.2006, 17:50   #15
Yucko
Архивный участник
 
Join Date: Jan 2006
Posts: 68
Default

hmm it would be nice to see this in english...
Yucko is offline  
Old 07.02.2006, 05:46   #16
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

sry
offtop
where i can download Prima Guide?
RmzVoid is offline  
Old 21.02.2006, 19:56   #17
Miafan
Архивный участник
 
Join Date: Feb 2006
Posts: 26
Default

how can i change npc move speed?
Miafan is offline  
Old 16.03.2006, 23:12   #18
empathon
Архивный участник
 
Join Date: Feb 2006
Posts: 136
Default

yeah translation will be nice balbefish one is horible
empathon is offline  
Old 17.03.2006, 04:04   #19
jouvmaster
Архивный участник
 
Join Date: Aug 2005
Posts: 84
Default

mmm look good, but chinese :shock:






(quiero arroz frito con lunpias y chop suey jojo) 8)
jouvmaster is offline  
Old 25.05.2006, 05:45   #20
dinesat4
Архивный участник
 
Join Date: Jul 2005
Posts: 123
Default

SOme in english plz
dinesat4 is offline  
Old 25.05.2006, 06:09   #21
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

kgptzac: Could you please translate them? i hate babel translation :S
tpuNIsher is offline  
Old 25.05.2006, 15:20   #22
kgptzac
Архивный участник
 
Join Date: Jan 2006
Posts: 363
Default

the first post is.. very self explanatory, i don't think anyone would have trouple understand them :P

NPCDATA.TXT,NPC drops tutorial


open SCRIPT\NPCDATA.TXT,you can see the following:

additional_make_multi_list={{{{[adena];99;159;100}};70};{{{[long_sword];1;1;5.8252};{[sword_of_reflexion];1;1;5.8252};{[sword_of_reflexion_blade];1;1;xx.xx43};{[sword_of_watershadow];1;1;5.8253}};0.1514};{{{[animal_skin];1;1;50};{[animal_bone];1;1;50}};7.9964}}

reformat the code to...:

additional_make_multi_list={
{{
{[adena];99;159;100}
};70};

{{
{[long_sword];1;1;5.8252};
{[sword_of_reflexion];1;1;5.8252};
{[sword_of_reflexion_blade];1;1;xx.xx43};
{[sword_of_watershadow];1;1;5.8253}
};0.1514};

{{
{[animal_skin];1;1;50};
{[animal_bone];1;1;50}
};7.9964}

}

the value after [name],min. drop #,max. drop #, is the drop rate for the items inside a category, like: 5.8252、xx.xx43、50
and the probablity of the /catagory/ to be dropped is the rates like: 0.1514, 7.9964...

the rates inside a category adds up to 100%.
5.8252 + xx.xx43 + 5.8252 + 5.8253 = 100
50 + 50 = 100

this means, that if the mob dies, it would drop the following:

1.adena
2.long_sword、sword_of_reflexion、sword_of_refle xion_blade、sword_of_watershadow
3.animal_skin、animal_bone

70% chance it would drop the first category items (adena only)
0.1514% chance it would drop the 2nd category items (the swords and sword blades)
7.9964% chance it would drop the 3rd category items (skins/bones)

use the example of 2nd category,for 0.1514% the chance the mob is dropping the 2nd category, you would get:
long_sword (5.8252% chance of getting it)
sword_of_reflexion (5.8252% chance of getting it)
sword_of_reflexion_blade (xx.xx43% chance of getting it)
sword_of_watershadow (5.8254% chance of getting it)

therefore to modify the drop rate of a certain item, it is necessary to modify both the "item drop rate" and the "category drop rate"
kgptzac is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 17:47.