将6门2A18M榴d炮(确切的说叫D30)分别命名为W1-W6,在地图上放置:
看不见的H(Invisiable H),命名为Atarget
标记(Marker)形态自定,命名为firepoint
触发器,条件设为Radio Alpha(其实几都可以),触发(On activition):
[] exec "setfire.sqs"(保证小写)
保存地图,找到任务文件夹,悄衫在任务文件夹中新建三个记事本文件,分别命名为:
“setfire”、“ari”、“fire”(扩展名改成sqs,不再是txt)
用记事本分别打开这三个sqs文件(放心打开就好了),分别输渗运闷入:
setfire.sqs:
------从下一行开始------------
setfire=true
titletext ["Click on the map to set your fire direction.","plain down"]
onmapsingleclick "Atarget setpos _possetfire=false"
@!setfire
"firepoint" setmarkerpos getpos Atarget
onmapsingleclick ""
[] exec "ari.sqs"
titleText["","plain down"]
w1 sidechat "Received. Ten rounds, over."丛弯
~20
"Firepoint" setmarkerpos [0,0]
exit
-----结束-------------
ari.sqs
-----从下一行开始-----------
~2
+++Fire+++
[w1,Atarget] exec "fire.sqs"
~0.5
[w2,Atarget] exec "fire.sqs"
~0.5
[w3,Atarget] exec "fire.sqs"
~0.5
[w4,Atarget] exec "fire.sqs"
~0.5
[w5,Atarget] exec "fire.sqs"
~0.5
[w6,Atarget] exec "fire.sqs"
~3
[w1,Atarget] exec "fire.sqs"
~0.5
[w2,Atarget] exec "fire.sqs"
~0.5
[w3,Atarget] exec "fire.sqs"
~0.5
[w4,Atarget] exec "fire.sqs"
~0.5
[w5,Atarget] exec "fire.sqs"
~0.5
[w6,Atarget] exec "fire.sqs"
~3
[w1,Atarget] exec "fire.sqs"
~0.5
[w2,Atarget] exec "fire.sqs"
~0.5
[w3,Atarget] exec "fire.sqs"
~0.5
[w4,Atarget] exec "fire.sqs"
~0.5
[w5,Atarget] exec "fire.sqs"
~0.5
[w6,Atarget] exec "fire.sqs"
~3
[w1,Atarget] exec "fire.sqs"
~0.5
[w2,Atarget] exec "fire.sqs"
~0.5
[w3,Atarget] exec "fire.sqs"
~0.5
[w4,Atarget] exec "fire.sqs"
~0.5
[w5,Atarget] exec "fire.sqs"
~0.5
[w6,Atarget] exec "fire.sqs"
~3
w1 sidechat "Ten rounds over."
exit
---------结束-(如上是3发急促射,具体间隔时间可以自己调整,但要给每门炮留下装d时间)-------------
fire.sqs
----从下一行开始--------
_k=_this select 0
_z=_this select 1
_x=getpos _z select 0
_y=getpos _z select 1
_k dowatch [_x,_y,5000]
_a=_k ammo "D30"
~5
_k fire "D30"
@_a >_k ammo "D30"
~2
_n=nearestobject [_k,"HeatD30"]
_x=_x+((random 80)-40)
_y=_y+((random 80)-40)
_h="HeliHEmpty" createvehicle [_x,_y]
~2
_n setpos [_x,_y,0]
"SH_125_HE" createvehicle [_x,_y,30]
"SH_125_HE" createvehicle [_y,_x,30]
deletevehicle _H
exit
---结束--------
保存游戏,然后进行,启用该无线电之后在地图上点击炮火打击位置即可。
街霸:JIB 散打:SAD 柔道:ROD 气功师:QGS 剑魂:JIH 狂战士:KZS 鬼泣:GUQ 阿修罗:AXL 漫游:MAY q炮师:QPS d药专家:DYZJ 机械师:JXS 战斗法师:谈迟ZDFS 魔道学含弯李者:MDXZ 召唤师:ZHS 元素师:YUS 圣骑士:SQS 蓝拳:LAQ 驱魔师QMS 刺客:CIK 死灵术士:SLNS希望大家闹薯能采纳欢迎分享,转载请注明来源:内存溢出
评论列表(0条)