Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 General (https://postpacific.mmorpg-game.online/forumdisplay.php?f=31)
-   -   Breakdown of Castledata (https://postpacific.mmorpg-game.online/showthread.php?t=4576)

tpuNIsher 26.05.2006 20:09

Breakdown of Castledata
 
Didn't see it around anywhere..
I don't have a detailed picture of it as well. But ill post what i know..
Please help spread the knowledge and let's complete this..

Legend:
Red text is unsure or as said / unsure comment
bolded = sure

castle_begin <-- begin
[gludio_castle] <-- castle name
1 <---castleID which can be found in castlename-e.dat
//residence_owner_id = -1 <-- owner id
residence_territory=<-- castle residense territory{{{x;y;z;z2};{x;y;z;z2};{x;y;z;z2};{x;y;z;z2}}} <-- There are two Z's: Zmin and Zmax (the high sky doesn't "belong" to the castle, it's like areadata's coords, so it won't cover to the whole space from the polygon defined).
battlefield_territory<-- battlefield territorry={{{x;y;z;z2};{x;y;z;z2};{x;y;z;z2};{x;y;z;z2}}}<---Battlefield defines the siege zone...basically the area thats like combat zone
headquarter_territory<-- headquarter of attacking clans territorry=
{{{x;y;z;z2};{x;y;z;z2};{x;y;z;z2};{x;y;z;z2}};{{x ;y;z;z2};
{x;y;z;z2};{x;y;z;z2};{x;y;z;z2}};
{{x;y;z;z2};{x;y;z;z2};{x;y;z;z2};{x;y;z;z2}}}<--headquarter_territory is the area in which flags can be put down.
domain_territory = {}<-- dunno
manor_territory = {}<-- The productive area of the manorsystem?
owner_restart_point = {x;y;z}<-- where owner restarts; owner = owning clan.. is mass teleportation room
other_restart_village_list <-- other villeges to be restarted in; has to be non sieged town = {x;y;z}<-- as many as u wish
chao_restart_point_list <-- Siege Teleport List position for chaotic players in non sieged town = {x;y;z}<-- as many as u wish
banish_point_list<-- self explanatory = {{x;y;z};{x;y;z};{x;y;z};{x;y;z}} <-- has to be castle territory excluding water
mercenary_point_list = {} <-- <-- dunno
residence_guard_mapping =<--- List of Siege Mercenary Npc{{3960;sword;notmove;12301;15};....}<---- {{item id},{npc type};{move or notmove};{guard_id};{available sell amount for siege}}
where:
{item id} - mercenary ticket id
{npc type} - sword,bow,teleporter,cleric,wizard,pole
{guard_id} - npc id for summon for this ticket
for example:
3969;wizard;move;12310;5
this ticket 3696 will be wizard 12310 and he can move to target if needed. Only 5 wizards are available in one siege

owning_npc_list={{[chamberlain_saius];0};......}<-- These are the NPCs where the taxes are applied..as many as u want to put... syntax: {[npc_name]; % of taxes applied}
additional_npc_list = {} <--dunno
boss_npc_list = {}<-- for clanhall currently ..Maybe c5? (the raid boss under the castle that will attack siegers if not defeated before battle starts).
agit_list = {}<-- clanhall list? what syntax?
//bulletin_id = none <-- If Bulletin exists, correct id
next_siege = 2003/4/2/20/00 <-- default next time for siege, agit..doesn't require changes
siege_term = 7200 <-- Next siege time for Siege..in min
residence_state = initial <-- Status. Ititial, Idle, etc..
residence_gate_list = <-- Castle list of doors.. {[gate_name1];[gate_name2];[wall_name1];[wall_name2];[innerwall_name1];[inner_wall2];[castle_gate1];[castle_gate2];[castle_gate3];[castle_throne]}
breakable_wall_list = {[wall_name1];[wall_name2]}List of breakable walls
control_tower_list = <-- Castle control tower list{[gludio_life1_ctrltower];[gludio_life2_ctrltower];[gludio_life3_ctrltower]}
holything<-- self explanatory = {[gludio_holything];{x;y;z};16384;25.0;98.0} <-- 16384 - see direction, 25.0, 98.0 - collision
residence_grade = 3 <---Need Clan level for castle to be available for siege. Castle = 3 and above .. In official server, clan halls have "grade" (better grade means better items and upgrades, S lets leader ride wyvern).
tax_rate = 15 <--tax rate
tax_sysget_rate = 50 <--
tribute_rate = 30 <-- % of the taxes that parent castle obtains
agit_auction_min = 0<--- clanhall auction minimum bid
agit_deposit = 0<--- clanhall deposit paid from the adena in clan WH
agit_lease = 0<--- money to get the clanhall as a lease
agit_size = 0<---
agit_parent_castleid = 5<--- Castle that controls this castle (Aden)
agit_auction = 0 <--- For clanhall is 1; 1= yes, 0=no.
next_auction = 0/0/0/0 <-- for clanhall use
owner_restart_territory = self explanatory..{{x;y;z;z2};{x;y;z;z2};{x;y;z;z2};{x;y;z;z2}} <-- mass teleportation room territory
castle_end <-- castle end

castle_common_begin <-- begin
base_siege_time = 2003 / 4 / 2 / 20 / 0 <-- The default siege time when making a new server
reservable_siege_time = {{SAT;20};{SUN;16}} <-- days castle owners are allowed to pick for their siege
max_concurrent_siege = 3 <-- max ammount of castle sieges allowed to be running during one time period
castle_common_end <-- end

The above castle_common are the things applying to all castles


Share the knowledge.. i'll update 1st post with correct info as is shared.
Please do not flame.

//above post posted: 05/26/2006
//above is c1 castledata breakdown
//below is c4 castledata breakdown
//see above c1 breakdown to know better.
Code:

castle_begin //begin
[schtgart_castle] //castle_name
9 //id from castlename-e
siege //stating whether auction or siege. auction for agits.
residence_territory = {} //territory of residence.
battlefield_territory = {} //combat territory aka siege territory.
headquarter_territory = {} //where headquarter can be set up.
domain_territory = {} //always {} npcpos defines it already.
manor_territory = {} //always {} npcpos defines it already.
owner_restart_point_list = {} //owner restart_point_list..where owner pledge spawns if uses soe / escape / on death.
other_restart_village_list = {} //nearby town list where can restart at.
chao_restart_point_list = {} //chaotic mode restart list. on escape / death.
banish_point_list = {} //when banished from castle
mercenary_point_list  = {} //always {}
residence_guard_mapping = {} //redence guard aka mercs. format: {{item_id;sword/pole/bow/cleric/wizard;move/notmove;corresponding npc_id;int aka how many;{ssq type, can have 2 at max, separated by ;}}
owning_npc_list = {} //npcs belonging to castle, includes the corresponding town npcs too
additional_npc_list = {} //always {} can put some here too if u want.
boss_npc_list = {} // boss belonging to castle ;) needs ai for this to work ( rune_castle raid boss )
agit_list = {} //always {}
//bulletin_id = none
next_siege = 2003/4/2/20/00 //default siege time
siege_term = 7200 // time in mins, default.
residence_state = initial //default
residence_gate_list = {} //gate list including walls; format: {{[door_name];0};so on}}
breakable_wall_list = {} //always {}
control_tower_list = {} //all control towers belonging to castle; damage / life; format: {[ctrl_tower_name];[so on]}
holything = {} //holything for castle. format: {{[holything_name];{x;y;z};facing north/south/waste/east;collision;collision}}
residence_grade = 2 //residence_grade all child castles grade = 2 master = 1. only 2 castles are master: rune_castle & aden_castle.
//for agits, grades depends
tax_rate = 15 //what rate tax can be set at.
tax_sysget_rate = 40 //default
tribute_rate = 25 //% of the taxes that parent castle obtains
agit_auction_min = 0 //always 0
agit_deposit = 0 //always 0
agit_lease = 0 //always 0
agit_size = 0 //always 0
agit_parent_castleid = 8 //id of master castle
agit_auction = 0 //default
next_auction = 0/0/0/0 //default
owner_restart_territory = {} //where owner restarts, mass teleportation room.
battle_royal_flag_point_list = {} //default
final_flag_point_list = {} //default
final_open_door_list = {} //default
castle_end //end

Code:

castle_common_begin //see c1
base_siege_time = 2003 / 4 / 2 / 20 / 0 //see c1
reservable_siege_time = {{SAT;20};{SUN;16}} //see c1
max_concurrent_siege = 4 //see c1
castle_common_end //see c1


Virexor 26.05.2006 21:55

Quote:

1 <-- order?
castleID
1. gludio
2.dion
3. giran
4. oren
5. aden
6. innadril
7-41 are clanhalls

at bottom of castledata is this:
castle_common_begin
base_siege_time = 2003 / 4 / 2 / 20 / 0
reservable_siege_time = {{SAT;20};{SUN;16}}
max_concurrent_siege = 3
castle_common_end

wheres this for?

snikr 26.05.2006 22:32

Re: Breakdown of Castledata
 
Quote:

{x;y;z;[highlight=red:58de65999c]??[/highlight:58de65999c]};
There are two Z's: Zmin and Zmax (the high sky doesn't "belong" to the castle, it's like areadata's coords, so it won't cover to the whole space from the polygon defined).

Quote:

owning_npc_list[highlight=red:58de65999c]npcs belonging to castle?[/highlight:58de65999c]={{[chamberlain_saius][glow=red:58de65999c];0[/glow:58de65999c]};......}<-- [npc_name] [highlight=red:58de65999c] and colored part dunno[/highlight:58de65999c]
These are the NPCs where the taxes are applied.

Quote:

restart_point
Indeed, restarts points seems to be where they'll be teleported if they die/scroll when it's not a siege, also take in account the Castle SoE... :)

Quote:

boss_npc_list = {}[highlight=red:58de65999c]dunno[/highlight:58de65999c]
Maybe c5? (the raid boss under the castle that will attack siegers if not defeated before battle starts).

Quote:

residence_grade = 3
In official server, clan halls have "grade" (better grade means better items and upgrades, S lets leader ride wyvern).

Quote:

tribute_rate = 30[highlight=red:58de65999c]dunno[/highlight:58de65999c]
% of the taxes that parent castle obtains?

Quote:

agit_parent_castleid = 5[highlight=red:58de65999c]nooo idea...[/highlight:58de65999c]
Castle that controls this castle (Aden)

Eanae 26.05.2006 22:40

castle_common_begin
base_siege_time = 2003 / 4 / 2 / 20 / 0 [highlight=red:f13e47b763](The default siege time when making a new server)[/highlight:f13e47b763]
reservable_siege_time = {{SAT;20};{SUN;16}} [highlight=red:f13e47b763](days castle owners are allowed to pick for their siege)[/highlight:f13e47b763]
max_concurrent_siege = 3 [highlight=red:f13e47b763](max ammount of castle sieges allowed to be running during one time period)[/highlight:f13e47b763]

Virexor 26.05.2006 23:01

Quote:

agit_deposit = 0clanhall deposit
agit_lease = 0clanhall lease
one of these too is the weekly clanhall fee, paid from the adena in de clan warehouse
Quote:

agit_auction = 01 = yes 0 = no???
idd, castles arent for auction so they are at 0 clanhalls are at 1

Enishi 26.05.2006 23:15

boss_npc_list = {[bloody_lord_nurka1];[bloody_lord_nurka2]}
For Partisan Hideaway clan hall, beat nurka get the hall.

Virexor 26.05.2006 23:18

Quote:

agit_auction_min = 0clanhall auction time in min
you are wrong with this one, this is the minimum bid

HF 27.05.2006 07:50

Re: Breakdown of Castledata
 
Quote:

Originally Posted by tpuNIsher
residence_territory=<-- castle residense territory{{{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]}}}
battlefield_territory<-- battlefield territorry={{{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]}}}
headquarter_territory<-- headquarter of attacking clans territorry=
{{{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]}};{{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};
{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]}};
{{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]};{x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]}}}

