![]() |
|
|
#1 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
Some cool ppl use Bandit Stronghold as a jail for bad players
and sent to me settings for that, then i implemented a npc to open/close doors manually (more realist than "Summon Char" command ) ![]() 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_end
door_begin [bandit_outter_002] type=normal_type static_object_id=22170002 open_method=by_npc pos={85473;-18279;-1792} range={{85373;-18379;-1792};{85573;-18379;-1792};{85573;-18179;-1792};{85373;-18179;-1792}} height=500 hp=158250 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
door_begin [bandit_inner_001] type=normal_type static_object_id=22170003 open_method=by_npc pos={80867;-15471;-1800} range={{80767;-15571;-1800};{80967;-15571;-1800};{80967;-15371;-1800};{80767;-15371;-1800}} height=500 hp=158250 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
door_begin [bandit_inner_002] type=normal_type static_object_id=22170004 open_method=by_npc pos={80818;-15396;-1800} range={{80718;-15496;-1800};{80918;-15396;-1800};{80918;-15296;-1800};{80718;-15296;-1800}} height=500 hp=158250 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
Code:
class jail_manager : chamberlain class_end Code:
[jail_manager] = 1060000 Code:
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_end
Code:
<html><head></head><body> <center><font color="LEVEL">Jail Manager</font></center> Bernardo: All is well, my Lord, What is your command? <center> <font color="LEVEL">Outter Jail Doors</font> <table width="200"> <tr> <td align="center"><a action="bypass -h menu_select?ask=-203&reply=1">Open</a></td> <td align="center"><a action="bypass -h menu_select?ask=-203&reply=101">Close</a></td> </tr> </table> <font color="LEVEL">Inner Jail Doors</font> <table width="200"> <tr> <td align="center"> <td align="center"><a action="bypass -h menu_select?ask=-203&reply=2">Open</a></td> <td align="center"><a action="bypass -h menu_select?ask=-203&reply=102">Close</a></td> </tr> </table> </center></body></html> 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_end
Code:
npc_begin id=60000 nickcolor=raid nick=[* Jail Manager *] name=[Bernardo] npc_end |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jul 2005
Posts: 18
|
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Mar 2005
Posts: 1,143
|
Hehe, very useful. Thanks krapno.
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
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.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jun 2005
Posts: 549
|
and npcpos ??
|
|
|
|
|
#6 | |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
Quote:
if someone know, i m interested in AI including GM control in order only GM can open doors (or anything else) ...
|
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Jun 2005
Posts: 549
|
Hmmm
recode or doordata for Open For treasure hunter ?? |
|
|
|
|
#8 | |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
Quote:
|
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Sep 2005
Posts: 72
|
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.. |
|
|
|
|
#10 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
it can help u...
Code:
//Jail
point_begin
point_name=[bandit_stronghold]
point={80436;-15509;-704}
chao_point={82718;-16162;-1888}
map={22;17}
banned_race={}
point_end
|
|
|
|
|
#11 | |
|
Архивный участник
Join Date: May 2005
Posts: 43
|
Quote:
|
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
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.. |
|
|
|
|
#13 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
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
|
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
nice...
thats pretty useful. and funny XD thx for sharing it with us :thumbup: |
|
|
|
|
#15 |
|
Архивный участник
Join Date: May 2005
Posts: 43
|
i added all the info above but the doors still cannot be open, any help thnx.
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Aug 2005
Posts: 434
|
Doordata maybe?
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: May 2005
Posts: 43
|
hmmm.. i cut n paste the one posted still the door are close.. is there something wrong with those scripts?
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
What if the player uses soe,return skill,/unstuck,or a player kills another one and click nearest ? :/
|
|
|
|
|
#19 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
hi, you have to check Z pos, maybe we have different geodatas !
|
|
|
|
|
#20 | |
|
Архивный участник
Join Date: May 2005
Posts: 43
|
Quote:
|
|
|
|
|
|
#21 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
Any way to block return skill,soe and go to nearest village in case of death?
|
|
|
|
|
#22 |
|
Архивный участник
Join Date: Sep 2005
Posts: 212
|
Ur html's doesnt work.
|
|
|
|
|
#23 | |
|
Архивный участник
Join Date: May 2005
Posts: 99
|
Quote:
Are you sure you saved it in Unicode format ? |
|
|
|
|
|
#24 |
|
Архивный участник
Join Date: Oct 2005
Posts: 367
|
i use scrool of escape in jail and get in oren :/
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Jan 2006
Posts: 24
|
Yeah me too
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|