Jump to content
主视角中国

我是菜鸟,想问一个关于obj bot的问题


fghh

Recommended Posts

这个补丁是外网下的,OBJ4显示德军胜利?

OBJ4应是德军安雷,盟军排雷....

当炸弹暴炸后

level.targets_destroyed =1

这个

level.targets_to_destroy = 1

可能满足不了这个条件.......呵呵....

看了一下,这是BOTPK3中的OBJ4.SCR

axis_win_bomb:
while(level.targets_destroyed < level.targets_to_destroy)
waitframe
teamwin axis <---------德军胜
end[/code]

.......

改为

while(level.targets_destroyed <= level.targets_to_destroy)

TEST....

Link to comment
Share on other sites

下了一个BOTPK3看了一下,

暴炸的内容它已改写obj_dm.SCR成jv_obj_dm.SCR

与原稿的obj_dm.SCR不同,所以<=不行,午餐有些仓促,要看jv_obj_dm.SCR

的设定置是什么,说白了就是2个参数的比较的结果

在BOTPK3中

level.targets_to_destroy = 1

level.targets_destroyed 俺没有看到设定,默认是0?

jv_obj_dm.SCR中,level.targets_destroyed++

这个条件

axis_win_bomb:
while(level.targets_destroyed < level.targets_to_destroy)
waitframe
teamwin axis
end[/code] 成立的话要这样改 设置值 level.targets_to_destroy = 1 level.targets_destroyed = 1
[code]axis_win_bomb:
while(level.targets_destroyed > level.targets_to_destroy)
waitframe
teamwin axis
end

这样就成了

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

访客
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 创建新的...