AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [REQ][TF2] Drop active weapon (https://forums.alliedmods.net/showthread.php?t=266850)

Sreaper 07-20-2015 23:05

[REQ][TF2] Drop active weapon
 
I think it would be neat to see a plugin that allows players to use a command such as /drop to drop their active weapon, removing it from their loadout. Is anyone here interested in making the plugin?

headline 07-21-2015 00:13

Re: [REQ][TF2] Drop active weapon
 
https://www.sourcemodplugins.org/smlib/

Sreaper 07-21-2015 00:21

Re: [REQ][TF2] Drop active weapon
 
Quote:

Originally Posted by Headline22 (Post 2322527)

Thanks for your reply. However as my post and the location of it suggests, I was expressing my interest in seeing someone with an interest create a plugin.
If I needed a lesson on how to script, I would have posted in the scripting section of the forum in which your reply would have been been useful.

Arkarr 07-21-2015 04:29

Re: [REQ][TF2] Drop active weapon
 
Quote:

Originally Posted by Sreaper (Post 2322508)
I think it would be neat to see a plugin that allows players to use a command such as /drop to drop their active weapon, removing it from their loadout. Is anyone here interested in making the plugin?

Sounds like a funny idea + it's kinda easy to script, I guess.

Actually, I want to do that, but I don't want to search which entity is created when someone die and 'drop' his wep.

Quote:

Originally Posted by Headline22 (Post 2322527)

Erhm ? SMLIB have a stock for that ? CS, yes, but TF2 ?

Powerlord 07-21-2015 11:45

Re: [REQ][TF2] Drop active weapon
 
Dropping weapons in TF2 works differently than in other games.

Having said that, psychonic already wrote the hard part. It just needs to be put into an actual plugin, and remove the weapon from the player dropping it (unless you really wanted to let them just create copies of the weapon they have).

Potato Uno 07-22-2015 01:27

Re: [REQ][TF2] Drop active weapon
 
Quote:

Originally Posted by Powerlord (Post 2322702)
Dropping weapons in TF2 works differently than in other games.

Having said that, psychonic already wrote the hard part. It just needs to be put into an actual plugin, and remove the weapon from the player dropping it (unless you really wanted to let them just create copies of the weapon they have).

You could spawn a copy of the dropped weapon using that, and then use one of the built-in TF2 natives to remove the player's weapon. The player would just be weapon-less until he/she dies or picks up another dropped weapon.


All times are GMT -4. The time now is 22:54.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.