Open arpiar69 opened 6 years ago
@arpiar69 Could you upload a repo mission with vanilla content?
With regards to the code, I think this is the area of interest: https://github.com/ALiVEOS/ALiVE.OS/blob/2ea20f468bea802bbe1c7fcddd9b3e6b1378412a/addons/sup_combatsupport/scripts/NEO_radio/fsms/transport.fsm#L210-L222
If so, it looks like all AI within the transport group are modified to not fire in any circumstance.
I'm not too familiar with how vehicle AI react under fire, but this might be done intentionally to prevent drivers from diverting from their route. Any changes will have to be mindful of this.
@the-star Hi there. We are thrilled with your interest in testing and fixing issues all things ALiVE related. We have a development Slack channel we’d like to invite you to if you’re interested. If so, please send me your email address (private conversation on ALiVE forums is fine, as is a PM on BI forums).
If not that’s ok too. Thanks the recent commits and replies to tickets.
This is one of many hacks to try and convince the AI to actually land. If you set the pilots to anything else they go into combat mode and will never land. Transports in combat zones should always have an escort (request a CAS heli to fly cover before bringing in the transport)
In theory, setting careless should be enough. Making the pilot do it's thing and the gunners firing their weapons.
Would the following work?
Work = driver does not divert from waypoint and lands under combat. Gunners and others in the pilot's group can do their own stuff including firing their guns.
I've done a quick test in the editor a couple of days ago and just setting the group to careless and removing the disableAI
bits should be good. https://youtu.be/CEH4Z6xzvBo
Thank you for all the message, I will try it all! I come back soon
@marceldev89, interesting. I'll do some testing myself to see if I can replicate it in various scenarios.
@arpiar69 could you try your tests again and ensure ROE for your transport is set to Fire? I think the issue here is Hold Fire is the default ROE in the tablet.
I am able to get the transport to fire when I change its ROE. The gunner AI may react a little slower but that might be due to disabling the AI FSM? I'm not entirely sure yet.
@marceldev89
I've done a quick test in the editor a couple of days ago and just setting the group to careless and removing the
disableAI
bits should be good. https://youtu.be/CEH4Z6xzvBo
Were any changes made to resolve this ticket? If not, are the appropriate changes known?
Prerequisites
Description
I am using a standard rhs uh 60 as a transport for my mission When the helicopter is called for an extraction and the enemy opens fire on the helicopter, the gunner does not shoot at the enemy, never The only way is to call the helicopter in CAS support or HYBRID in the init
Steps to Reproduce
Expected behavior: that the gunner opens fire
Actual behavior: the gunner does not open fire
Thank you in advance and hoping to find a solution :) Over