Raised This Month: $51 Target: $400
 12% 

[REQ][TF2] Drop active weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sreaper
髪を用心
Join Date: Nov 2009
Old 07-20-2015 , 23:05   [REQ][TF2] Drop active weapon
Reply With Quote #1

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?

Last edited by Sreaper; 07-21-2015 at 00:23.
Sreaper is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 07-21-2015 , 00:13   Re: [REQ][TF2] Drop active weapon
Reply With Quote #2

https://www.sourcemodplugins.org/smlib/
headline is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 07-21-2015 , 00:21   Re: [REQ][TF2] Drop active weapon
Reply With Quote #3

Quote:
Originally Posted by Headline22 View Post
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.

Last edited by Sreaper; 07-21-2015 at 01:14.
Sreaper is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 07-21-2015 , 04:29   Re: [REQ][TF2] Drop active weapon
Reply With Quote #4

Quote:
Originally Posted by Sreaper View Post
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 View Post
Erhm ? SMLIB have a stock for that ? CS, yes, but TF2 ?
__________________
Want to check my plugins ?

Last edited by Arkarr; 07-21-2015 at 04:32.
Arkarr is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-21-2015 , 11:45   Re: [REQ][TF2] Drop active weapon
Reply With Quote #5

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).
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 07-22-2015 , 01:27   Re: [REQ][TF2] Drop active weapon
Reply With Quote #6

Quote:
Originally Posted by Powerlord View Post
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.
Potato Uno is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:52.


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