Page MenuHomeFeedback Tracker

East/West side relations stop artillery from working
Assigned, WishlistPublic

Description

OBSERVED:

If WEST is set to be friends with EAST, and EAST is set to be friends with WEST, then doArtilleryFire and commandArtilleryFire cease to function.

Artillery units cannot then complete a fire mission. The artillery unit will attempt to raise it's barrel to fire, but something in Arma's engine stops it and nothing happens.

(If you go up to the artillery unit, you can see the barrel moves slightly, but then nothing else happens).

EXPECTED:

Artillery unit should fire on the co-ordinates fed into it with the appropriate magazine and number of shots. {F22880}

Details

Legacy ID
176202572
Severity
None
Resolution
Open
Reproducibility
Always
Category
Engine
Steps To Reproduce

Download attached mission and open up in the editor.

There is a crewed artillery piece next to you (vehicle name = a1).

Go into the map. It will show a number of triggers you can trip to initiate fire missions.

Radio Golf - Fires 9 shots from a1
Radio Hotel - Fires 5 shots from a1
Radio India - Fires 3 shots from a1
Radio Juliet - Fires 1 shot from a1

Also there is a trigger to spawn a new artillery piece in front of you. This is scripted to fire at the target 5 seconds after spawn. It's available on Radio Alpha. This is to show it affects spawned in units as well as editor placed ones.

You can make the artillery work normally by commenting out the following lines in init.sqf:

EAST setFriend [WEST, 1]; <<<< COMMENT HERE
WEST setFriend [EAST, 1];
<<<< COMMENT HERE

I also checked the independent side relations, but they do not seem to affect the fire missions. I have not checked civilian relations, so it is possible there is an issue there as well.

Additional Information

This affects both stable and dev branch. Originally noticed on dev branch and changed to stable to check.

Event Timeline

DasAttorney edited Additional Information. (Show Details)
DasAttorney set Category to Engine.
DasAttorney set Reproducibility to Always.
DasAttorney set Severity to None.
DasAttorney set Resolution to Open.
DasAttorney set Legacy ID to 176202572.May 7 2016, 5:34 PM
Bohemia added a subscriber: AD2001.Dec 3 2013, 8:40 PM

doartilleryfire doesn't work in general. arty just twitches and doesn't shoot at anything

EDIT: mag name appears to be case sensitive