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

SPE Compat - Add interaction anims to SPE vehicles #10226

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

johnb432
Copy link
Contributor

When merged this pull request will:

  • Adds Interaction - Add actions based on animations #6144 to SPE vehicles.
  • The number of tracks received from vehicles such as the Panther, Jagdpanther and Tiger is lower than the visual amount of tracks. The reason is a bit balancing (Tiger would be spawning in 26 Tracks, Panther & Jagdpanther would be 6), which imo is excessive.

IMPORTANT

  • If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
  • Development Guidelines are read, understood and applied.
  • Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

@johnb432 johnb432 added the kind/enhancement Release Notes: **IMPROVED:** label Aug 18, 2024
@johnb432 johnb432 added this to the 3.18.0 milestone Aug 18, 2024
class spare_fuel_hide_source: spare_fuel_hide_source {
positions[] = {{0.8, 1.25, -0.8}, {-0.8, 1.25, -0.8}, {0.8, 2.95, -0.8}, {-0.8, 2.95, -0.8}, {0.8, -1, -0.3}, {-0.8, -1, -0.3}};
items[] = { // 32x
"Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm worried about physx collisions,
we don't have to be exact on the number imho

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EFUNC(common,findUnloadPosition) handles finding an empty space. I'll test this more, but I don't think there's much of a reason to be worried.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ace_interaction_fnc_initAnimActions:

            // If 1 object was spawned in, consider it a success

also code will try to spawn as many as it can but won't fail if it can't find room for all of them

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, I changed it to work like that, because I'm not sure what to consider a success otherwise.

@johnb432 johnb432 changed the title Compat SPE - Add interaction anims to SPE vehicles SPE Compat - Add interaction anims to SPE vehicles Aug 21, 2024
@PabstMirror PabstMirror merged commit 82f5019 into master Aug 22, 2024
4 checks passed
@PabstMirror PabstMirror deleted the compat-spe-interaction-anims branch August 22, 2024 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Release Notes: **IMPROVED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants