本帖最后由 atsaber 于 2011-4-15 10:42 编辑
这个老虎的插件:Philcommando Tiger
ftp://ftp.ofpr.info/ofpd/unofaddons2/PC_tiger.zip
这个老虎插件的使用,只能修改原装附带的任务,自编任务时老虎无法进攻。
想做个美苏混编维和部队在Chapoi小镇东南巡逻遭遇大批野兽(老虎)袭击、还击、逃命的任务。附带任务里讲的是一老美在Chapoi小镇西南某开阔地遭遇5头老虎袭击,所有老虎都对这名叫man1的士兵冲击,一开场就冲过来。但是自编的任务里,老虎根本对眼前的敌对阵营的目标不感冒,己方士兵走近老虎(近身)才被老虎“击毙”(拿牙啃?)。
现在的问题是:自编任务里想让老虎像人一样任意选定眼前的目标并主动进攻,如何实现?
附图:插件附带的任务,侥幸逃到Chapoi镇里的小房子里捡回一条命,但不久就被“击毙”了。
多谢ZDS5206同学提醒,我下了PC_tiger.zip之后,里面有个PCTigerreadme.txt,里面有如下内容,游戏英语好的先看看吧,回头我再译成中文:
再次感谢ZDS5206同学!!!!!!
Commands u may need
-------------------------------------
1. Should u want the tiger/tigers to attack a group of persons:-
a. Name your tiger - avehicle, bvehicle, cvehicle, .....etc
b. Name your groups of soldiers individually - man1, man2, ...to man9.
c. Once ingame, the tigers will get to u no matter where u are.
2. Should u want a tiger to attack only a man:-
a.Name your tiger - avehicle and man as - hunted.
b. Place a trigger with the activation:- [avehicle,hunted] exec "\PCTiger\scripts\hunted.sqs"
for 2 tigers or more, just add [bvehicle,hunted] exec "\PCTiger\scripts\hunted.sqs";[cvehicle,hunted] exec "\PCTiger\scripts\hunted.sqs"
3. Should u want to play normally without using the builtin scripts:-
a. The tiger will only react if u are very close to it ~1metres away, and
b. the tiger will react to East soldiers more, but if u set the Resistance Friendly to nobody, it will bite anyone including civilians.
c. Should u want to remove the tigers:- this execute "\PCTiger\scripts\dead.sqs"
c. To get tiger close to you, use at tiger's init:- this domove getpos me : this will get the tiger to about 4metres away from u.
Have fun!!
中文版:
你会需要的命令:
-------------------------------------
1、你是不是要这头/帮老虎攻击一个组的人:-
a、命名你的老虎-avehicle,bvehicle,cvehicle,……以此类推
b、逐个命名你的组里的士兵-man1,man2,……一直到man9。
c、一旦进入游戏,老虎们将会抓到你无论你跑到哪。
2、你是不是要一头老虎只攻击一个人:-
a、命名你的老虎-avehicle,还有那个人-hunted。
b、设置一个有行动描述的触发器:- [avehicle,hunted] exec "\PCTiger\scripts\hunted.sqs"
想设置2头或者更多老虎,只要加入[bvehicle,hunted] exec "\PCTiger\scripts\hunted.sqs";[cvehicle,hunted] exec "\PCTiger\scripts\hunted.sqs"即可
3、你是不是不想用builtin的脚本来正常运行:-
a、老虎将只会当你非常靠近它的时候动作,大概1米远吧,然后
b、老虎将会对东方阵营的士兵更加起反应,但是如果你设置抵抗阵营的友好度为无,老虎将会袭击任何阵营,包括平民。
c、你是不是要移除老虎们:- this execute "\PCTiger\scripts\dead.sqs"
c、要让老虎紧跟着你,使用一下老虎的init栏:- this domove getpos me:这将会让老虎保持与你4米左右的距离。
玩得开心!! |