[Notes]breakdown for castledata
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
|