nk3nny / LambsDanger

AI enhancement mod for Arma 3
Other
104 stars 40 forks source link

Restructure v2.5 #111

Closed jokoho48 closed 3 years ago

jokoho48 commented 4 years ago

The Restructure is meant to clean the file/code structure and move functions that are not just used by one Module and are not module specific into the main module. while that we also should clean and move duplicated stringtable entries into main to keep the stringtables as small as possible.

Functions

Settings

Stringtable

nk3nny commented 4 years ago

Stringtalbe ;)

Lets do a team speak meeting

nk3nny commented 4 years ago

From meeting

  1. Look into adding relevant ACE3 animations when available (for gestures and so on)
  2. Consider also restructuring fsm
  3. Suppressive fire module
  4. Supportive CAS
  5. Initial AI profiles (Forward Observer, Recon, Militia/Rebels)
  6. Add option for 'autonomous reorganisation' i.e., autonomous formation changes
  7. Add close autonomous manoeuvres for seizing nearby buildings
  8. Look into adding post-battle assessment stage
nk3nny commented 4 years ago

With restructure consider renaming:

Thoughts?

nk3nny commented 4 years ago

Reminder for self:

Consider implementing a mod-wide disabling of enableAttack to give us better fine control of AI attack patterns. Units with the currentCommand "ATTACK" become wildly moody and difficult to manoeuvre with.

This would be an invasive change.

https://community.bistudio.com/wiki/enableAttack https://community.bistudio.com/wiki/currentCommand

nk3nny commented 4 years ago

Memo to self: Possibly add a CBA setting which stops units given WP/Modules from changing ACE3 style headless locality swapping.

this setVariable ["acex_headless_blacklist", true];

https://ace3mod.com/wiki/frameworkx/headless-framework.html

nk3nny commented 4 years ago

Add module which give a group the vanilla guard waypoint (and whatever enhancements we can provide or add to it). Possibly adding a second module to define new guard positions.

nk3nny commented 4 years ago

Small bugs:

Suppression Units are currently very suppression-happy. Will consider changing brainEngage to only allow "Can Fire" to trigger doSuppression, rather than also "Enemy Near".

Have noticed AI will sometimes suppress quite happily at nothings. Though this may be related to other features.

lambs_danger_CQB The group variable "lambs_danger_CQB" is I think poorly named. A better reflection of it being a sympathetic storeroom of positions to check or suppress would be "lambs_danger_memory" or similar. Perhaps write a function which makes reading and modifying the variable easier.

nk3nny commented 3 years ago

Todo

Found bugs - 08.02.21

Discarded Add settings for groupMemory feature <-- will require a restructure of a host of other features for very small gains.

nk3nny commented 3 years ago

https://github.com/nk3nny/LambsDanger/pull/174

nk3nny commented 3 years ago

Internal variable name change: lambs_main_isArtillery