Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.