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

Allow executing npc_pilot_elite NPCs #888

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

NachosChipeados
Copy link
Contributor

@NachosChipeados NachosChipeados commented Oct 2, 2024

Allows players to execute pilot NPCs. Since every mod that uses npc_pilot_elite NPCs for something (see Gruntmode) , also adds similar changes to this, i think it'd be nice to bring this change into Northstar officially.

Before:
https://github.com/user-attachments/assets/489cc6f1-bc9f-4254-88a5-c30c7e30f6d6

After:
https://github.com/user-attachments/assets/b1263242-c6e8-403d-941c-8bed822ef5cc

Also added missing gib + headshot fx, to prevent weirdness.

Before:
https://github.com/user-attachments/assets/d8874ab2-fdeb-48eb-9db8-10526770f717

After:
https://github.com/user-attachments/assets/33eca4fd-3ec4-49a7-805a-024093efd068

HOW TO TEST:

  1. Spawn a pilot NPC (ent_create npc_pilot_elite)
  2. Try to execute them. Without this pr, you'll just punch them. With this pr, you'll properly execute them as expected.

Know issues:

@github-actions github-actions bot added needs testing Changes from the PR still need to be tested needs code review Changes from PR still need to be reviewed in code labels Oct 2, 2024
Copy link
Contributor

@Alystrasz Alystrasz left a comment

Choose a reason for hiding this comment

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

I suspect the PR has side effects.

Without PR
pr_main.webm
With PR
pr_with_main.webm

@NachosChipeados
Copy link
Contributor Author

I haven't been able to recreate that in my end, so i'm not sure why it happens. Will investigate though

Titanfall.2.2024-10-06.18-12-31.mp4

@NachosChipeados
Copy link
Contributor Author

Yeah, i've got nothing. This pr doesn't modify their models or animations in any way, and i can't even repoduce the bug locally so i genuinely have no idea what's going on there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs code review Changes from PR still need to be reviewed in code needs testing Changes from the PR still need to be tested
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants