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

Set default weapon on pickup #1443

Closed
lahm86 opened this issue Aug 14, 2024 · 3 comments · Fixed by #1445
Closed

Set default weapon on pickup #1443

lahm86 opened this issue Aug 14, 2024 · 3 comments · Fixed by #1445
Labels
Feature New functionality TR1
Milestone

Comments

@lahm86
Copy link
Collaborator

lahm86 commented Aug 14, 2024

If Lara picks up a gun that's not the pistols, it should (perhaps optionally) become the default gun.
See #1442 (review)

I'm not sure that this is a bug, rather a missing feature from OG.

@lahm86 lahm86 added Feature New functionality Priority: low labels Aug 14, 2024
@Richard-L
Copy link
Collaborator

Maybe a dumb question, but what is a "default gun"?

I guess the pistolless state of Lara is so seldom in the game that I'm unaware of the dynamic you've described in the linked PR.

If she has other weapons than pistols (this being a scenario a player really has to force to happen), and then pressing equip, she won't equip anything unless a weapon is first chosen from the inventory?

@lahm86
Copy link
Collaborator Author

lahm86 commented Aug 14, 2024

Yes, so if you collect the uzis for example but don't have pistols, and then press your draw guns input, nothing will happen. So the idea would be that in this scenario, the engine would make the uzis the "pre-selected" gun, so you could draw them with the input key rather than having to select manually.

@Richard-L
Copy link
Collaborator

That makes a lot of sense and is a nice idea. I guess more so for TRLEs than the game itself this would be relevant.

So it would mean the last picked up weapon showing in the holster, or none in the holster if only the shotgun is on Lara's back, and then hitting equip would make her equip either what's in the holster, or the shotgun (?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New functionality TR1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants