Skip to content

Vehicle brain improvements#432

Merged
nk3nny merged 6 commits intomasterfrom
Vehicle-brain-improvements
Oct 9, 2025
Merged

Vehicle brain improvements#432
nk3nny merged 6 commits intomasterfrom
Vehicle-brain-improvements

Conversation

@nk3nny
Copy link
Copy Markdown
Owner

@nk3nny nk3nny commented Jan 13, 2025

Many additions to vehicle brain centered around three common themes:

  • Improve vehicle combat and interractions
  • Rearranging dead crew to improve vehicle command
  • Allow mortars to do dynamic close support

Added mortars support nearby units with Smoke, Flares and HE
Added Tanks/APC/IFVs will rearrange crew to prioritise guns
Added ability for Tracked vehicles to rearrange crew (even when fleeing)
Added ability for crew to jump out of soft-skinned vehicles and man mounted weapons
Added ability for crew of soft-skinned vehicles to jump out to defend themselves
Added callouts/vocalization to many vehicle interactions
Added more chances for vehicles to share information

Improved APC/IFV vehicle dismounts more reliable
Improved vehicle rotate on tracked vehicles with 'sendSimpleCommand'
Improved logic of crew abandoning vehicles to take into account more variables (fuel, weapons, etc)
Improved hiding ability of fleeing infantry
Improved readability of vehicle code

Fixed cases where incapacitated gunners still turned turrets
Fixed stupid bug where dangerPos was not properly updated in brainVehicle.sqf
Fixed bug where banners were often hidden on some vehicles in debugDraw

Added mortars support nearby units with Smoke, Flares and HE
Added more chance for vehicles to share information
Added Tanks/APC/IFVs will rearrange crew to priorititise guns
Added ability for crew to jump out of soft-skinned vehicles and man mounted weapons
Added ability for crew of soft-skinned vehicles to jump out to defend themselves
Added callouts/vocalization to many vehicle interactions
Added ability for Tracked vehicles to rearrange crew (even when fleeing)
Improved APC/IFV vehicle dismounts more reliable
Improved vehicle rotate on tracked vehicles with 'sendSimpleCommand'
Improved hiding ability of fleeing infantry
Improved readability of various code
Fixed cases where incapacitated gunners still turned turrets
Fixed _stupid_ bug where dangerPos was not properly updated in brainVehicle.sqf
Fixed bug where banners were often hidden on some vehicles in debugDraw
nk3nny and others added 5 commits January 15, 2025 18:26
Performance improvements by @rautemiekka

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Fixed missing lazy eval
Removed unnecessary 'private' tag.
Added Vehicle Assault pattern. Allows armored vehicles to hunt down other vehicles or certain infantry

Fixed vehicle in "ATTACK" stance getting stuck on targets
Fixed mortar attacking air targets
Fixed vehicles never calling tactics state (especially if group leader and vehicle commander were not identical)
Fixed vehicles getting "stuck" in combat dismounting
Fixed cases where doVehicleRotate would not correctly trigger

Improved balance of mortar rate of fire
Improved many cases where debug information were not assigned to vehicle commander
Allow units to temporarily dismount vehicles to protect them
@nk3nny nk3nny merged commit c9ea50a into master Oct 9, 2025
4 checks passed
@nk3nny nk3nny deleted the Vehicle-brain-improvements branch October 9, 2025 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants