AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Bot Drop Weapons (https://forums.alliedmods.net/showthread.php?t=310625)

eyal282 09-12-2018 10:46

[CS:GO] Bot Drop Weapons
 
1 Attachment(s)
Probably good for competitive servers and I made this plugin out of boredom. I recalled how competitive plays the bot gets an awp and he either gifts it to the other team, or if at best case scenario he's taken over, he has NO NADES, NO ARMOUR, ABSOLUTELY NOTHING!

Take note that Valve regards MP7 and MP5-SD as the same classname, IDK how to bypass it at the moment so if you make a bot drop MP5-SD ( and I think M4A1-S as well ) it will write M4A4 and MP7.

Press "E" on the bot to force him to drop his weapon. Your team will be notified of it happening so griefing is out of option.

If the bot has a bomb, it will be dropped as usual instead of the weapon. If something has the capability of blocking bomb dropping with "E", weapon drop will be allowed as usual ( in case of plugin collisions or afk bots with bot_stop 1 or anything )

mug1wara 09-12-2018 10:52

Re: [CS:GO] Bot Drop Weapons
 
:bacon!::bacon!::bacon!:

Vaggelis 09-12-2018 11:03

Re: [CS:GO] Bot Drop Weapons
 
Good plugin, about the griefing thing, you can add a timer that will block that spam.
Also about the WeaponsTrie, why not just get the classname and remove the weapon_ and just print it :D?

eyal282 09-12-2018 11:56

Re: [CS:GO] Bot Drop Weapons
 
Quote:

Originally Posted by Vaggelis (Post 2614889)
Good plugin, about the griefing thing, you can add a timer that will block that spam.
Also about the WeaponsTrie, why not just get the classname and remove the weapon_ and just print it :D?

It will make AWP into awp, AK-47 into ak47, P2000 into hkp2000...

About the griefing, I think you're right. And also allow spamming E to take bomb by adding a 2 second interval between taking bomb, and 5 second between after the bot drops his weapon.

eyal282 09-12-2018 12:40

Re: [CS:GO] Bot Drop Weapons
 
Updated to version 1.1

Added a bomb delay defaulting at 1.2 seconds.

Added a spam delay defaulting at 5.0.

Spamming "E" will spam the client's own chat but who cares :D. Don't grief pl0x.

Vaggelis 09-12-2018 13:27

Re: [CS:GO] Bot Drop Weapons
 
I forgot to say that you have added at WeaponsTrie pistols, nades etc... but they will not be used, the bots will only drop their primary weapons.

eyal282 09-12-2018 14:12

Re: [CS:GO] Bot Drop Weapons
 
Quote:

Originally Posted by Vaggelis (Post 2614915)
I forgot to say that you have added at WeaponsTrie pistols, nades etc... but they will not be used, the bots will only drop their primary weapons.

Maybe in the future. It's only in plugin start so I might just comment them out.


All times are GMT -4. The time now is 06:20.

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