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

Add support for assembling single-man statics #393

Open
rekterakathom opened this issue Apr 6, 2024 · 1 comment
Open

Add support for assembling single-man statics #393

rekterakathom opened this issue Apr 6, 2024 · 1 comment

Comments

@rekterakathom
Copy link
Contributor

Is your enhancement related to a problem?

The latest CDLC, Reaction Forces, adds the commando mortar, which is a self-contained portable mortar that can be deployed by a single unit. This means that the "assistant" is not required at all. The problem with LAMBS is that the current static deploying logic assumes that there are two bags (the weapon and the "base"). This is not true for the commando mortar ("assembleInfo" >> "base" is an empty string) and this is not accounted for in the code.

Solution you'd like:

lambs_main_fnc_doGroupStaticDeploy gets updated to take into consideration that the second bag can be unnecessary

Alternatives you've considered:

None

Additional context:

This could be made into a larger enhancement for static deploying in general. I don't see any logic that checks if a static should be deployed, currently they seem to do it if it's possible to do, even if it doesn't make any sense. It usually makes sense to deploy a HMG or GMG static, but deploying a static mortar when the enemy is in close proximity (or very few in number) does not make sense.

@nk3nny
Copy link
Owner

nk3nny commented Apr 6, 2024

I really like Reaction Forces (and the Camel DLC for that matter) and intend to look into it. Just haven't had the time. I have occasionally seen units deploy static weapons inside buildings too. Perhaps there is some simple fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants