Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Possible breakdown of NPCdata (https://postpacific.loc-online.com/showthread.php?t=4380)

Megatronpt 11.05.2006 00:17

Possible breakdown of NPCdata
 
This isn't finished.. help me complete it... please.

npc_begin npc_end <-- Trigger to begin/end a NPC

warrior/citizen/merchant/guard/teleporter/warehouse_keeper/guildmaster/blacksmith/package_keeper/guild_coach/summon/Boss/Chamberlain/holything/pet <-- NPC Type

629 <-- NPC ID (example for Karik)

[karik] <-- NPC Name (example for Karik)

level= <-- NPC Level

exp= <-- Mob exp: EXP = (Level^2)*aquire_exp_rate

acquire_exp_rate= <-- Acquire Experience Rate: aquire_exp_rate = (Level^2)/FINAL_EXP

undying= (0 or 1) <-- If NPC dies.. or not.. it's a good idea to make citizens undying

can_be_attacked=1/0 <-- It it is possible or not to attack NPC(CTRL + Click works even if it's set at 0)

acquire_sp=34980 <-- Acquire Skill Points Rate

race=demonic/undead/dragon/fairy/humanoid/animal/beast/elemental/plant/bug/construct <-- NPC Race

sex=male/female <-- Guess ;)

temper=100 <-- Aggressiveness/passiveness (Don't remember the values.. sorry)

safe_height= <-- Max height where the NPC can pass(???)

org_jump= <-- Jump distance(???)

skill_list={} <-- Mob Skills. Begins with '@', followed by skill name

magic_list={} <-- Additional Magic(???)

max_item= <-- Max Items it can carry(Drop?)

item_make_list={} <-- Single Normal Drop list

item_make_multi_list={} <-- Groups Normal Drop list

corpse_make_list={} <-- Spoil List

additional_make_list={} <-- Additional Drops

additional_make_multi_list={} <-- Additional drops(groups)

slot_chest=[] <-- What NPC is wearing on chest

slot_rhand=[] <-- What NPC has in Right Hand

slot_lhand=[] <-- Left hand

base_attack_type=fist <-- What NPC uses normally to attack

base_can_penetrate= <-- Skill/attack penetration

base_attack_range= <-- Attack Range

base_damage_range={x;p;t;o} <-- Don't know

base_rand_dam= <-- Criticals(?)

str= <-- NPC Base Strength

int= <-- NPC Base Inteligence

dex= <-- NPC Base Dex

wit= <-- NPC Base Wit

con= <-- NPC Base constitution

men= <-- NPC Base Mentality

hp_increase= <-- HP increase per time on org_hp_regen(?)

mp_increase= <-- MP Increase per time on org_mp_regen(?)

org_hp_regen= <-- Time for HP Increase

org_mp_regen= <-- Time for MP Increse

ground_low={x;y;z} <-- Minimum Speed on Ground

ground_high={x;y;z} <-- Maximum Speed on Ground

underwater_low={x;y;z} <-- Minimum Speed underwater

underwater_high={x;y;z} <-- Maximum Speed underwater

fly_low={x;y;z} <-- Don't know

fly_high={x;y;z} <-- Don't know

float_low={x;y;z} <-- Don't know

float_high={x;y;z} <-- Don't know

org_earshot= <-- Distance at which mobs go agro on you

sight={x;p;t;o} <-- Don't know

agro_range= <-- NPC will react at this range

org_hp= <-- Calculated using: org_hp = FINAL_HP/1.58

org_mp= <-- Not sure about the formula

base_defend= <-- Base defence against P. Attacks

base_magic_attack= <-- Base attack for M. Attacks

base_magic_defend= <-- Base defence against M. Attacks

base_physical_attack= <-- Base attack for P. Attacks

physical_hit_modify= <-- Modifier for P. Attacks

physical_avoid_modify= <-- Evasion Modifier

base_attack_speed= <-- Base Attack Speed

base_reuse_delay= <-- Wait time for magics

base_critical= <-- Base Critical Rate

magic_use_speed_modify= <-- Casting Speed

status={normal} <-- Don't know

align= <-- Alignment or "karma"

collision_radius= <-- Collision with an object/NPC(?)

collision_height= <-- Same as above(?)

category={} <-- Don't know

clan={} <-- NPCs also have clans and tend to help each other

clan_help_range= <-- Distance of other clan members(and if within sight radius)

guild={} <-- Not sure

pledge={} <-- Not Sure

pledge_leader=0 <-- Not Sure

alliance={} <-- Not Sure

alliance_leader= <-- Not Sure

ignore_clan_list={} <-- Ignores NPC Clan that are attacked by PC

ruler= <-- Not Sure

ruling_domain={} <-- If NPC clan is restricted to a certain area

npc_ai={} <-- AI.OBJ class that the NPC Uses

corpse_time= <-- Time in seconds that the corpse is visible

no_sleep_mode=0/1 <-- Can/cannot be sleeped.




Who wants to help me complete this breakdown?

Give me a hand, and I'll update this post. ;)

Quote:

By MelkorTheStrong
Taken from Lineage II c1 Prima guide. I don't know if they apply to C2-C4, but why not?

Base Stats

STR (Strength)
Influences: P Atk / Melee damage, skills like Curse: Weakness
Modifiers:
HF = +19%
HM = -10%
EF = +13%
EM = -11%
DEF = +22%
DEM = -8%
OF = +20%
OM = -2%
DwF = +18%

CON (Constitution)
Influences: HP, Carrying Capacity / HP Regeneration, skils like Shield Stun
Modifiers:
HF = +58%
HM = +24%
EF = +42%
EM = +20%
DEF = +34%
DEM = +19%
OF = +67%
OM = +32%
DwF = +62%

DEX (Dexterity)
Influences: Accuracy, Critical, Attack Speed, Movement Speed, Evasion / Skills like Dryad Root
Modifiers:
HF = +10%
HM = +1%
EF = +15%
EM = +4%
DEF = +14%
DEM = +3%
OF = +6%
OM = +4%
DwF = +9%

INT (Intelligence)
Influences: M Atk / Magic Damage
Modifiers:
HF = -19%
HM = +21%
EF = -15%
EM = +12%
DEF = -12%
DEM = +28%
OF = -23%
OM = -1%
DwF = -20%

MEN
Influences: MP, M Def / MP Regeneration, skills like poison
Modifiers:
HF = +28%
HM = +48%
EF = +30%
EM = +49%
DEF = +30%
DEM = +45%
OF = +31%
OM = +52%
DwF = +31%

WIT
Influences: Casting speed / skills like Sleep
Modifiers:
HF = -36%
HM = 0%
EF = -25%
EM = +16%
DEF = -32%
DEM = -5%
OF = -32%
OM = -22%
DwF = -39%



Character Stats

Level Modifier is a percentage equal to
[your level - 11]

For example, a level 30 character has a level modifier of +19% (30-11), while a level 1 character has a modifier of -10% (1-11).

Max HP and Max MP
These are determined by your class, your level, and your CON (for HP) and MEN (for MP). Higher CON and MEN give better HP and MP, but since these base stats rarely change, you'll rarely see the direct effect of these modifiers.

Max HP = [your current base HP] x [your CON bonus]

Max MP = [your current base MP] x [your MEN bonus]

P Atk
Determines how much damage you will inflict on a player or monster with a P Def of 64.

[your weapons P atk] x [your level bonus] x [your STR bonus]

P def
Determines how much damage your armor can absorb when a player or monster hits you with their weapon.

[your armors total P Def] x [your level bonus]

Accuracy
Affects your hit/miss ratio with your weapon. The higher your accuracy, the better.

([square root of your DEX] x 6) + [your level] + [your weapons hit modifier]

Weapon Hit Modifiyer

Blunts, Dual Fists | +4.75
Bows, Polearms |3.75
Others | no modifier

Critical
Critical affects your chance of a critical hit. The higher your Critical, the better. While Critical damage is usually double normal damage, skills like Critical Power can increase the multiplier of a critical hit.

[your DEX bonus] x [your weapons Critical bonus]

Weapon Critical Bonus

Daggers, Bows | 120
Blunts | 40
Others | 80

Attack Speed
Attack speed determines how fast you strike with your weapon. Attack Speeds are directly comparable (for example, Attack Speed 500 is twice as fast as Attack Speed 250), with one exception. Bows have a delay period after each arrow is fired, which basically cuts a bows Attack Speed in half. To figure a bows functional Attack Speed, do just that --divide the number displayed in half.

[your DEX bonus] x [your weapons Attack Speed]

Weapon Attack Speeds

Daggers | 433
Polearms, 2H Swords, 2H Blunts | 325
Bows (effectively 146) | 293
Others | 379

M Atk
M Atk (Magic Attack) helps determine the amount of damage your weapon and a certain spell will do on a player or monster.

[your weapons M Atk] x [your level bonus]squared x [your INT bonus]squared

M Def
M Def (Magic Defense) determines how much magic damage is absorbed by your accessories.

[your accessories combined M def] x [your level bonus] x [your MEN bonus]

Casting Speed
Casting Speed is how fast you cast spells. All casting speeds are comparable to each other (Casting speed 500 is twice as fast as casting speed 250).

166.5 x [your DEX bonus]

Carrying Capacity
Carrying capacity is how much you can carry.

52,000 x [your CON bonus]

Physical Attack Damage
Roughly speaking, if a strike hits, the damage it inflicts is:

[attackers P Atk] x 70 / [defenders P Def]

This can be further modified by several factors, including a purely random damage modifier (of about +/- 5%) and of course, whether a critical hit is scored. (Dual Fist and Daggers have the lowest random damage variation. Blunt weapons have the highest variation.)

Magical Attack Damage
(square root of [attackers M Atk/defenders M Def]) x [skills power] x 91


This is from C1 guide eh? I am sure some of all this crap is...useless, but you can possibly scavange some formulas, yes? No reason why some of them should apply to PCs, and not NPCs...
Quote:

By Sire
This seems to be for players. I think hes talking about monsters.

Heres the formulas you asked for:

HP = org_hp*1.58 (Con = 43)
EXP = (Level^2)*aquire_exp_rate

So to calculate the mob org HP:
org_hp = FINAL_HP/1.58
And the aquire_exp_rate:
aquire_exp_rate = (Level^2)/FINAL_EXP
Quote:

By Zil at another forum:

ground_low={X;0;10}
ground_high={Y;-30;30}
underwater_low={50;0;X}
underwater_high={0;0;Y}
fly_low={0;0;X}
fly_high={0;-30;Y}

where X - minimum speed, Y - maximum

thats all I know :)
P.S. this is example for [rabbit] :)
This could be helpfull not only for newcomers, but also for people that are interested in making tools... so please don't flame.

