Description :
Okay, this plugin can be totally funny (seeing a scout with a minigun isn't usual) and change gameplay.
It allows you to pickup weapons from killed ennemy.
Commands & Cvar :
No commands
No Cvar
Installation :
1) Put WeaponStealV2.smx (
DON'T USE THE 'OLD.zip'
ARCHIVE! Unless you want a old crappy version of this plugin) in your plugin folder : sourcemode/plugins
2) Restart server, reload map or reload plugins folder.
3) ???
4) Walk on a weapon and enjoy !
NOTE: You will need to install this plugin, otherwise, you won't be able to run mine.
If you want to compille it manually :
Require the library
tf2items_giveweapon and
kvizzle.
What I plan to do ?
- Sometimes, a wrong weapon is stealed (exemple : walk on a minigun, you will get 'Natasha')
- Let the user the choice of stealing a wep or not.
- Restrict to admins / donators ?
- Command and cvar
Request :
None for the moment... feel free to ask !
Logs :
3.0 : Fully rewrite all the plugin. Less code.
Old version of the plugin, I won't blame if you use it ;)
Spoiler
Description :
Okay, this plugin can be totally funny (seeing a scout with a minigun isn't usual) and change gameplay.
It allows you to pickup weapons from killed ennemy.
Of course there is 2 important Cvar to set the ammount of lols.
Bugs :
Status :
FIXED!
Quote:
Strange and stocks weapons can't be stealed, it block your weapon slot.
|
Status :
FIXED!
Quote:
Give weapons when picked up instead when killing the owner of weapon.
|
Status :
Under work... (~1 days)
Quote:
The weapon who can be stealed is the same after picking up any weapon until killing someone.
|
Status :
Under work... (~1 days)
Quote:
Weapon can be stealed when player get a ammo pack.
|
Commands & Cvar :
(Any command)
sm_auto_steal_weapons 2
--> Should be the weapons automatically stealed ? 1 = Yes 2 = Ask player before
sm_restric_class_weapons 2
--> Class restrict = Should the Scout's weapons only stealed by scouts ? 1 = Yes 2 = No
WARNING : putting the value of this Cvar to 2 can do a lot of bugs, exemple Scout isn't not supposed to use minigun from Heavy, that's why he have inivisble weapons. But it can totally change the gameplay. I hope I found a way to fix it.
Note : Medic can use enginner weapons (model of weapon visible) ?!
Installation :
1) Put WeaponSteal.smx in your plugin folder : sourcemode/plugins
2) Configure CVar using your server.cfg file.
3) Restart server, reload map or reload plugins folder.
If you want to compille it manually :
Require the library
tf2itemsinfo,
tf2items_giveweapon and
morecolors.
Request and think to do :
Nothing, feel free to ask !
Video & Screenshot :
When a scout stealed the fist of a Heavy :
Take a look at video :
Thanks to :
Chaosxk -->
https://forums.alliedmods.net/showpo...17&postcount=2
for is usefull help !
FlaminSarge -->
http://forums.alliedmods.net/showthread.php?p=1337899
for is usefull library !
* WARNING !
This is a pre-release, there is a lot of bugs and it's only for testing. See "bugs" sections for more explications about current bugs.
Use STABLE version of the plugin, this is th previous version and appear to work correctly.