View Full Version : Easiest solution to c2 castle doors
just remove them fucking doors.
see file. too fucking lazy to explain.
Shady_Warrior_
07.04.2005, 15:49
just remove them fucking doors.
see file. too fucking lazy to explain.
i dont undestood to much but if u maked its all right :wink:
damienstone
07.04.2005, 19:41
does this fix castle sieges?
andreagighi
12.04.2005, 09:17
My solution:
...after removing it...
add npcs in npcdata.txt
[doorgludioout]
[doorgludioinner]
ect ect
after in npcpos.txt in the respawn area of gludio siege add:
[doorgludioout]
[doorgludioinner]
with position of the door...
Now u got door working in the siege... in c2...
This is my way for got door in the siege...
I'm workin on other castle... i will post my code when finished...
p.s. add also in npcgrp and make door part of clan so guard castle attack if door is attacked... :wink:
p.s.2: u must also modify client to make new npc door.
another way by zzcat
除了以前提供给MAG兄弟的改掉DOORDATA里 面的坐标,按方向KEY可以穿门方法外� �其实还有一个方法,就是集体传送,2 个星期前答应过朋友说要发,但一直� �较忙,也少上来看,所以等到今天才� ��给你,真不好意思。
拿古城做例子:
先在城门外设一个传送NPC,由于攻城� �间调用AI传送的守门人都无法传送,� �以我们将传送点设置在NPC身上,我用� ��动管理员来代替,建议位置靠后,不 然没打门卫就传到门后过去了,还给� �后夹击会死很惨。
http://bbs.99nets.com/attachment/42_81043.jpg
这个NPC的代码。
//古鲁丁
npc_begin citizen 12260 [event_human] level=70 exp=4296345xx.xx5 acquire_exp_rate=1.8 undying=1 can_be_attacked=0 acquire_sp=150 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=7.5 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=1345.8 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx3725587608 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=8 collision_height=24 category={} clan={} clan_help_range=0 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[event_human];{[fnHi] = [event_human001.htm]};{[pos_x1]=-18116};{[pos_y1]=110213};{[pos_z1]=-2496}} corpse_time=7 no_sleep_mode=0 npc_end
对话:event_human001.htm
<html><head>
<body>在桥上的人员20秒后会被传送到城堡中 。
准备好了吗?
<center><a action="bypass -h teleport_request">传送</a></center></body></html>
集体传送可以减少穿门过去后,死伤� �数量,毕竟人多力量大,哈哈。下面� ��个就是传过去后玩家的位置。X1=X Y1=Y Z1=Z
{[pos_x1]=-18116};{[pos_y1]=110213};{[pos_z1]=-2496}
如果喜欢的话城墙这里也可以设置一� �。毕竟左右两边城墙没兵守,想玩家� ��亡减少的可设置这里传
http://bbs.99nets.com/attachment/42_81044.jpg
接着修改NPCPOS.txt
territory_begin -> territory_end这一段里面是设置传送范围� ��就是画红色框内的人员都会被传送, 图片画得不好,传送师是必须设置在� �个范围之内。
territory_begin [event_human] {{-18221;110537;-2496;-1540};{-17993;110541;-2469;-1540};{-17988;111513;-2672;-1540};{-18241;111554;-2672;-1540}} territory_end
npcmaker_begin [event_human]
npc_begin [event_human] pos={-18114;111193;-2624;32768} total=1 respawn=100hour npc_end
npcmaker_end
http://bbs.99nets.com/attachment/42_81046.jpg
差点忘记还有AI
AI设置
class event_human : mass_teleporter
handler 11 // TIMER_FIRED
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
push_const 0
func_call 52 // func[SetTimerPeriodByTick]
shift_sp -1
shift_sp -1
shift_sp 1
push_const 18099
negate
push_const 109297
push_const 2475
negate
push_const 200
func_call 178 // func[InstantTeleportInMyTerritory]
shift_sp -4
shift_sp -1
push_event // myself
push_const 28
add
fetch_i // i_ai0
push_const 2336
add
push_reg_sp
fetch_i
push_const 0
assign
shift_sp -1
handler_end
class_end
最后记得内城门外再设置一个,写得� �点乱,不懂的话加我QQ 139170问问吧。
http://bbs.99nets.com/attachment/42_81047.jpg
Its the fix door castle ??
Please can you post here files with this fix for all castles?
files that containt only things about CS
Please can you post here files with this fix for all castles?
files that containt only things about CS
Use search you will find it there...
EntroX
I tried it .. Im using search first and then ask ..but can't find any .. only something like use guards as doors..etc
You can use torrentpimp´s door and castle data with the wyvern and strider patch.
There you will have working doors ( at least castle doors )
Yours.
EntroX
i need link fix for all castles pleasee
i need link fix for all castles pleasee
Couldnt you read the post i made....just before yours....
EntroX
Christoff
15.05.2005, 04:38
EntroX post link pls to his datas, if u can...
Click search....write My Site.....author torrentpimp....and enter his ftp, you will find it there.
EntroX
Domzelan
15.05.2005, 09:47
I found a program but cant download it...
Goddamnu, noobs!
Just like kids. Do u really need to be held by ur arm to do smth? This becomes more and more like rz. Damnit. I feel like im gonna get crazy with u guyz.