-
Notifications
You must be signed in to change notification settings - Fork 42
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
nk3nny
wants to merge
4
commits into
master
Choose a base branch
from
Vehicle-brain-improvements
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
This was referenced Jan 13, 2025
rautamiekka
suggested changes
Jan 14, 2025
diwako
reviewed
Jan 15, 2025
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Many additions to vehicle brain centered around three common themes:
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