You dont know about {x;y;z;[highlight=red:c59bb311b5]??[/highlight:c59bb311b5]}; ? But you know about this territory?? Why need this? How it define? ;)
I lost 2 days for understanding all.

Enishi 27.05.2006 08:13

battlefield_territory<-- battlefield territorry={{{x;y;z;??};{x;y;z;??};{x;y;z;??};{x;y ;z;??}}}
headquarter_territory<-- headquarter of attacking clans territorry=
{{{x;y;z;??};{x;y;z;??};{x;y;z;??};{x;y;z;??}};{{x ;y;z;??};
{x;y;z;??};{x;y;z;??};{x;y;z;??}};
{{x;y;z;??};{x;y;z;??};{x;y;z;??};{x;y;z;??}}}

Battlefield defines the siege zone...basically the area thats like an arena :P

headquarter_territory is the area in which flags can be put down.

HF 27.05.2006 08:19

sorry, tpuNIsher. I create self thread in correct forum.

https://postpacific.mmorpg-game.onli...pic.php?t=4826

Virexor 27.05.2006 08:49

manor_territory = {}<-- dunno

probably the productive area of the manorsystem

tpuNIsher 28.05.2006 05:05

the high z is called z2..right?

i onno how to calculate z2 or find it...or view it ...or w/e..