Enishi 11.05.2006 01:44

Code:

ground_low={x;y;z} <-- Don't know

ground_high={x;y;z} <-- Don't know

underwater_low={x;y;z} <-- Don't know

underwater_high={x;y;z} <-- Don't know

fly_low={x;y;z} <-- Don't know

fly_high={x;y;z} <-- Don't know

float_low={x;y;z} <-- Don't know

float_high={x;y;z} <-- Don't know

These are the speeds at which the npc would move under certain conditions. (If I remember correctly)

GMan 11.05.2006 04:07

temper=100 <-- Aggressiveness/passiveness

Agro or not is set in AI, mabey this is a setting for how agro/how long they will chase not sure, cuold be blowing this out my ear :)

Megatronpt 11.05.2006 07:50

Thanks Enishi!

Does that apply for Fly and Float as well ?


That's what I meant GMan, thanks for explaining it better. ^^

That is my idea as well. ;)

Arshen 11.05.2006 11:52

Re: Possible breakdown of NPCdata
 
Quote:

Originally Posted by Megatronpt
org_earshot= <-- Don't know

Distance at which mobs go agro on you .

Megatronpt 11.05.2006 12:32

Thank you Arshen

Enishi 11.05.2006 18:45

Quote:

Originally Posted by Megatronpt
Thanks Enishi!

Does that apply for Fly and Float as well ?


That's what I meant GMan, thanks for explaining it better. ^^

That is my idea as well. ;)

It *should*
Not really sure.

OnlyOne 11.05.2006 19:01

Quote:

org_hp= <-- Calculated using: org_hp = FINAL_HP/1.58

org_mp= <-- Not sure about the formula
this should look like this:

when con=43 org_hp * 1.575
when men=25 org_mp * 1.28

we should calculate value per con ir men if we want accurate values

GriffiN 25.05.2006 23:17

how can i calculate the base_defend???

Sire 26.05.2006 04:21

level_modifier = ( Level - 11 ) / 100 + 1
base_defend = Total P.Def. / level_modifier

dandu 27.05.2006 04:22

Quote:

Originally Posted by MelkorTheStrong
Casting Speed
Casting Speed is how fast you cast spells. All casting speeds are comparable to each other (Casting speed 500 is twice as fast as casting speed 250).

166.5 x [your DEX bonus]

Mmm... DEX? I pretty sure it's WIT.

MelkorTheStrong 27.05.2006 05:47

i will check the little book of mine, i was not checking when i typed, just typing ^_^.

should be wit, true though.

nish 27.05.2006 07:18

thanks for the info very usefull to a beginner like me ;)

Sire 28.05.2006 03:23

