Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Keybind to throw a frag grenade from a unit #117

Closed
CreepPork opened this issue Aug 8, 2019 · 9 comments · Fixed by #132
Closed

Feature Request: Keybind to throw a frag grenade from a unit #117

CreepPork opened this issue Aug 8, 2019 · 9 comments · Fixed by #132
Labels
feature Adds a new feature
Milestone

Comments

@CreepPork
Copy link
Member

Could be useful to attract player attention or scare them a bit. Or when you make a unit suicidal, I dunno but it could be useful.

@CreepPork CreepPork added the feature Adds a new feature label Aug 8, 2019
@BrettMayson
Copy link
Contributor

Could be similar to the ace suppressive fire? Select a unit and select a target location

@CreepPork
Copy link
Member Author

That would be a great solution to precisely throw the grenade but when implementing similar behavior in Achilles, I had difficulties getting what was a frag grenade and adding compatibility between other mods.

@BrettMayson
Copy link
Contributor

Could show a list of throwables in the AI inventory, that would also allow smoke and chemlights as options

@CreepPork
Copy link
Member Author

Could implement it to show the context menu but only with that entry only via a quick access shortcut but also providing the same functionality through the context menu.

@BrettMayson
Copy link
Contributor

Looked into doing this, unfortunately I could not find a way to throw at a position, or even a target object.

@CreepPork
Copy link
Member Author

Probably the best way to throw it where you would want to throw it is to force the unit to look that way and then use something like bis_fnc_fire and throw the smoke/frag there.

This is how Achilles does it (without the aiming though):
https://github.com/ArmaAchilles/Achilles/blob/master/%40AresModAchillesExpansion/addons/functions_f_achilles/functions/features/fn_LaunchCM.sqf

The biggest problem with this approach is some data is hardcoded and it isn't that overly compatible with other mods (they don't use the same config entries as BI does), I found it especially hard to determine what is and what isn't a frag/smoke from a unit's inventory while keeping it at least RHS compatible.

@Will-Nichols
Copy link

Why not just remote control the unit to toss frags, smoke, etc...?

That to me is the simplest way to accomplish what you are looking to do.

@CreepPork
Copy link
Member Author

Because it takes time. I’d rather press a button to make 50 units throw smoke rather me individually taking control of every single unit. Plus you have to reload Zeus everytime.

@Will-Nichols
Copy link

Never felt a need to have multiple units toss smoke because they do it on their own with VCOM in our missions. Also if I need them to have smoke then I call in an arty smoke barrage to give cover for large groups. But to each his own....might not be useful for some but others such as yourself would find it useful.

@mharis001 mharis001 added this to the 1.5.0 milestone Aug 24, 2019
@mharis001 mharis001 modified the milestones: 1.5.0, 1.6.0 Oct 6, 2019
@mharis001 mharis001 modified the milestones: 1.6.0, 1.7.0 Nov 7, 2019
@mharis001 mharis001 modified the milestones: 1.7.0, 1.8.0 Feb 21, 2020
@mharis001 mharis001 modified the milestones: 1.8.0, 1.9.0 Jun 3, 2020
@mharis001 mharis001 modified the milestones: 1.9.0, 1.10.0 Aug 13, 2020
@mharis001 mharis001 modified the milestones: 1.10.0, 1.11.0 Jan 15, 2021
@mharis001 mharis001 modified the milestones: 1.11.0, Backlog May 3, 2021
@mharis001 mharis001 modified the milestones: Backlog, 1.12.0 Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adds a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants