安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






spider_target_object = "ProtectionZone_Invisible_F";
Try changing it to:
spider_target_object = "Land_HelipadEmpty_F";
Pretty sure that's all I had to do to get attached turrets to work properly.
Also, in the mission, how do you get the thing to shoot?
Whenever I attatch anything to the original composition, it can't shoot because it's inside the thing's safe zone, so the projectiles just instantly explode.
I've tried going into the long string of code inside the sub and deleting all references to the safe zone (there's only one) and it breaks half the code and the sub spawns without the legs.
_truck setUnloadInCombat [FALSE,FALSE];
_truck setPosATL (player modelToWorld[0,30,0]);
_pilot = createGroup resistance createUnit ["O_Soldier_VR_F", [0,0,0], [], 0, "NONE"];
_pilot assignAsDriver _truck;
_pilot moveInDriver _truck;
_pilot setCaptive true;
_group = group _pilot;
_group setBehaviour "COMBAT";
_gun = "B_AAA_System_01_F" createVehicle getPos _truck;
_gun attachto [_truck,[0,0,3]];
_gun removeMagazines "magazine_Cannon_Phalanx_x1550";
_gun removeMagazines "magazine_Cannon_Phalanx_x1550";
_gun addWeaponTurret ["cannon_125mm",[0]];
_gun addMagazineTurret ["24Rnd_125mm_APFSDS_T_Red",[0]];
_gun addMagazineTurret ["24Rnd_125mm_APFSDS_T_Red",[0]];
_gunner = createGroup east createUnit ["O_Soldier_VR_F", [0,0,0], [], 0, "NONE"];
_gunner moveInAny _gun;
_gunner setCaptive true;
Go into the eden editor, place a unit down and hit the "play scenario" button. Next hit esc key and paste the code in the above post into the debug console with ctrl + v and hit the "LOCAL EXEC" button.
You can play around with that code and make it shoot whatever you want or attach more turrets/objects using the "attachTo" command. Put some blufor vehicles down in the distance to give it something to shoot at. Here is a list of the all the vehicle guns/ammo in the game:
https://community.bistudio.com/wiki/Arma_3:_CfgWeapons_Vehicle_Weapons
That is basically what I did with the spider.
In the editor when I downloaded authors mod, it's just an empty submarine I clicked edit and in the init it has a bunch of code already in it.