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

Vehicle brain improvements #432

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

nk3nny
Copy link
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 3 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
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.

3 participants