how?

tpuNIsher 28.05.2006 05:11

clanhall inside castledata breakdown:
Quote:

Originally Posted by HF
agit_begin
<---- Castle = castle_begin; Clanhall = agit_begin
[aden_castle_agit_002] <--- castle/clanhall name
52 <--- id (see in castlename-e.dat)

//residence_owner_id = -1
<---- constant owner for this castle/clanhall

residence_territory = {{{-20370;106804;-6827;1172};{-15723;106720;-6827;1172};{-15708;113862;-6827;1172};{-20394;113770;-6827;1172}}}
<---- castle = all territory around castle (include water trap), clanhall - room territory

battlefield_territory = {{{-23842;105415;-5601;2398};...}
<---- Castle = Territory for Siege Event (You enter to Siege Territory); Clanhall = {}

headquarter_territory = {{{-22198;114423;-4536;-2536};{-16245;114339;-4536;-2536};{-16150;117396;-4536;-2536};...}
<---- Castle = ; Clanhall = {}

domain_territory = {}
<---- ?
manor_territory = {}
<---- ?
owner_restart_point = {-16350;109380;-1784}
<---- castle = mass teleport room, clanhall - inside clanhall

other_restart_village_list = {{-81447;152760;-3170};{-81447;152880;-3170};{-81447;152640;-3170};...}
<---- Castle = Siege Teleport List position in no siege town (Example, in time Gludio Siege - need Gludin pos); Clanhall = Teleport Pos in near/control town near clanhall

chao_restart_point_list = {{-81616;157104;-3150};{-80688;157216;-3150};{-79568;156960;-3150};...}
<---- Castle = Siege Teleport List position for PK in no siege town (Example, in time Gludio Siege - need Gludin pos); Clanhall = Teleport Pos for PK near of control town

banish_point_list = {{-15881;110651;-2770};{-15679;110168;-2770};{-15553;110780;-2770};{-15281;110142;-2770}}
<---- Castle = castle territory without water banish; Clanhall = teleport pos from clanhall

mercenary_point_list = {}
<---- ?

residence_guard_mapping = {{3960;sword;notmove;12301;15};{3961;pole;notmove; 12302;10};{3962;bow;notmove;12303;40};{3963;cleric ;notmove;12304;5};{3964;wizard;notmove;12305;5};{3 965;sword;move;12306;15};{3966;pole;move;12307;10} ;{3967;bow;move;12308;40};{3968;cleric;move;12309; 5};{3969;wizard;move;12310;5};{3970;teleporter;not move;7488;2};{3971;teleporter;notmove;7489;2};{397 2;teleporter;notmove;7490;2}}
<---- Castle = List of Siege Mercenary Npc {{item id},{npc type};{move or notmove};{guard_id};{available sell amount for siege}}, Clanhall = {}
where:
{item id} - mercenary ticket id
{npc type} - sword,bow,teleporter,cleric,wizard,pole
{guard_id} - npc id for summon for this ticket
for example:
3969;wizard;move;12310;5
this thicket 3696 will be wizard 12310 and he can moved to target if need. Available only 5 this wizards on one siege

owning_npc_list = {{[chamberlain_saius];0};{[sir_tyron];0};{[gludio_mass_teleporter];0};{[gludio_df_teleporter1];0};{[gludio_df_teleporter2];0};{[gludio_df_teleporter3];0};{[gludio_teleporter1];0};{[gludio_teleporter2];0};{[gludio_teleporter3];0};{[gludio_outter_doorman];1};{[gludio_inner_doorman];1};{[gludio_royal_gatekeeper];0};{[marius];0};{[mesella];0};{[edmond];0};{[ramus];0};{[summoner_almors];0};{[sir_collin_windawood];0};{[daurin_hammercrush];0};{[hermit_santiago];0};{[turek_chief_burai];0};{[piotur];0}...}
<---- Castle = all control npc in town (all town npc + clanhall npc), Clanhall = only Clanhall Manager and Custodian
additional_npc_list = {}
<---- ?
boss_npc_list = {}
<---- ?
agit_list = {}
<---- ?
//bulletin_id = none
<---- If exist Bulletin, correct id
next_siege = 2003/4/2/20/00
<---- next time for siege, agit (no requed changes)
siege_term = 7200
<---- Castle = Time for Siege, Clanhall = 0
residence_state = initial
<---- Status. Ititial, Idle, ...
residence_gate_list = {[gludio_castle_outter_001];[gludio_castle_outter_002];[gludio_castle_wall_001];[gludio_castle_wall_002];[gludio_castle_inner_001];[gludio_castle_inner_002];[gludio_castle_gate_001];[gludio_castle_gate_002];[gludio_castle_gate_003];[gludio_castle_throne]}
<---- Castle = List of Doors; Clanhall = {}
breakable_wall_list = {[gludio_castle_wall_001];[gludio_castle_wall_002]}
<---- Castle = List of Walls; Clanhall = {}
control_tower_list = {[gludio_life1_ctrltower];[gludio_life2_ctrltower];[gludio_life3_ctrltower]}
<---- Castle = list of control towers Life Cotrol Towers and Damage/Trap Contor Towers; Clanhall = {}
holything = {[gludio_holything];{-18123;107972;-2560};16384;25.0;98.0}
<---- Castle = Holy Statue position, Clanhall = holything = {[];{;;};;;} 16384 - see direction, 25,98 - collision
residence_grade = 3
<---- Need Clan level for available be owner. Castle = 3 and above, Clanhall = 1 and above
tax_rate = 10
<---- Castle = 10, Clanhall = 0
tax_sysget_rate = 0
<---- Castle = 50, Clanhall = 0
tribute_rate = 30
<---- Castle = 30, Clanhall = 0
agit_auction_min = 10000000
<---- Castle = 0, Clanhall = clanhall auction time in min
agit_deposit = 1000000
<---- Castle = 0, Clanhall =
agit_lease = 1000000
<---- Castle = 0, Clanhall =
agit_size = 30
<---- Castle = 0, Clanhall =
agit_parent_castleid = 5
<---- Castle = Parent castle. Tax rate + parent castle tax rate, Clanhall = castle owner id (1 for Gludin and etc)
agit_auction = 0
<---- 0 = castle, 1 = clanhall
next_auction = 0/0/0/0
<---- 0/0/0/0 - castle, 2004/1/2/10 - sample for clanhall
owner_restart_territory = {{-17198;109185;-1840;-1540};{-16244;109185;-1840;-1540};{-16244;109538;-1840;-1540};{-17197;109539;-1840;-1540}}
<---- Castle = mass teleport room territory; Clanhall = {}
castle_end


tpuNIsher 28.05.2006 07:39

HF: How to find collision for holything? What about agit_list ? is it clan hall list under the castle?
tax_sysget_rate = 50 <-- ok.. is 50.. but wtf is it? how to calculate it? what does it do? -_-

also .. guys..
wtf about agit_size? agit = clanhall.. size = size.. but wtf? clanhall size? ........
and the domain_territory too..and confirmation on manor_territorry..
i can't test yet till my home inet is transferred back up -___- (i shifted my house)

HF 28.05.2006 09:08

Quote:

Originally Posted by tpuNIsher
HF: How to find collision for holything? What about agit_list ? is it clan hall list under the castle?
tax_sysget_rate = 50 <-- ok.. is 50.. but wtf is it? how to calculate it? what does it do? -_-

Collision table can find here on forum. Xls file. And no need find this file, because all holything have standart collision option.

tax_sysget_rate no changes too.

tpuNIsher 28.05.2006 09:33

k.. agit_list? :>

And thank you :D

snikr 28.05.2006 09:50

Quote:

Originally Posted by tpuNIsher
i onno how to calculate z2 or find it...or view it ...or w/e..

Find the Max Z of the castle (/loc at the highest roof), then add some value (maybe 1000).

If you want go to that loc, ride a wyvern and teleport there (so you won't fall... :?:

tpuNIsher 28.05.2006 09:52

rofl..didnt think of that..
thank you i guess.. XD

tpuNIsher 19.04.2007 20:16

Ok i'll update here with C4 breakdown for castledata.


All times are GMT. The time now is 21:44.