Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 12.03.2005, 01:38   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default [FIX] fix to antharas dying = d/c?

thx to jiaqiang, i'll translate it later if needed.

现在我就说一下 我们详细观察小安杀死后我们是在什� �状态退出游戏的 是拉近到人物的时候 这个状态退出的 其实只要把这个状态在AI删掉就可以了 这么难吗?
我们找到小安AI里的设置 在最后面有这么一段
handler 10 // MY_DYING
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

shift_sp 1
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i
push_const 1200
push_const 20
push_const 10
negate
push_const 0
push_const 10000
push_const 13000
func_call 181 // func[SpecialCamera]
shift_sp -7
shift_sp -1
shift_sp 1
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i
push_const 0
func_call 68 // func[SetDBValue]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter GM_ID
func_call 32 // func[UnregisterGlobalMap]
shift_sp -1
shift_sp -1
handler_end
把他删了就可以了 大家可以测试一下

下面介绍一下石化巴温召唤出巴温的� �法(并不完美)
这个其实在POS里就可以帮我们完成这� �分动作 要做的更加精细 当然要AI配合
先说一思路石化巴温(baium_npc)我们� �以设置成非常脆弱 就是一个我们要利用对象 你可以把他的攻击 防御 HP MP 设置成1 呵呵 总之一刀把他挂了就行了 让他死后召唤出baium 以下是我在细语做的一个测试:
territory_begin [cs_25_21] {{95381;219544;-3760;-3636};{94736;219514;-3760;-3636};{94953;218506;-3760;-3636};{95881;218911;-3720;-3636}} territory_end
npcmaker_begin [cs_25_21] initial_spawn=all maximum_npc=2
npc_begin [baium_npc] pos={94906;216400;-3760;0} on_delete_create(1sec,{[baium]}) total=1 respawn=6hour respawn_rand=2hour npc_end
npc_begin [baium] nickname=[baium] pos={94906;216400;-3760;0} total=1 respawn=no npc_end
npcmaker_end

睡觉了 累死了
Digital is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:37.