You can look in Script/PC_Parameter.txt for all the bonuses for each stat.

tpuNIsher 03.06.2006 06:09

exp table:
Code:

level1=0
level2=68
level3=363
level4=1168
level5=2884
level6=6038
level7=11287
level8=19423
level9=31378
level10=48229
level11=71202
level12=101677
level13=141193
level14=191454
level15=254330
level16=331867
level17=426288
level18=540000
level19=675596
level20=835862
level21=1023784
level22=1242546
level23=1495543
level24=1786379
level25=2118876
level26=2497077
level27=2925250
level28=3407897
level29=3949754
level30=4555796
level31=5231246
level32=5981576
level33=6812513
level34=7730044
level35=8740422
level36=9850166
level37=11066072
level38=12395215
level39=13844951
level40=15422929
level41=17137087
level42=18995665
level43=21007203
level44=23180550
level45=25524868
level46=28049635
level47=30764654
level48=33680052
level49=36806289
level50=40154162
level51=45525133
level52=51262490
level53=57383988
level54=63907911
level55=70853089
level56=80700831
level57=91162654
level58=102265881
level59=114038596
level60=126509653
level61=146308200
level62=167244337
level63=189364894
level64=212717908
level65=237352644
level66=271975263
level67=308443198
level68=346827154
level69=387199547
level70=429634523
level71=474207979
level72=532694979
level73=606322775
level74=696381369
level75=804225364
level76=931275828
level77=1108571463
level78=1309482881
level79=1535687304
level80=1788937098

rates are x35..

tpuNIsher 03.06.2006 07:03

Sire/ MegatronPT:
Code:

EXP = (Level^2)*aquire_exp_rate
that formula is not correct.

Where acquire_exp_rate is 206 and level is 5, exp should be 5150 if we follow the above calculation; where rates are x35.

however the exp is 2884.

so?

Sire 04.06.2006 09:42

The formula is correct. I went and tested again after reading this to make sure. Make sure your character is under level 5 when you test, because I came up with exactly 5150 when I tried.

2884 is what your getting? That is the level exp for level 5 if I remember right, but with 206 aquire_exp_rate 5150 is what I'm getting on my mobs.


All times are GMT. The time now is 16:03.