Alexandre Makina

Two weapons same category

Recommended Posts

There's no known scripts but this is possible through a script; infact I'll write one later.

Share this post


Link to post

Interesting resource. It will be useful.
But that's not exactly what I need ... In this feature the player has to give a command to pick up the weapons. If in case he acquiring otherwise the weapons do not appear in his standard menu.
I need a feature that when the player acquires a weapon, regardless of the shape, it stays with it even if it already has another of the same category and that appears in its menu in a common way, without commands.

Share this post


Link to post

It's possible to be scripted and it shouldn't be that complicated at all.

Share this post


Link to post
4 hours ago, Gengar said:

It's possible to be scripted and it shouldn't be that complicated at all.

 

Could possibly just use a table, and add / remove your weapon depending on where in the table you have selected. (Using scroll, and E / Q to select your weapon in that table)

  • Like 1

Share this post


Link to post
On 16/01/2017 at 22:34, Alexandre Makina said:

Interesting resource. It will be useful.
But that's not exactly what I need ... In this feature the player has to give a command to pick up the weapons. If in case he acquiring otherwise the weapons do not appear in his standard menu.
I need a feature that when the player acquires a weapon, regardless of the shape, it stays with it even if it already has another of the same category and that appears in its menu in a common way, without commands.

Thanks for checking out the script! The resource does have an export function (givePlayerWeapon) that you can use in your own script. The generic example is in the resource description. If you want it to affect pickup items, I think you need to get it to work with onClientPickupHit.

allweapons is just a quick demonstration & proof of concept for people like you to innovate and improve on it :P feel free to modify/copy it, good luck!

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.