![]() |
[Share] - Jail Manager for Bandit Stronghold
Some cool ppl use Bandit Stronghold as a jail for bad players :D and sent to me settings for that, then i implemented a npc to open/close doors manually (more realist than "Summon Char" command :) )
http://img161.imageshack.us/img161/8...02740dr.th.jpg http://img161.imageshack.us/img161/3...02751pf.th.jpg doordata.txt Code:
door_begin [bandit_outter_001] type=normal_type static_object_id=22170001 open_method=by_npc pos={85393;-18338;-1792} range={{85293;-18438;-1792};{85493;-18438;-1792};{85493;-18238;-1792};{85293;-18238;-1792}} height=500 hp=158250 physical_defence=644 magical_defence=518 level=3 close_time=300 door_endCode:
class jail_manager : chamberlainCode:
[jail_manager] = 1060000Code:
npc_begin citizen 60000 [jail_manager] level=70 exp=429634524 acquire_exp_rate=0.1 undying=1 can_be_attacked=0 acquire_sp=1 race=human sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=50 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=8 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=1346 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx3725587608 physical_hit_modify=3.75 physical_avoid_modify=0 base_attack_speed=257 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=10 collision_height=22 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[jail_manager];{[fnSetGate]=[jail_manager001.htm]};{[fnSiegeDefendList]=[jail_manager001.htm]};{[fnNotMyLord]=[jail_manager001.htm]};{[fnAfterOpenGate]=[jail_manager001.htm]};{[fnAfterCloseGate]=[jail_manager001.htm]};{[DDoorName1_1]=[bandit_outter_001]};{[DDoorName1_2]=[bandit_outter_002]};{[DDoorName2_1]=[bandit_inner_001]};{[DDoorName2_2]=[bandit_inner_002]}} corpse_time=7 no_sleep_mode=0 npc_endCode:
<html><head></head><body>Code:
npc_begin npc_id=60000 npc_name=[] npc_speed=1 class_name=[LineageNPC.a_fighterguild_teacher_MHuman] mesh_name=[LineageNPCs.a_fighterguild_teacher_MHuman_m00] texture_name={[LineageNPCsTex.a_fighterguild_teacher_MHuman_m00_t00_b00];[LineageNPCsTex.a_fighterguild_teacher_MHuman_m00_t00_b01];[LineageNPCsTex.a_fighterguild_teacher_MHuman_m00_t00_f];[LineageNPCsTex.a_fighterguild_teacher_MHuman_m00_t00_h]} texture_name_second={[]} collision_radius=N/A collision_height=N/A attack_sound1={[ItemSound.fist_1];[ItemSound.fist_2];[ItemSound.fist_3]} defense_sound1={[ItemSound.armor_leather_2];[ItemSound.armor_leather_4];[ItemSound.armor_leather_5];[ItemSound.armor_leather_6];[ItemSound.armor_leather_7]} damage_sound={[ChrSound.MNpc_Fighter_Dmg_1];[ChrSound.MNpc_Fighter_Dmg_2];[ChrSound.MNpc_Fighter_Dmg_3]} sound_vol=250 sound_radius=50 sound_random=70 attack_effect=[LineageEffect.p_u002_a] quest_be=0 level_limit={0;0} class_limit={} silhouette={[]} property_list={0} social=1 c3attr=0 npc_endCode:
npc_begin id=60000 nickcolor=raid nick=[* Jail Manager *] name=[Bernardo] npc_end |
:)
|
Hehe, very useful. Thanks krapno. :)
|
Who has data about what function is carried out with this lock in С3? In castledata even there is a record that with it, it is possible to work as with the castle or clanhall. I am able to do it, but I have no exact data.
|
and npcpos ??
|
Quote:
if someone know, i m interested in AI including GM control in order only GM can open doors (or anything else) ... :) |
Hmmm
recode or doordata for Open For treasure hunter ?? |
Quote:
|
We have it setup tha tyou cannot scroll of escape to it, and you cannot scroll of escape into it either, just incase yoru near it when you use it.
for the npcpos for the guard, just goto the jail on a wyvern and pick a spot you want him in, if you want him planted permanently.. |
it can help u...
Code:
//Jail |
Quote:
|
hmm can you tell me which NPC originally open this door on official?
I dont like creating new NPC because client side patch.. I want make it on original NPC ... in c3 npcdata are LOTs of NPCs thats not used.. |
Quote:
i agree. I no get all info from this thread. Because I do not wish to make my server we do not resemble on official. But. Here there is a lot of helpful information for next my developing in this location. Use it ;) doordata, setting, area ;) |
nice...
thats pretty useful. and funny XD thx for sharing it with us :thumbup: |
i added all the info above but the doors still cannot be open, any help thnx.
|
Doordata maybe?
|
hmmm.. i cut n paste the one posted still the door are close.. is there something wrong with those scripts?
|
What if the player uses soe,return skill,/unstuck,or a player kills another one and click nearest ? :/
|
hi, you have to check Z pos, maybe we have different geodatas !
|
Quote:
|
Any way to block return skill,soe and go to nearest village in case of death?
|
Re: [Share] - Jail Manager for Bandit Stronghold
Ur html's doesnt work.
|
Re: [Share] - Jail Manager for Bandit Stronghold
Quote:
Are you sure you saved it in Unicode format ? |
i use scrool of escape in jail and get in oren :/
|
Yeah me too :(
|
| All times are GMT. The time now is 15:26. |