AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO][Retakes] MyWeaponAllocator (v2.2 - 20/08/18) (https://forums.alliedmods.net/showthread.php?t=309217)

shanapu 07-17-2018 17:57

[CS:GO][Retakes] MyWeaponAllocator (v2.2 - 20/08/18)
 
3 Attachment(s)
Rate Thread https://forums.alliedmods.net/images/misc/menu_open.svghttps://forums.alliedmods.net/images...g/rating_5.svg


MyWeaponAllocator for splewis Retakes


This weapon allocator simulates different kinds of rounds - FULLBUY, FORCEBUY, PISTOL & (DEAGLE).

These rounds will be set through two different modes.
- Ascending rounds (mywa_rounds_chance 1) - first x rounds will be PISTOL, then x FORCEBUY rounds after that x FULLBUY rounds.
- Random rounds by chance (mywa_rounds_chance 0) - It's a random chance to play FULLBUY, FORCEBUY, PISTOL & DEAGLE rounds in no special order.

DEAGLE rounds are only available on random rounds (mywa_rounds_chance 0) & don't give grenades.

Players can choose their preferred weapons for these rounds through !gun menu.

The plugin will give equipment (grenades, armor & kit) in these rounds based on the configured money, mode & max amount of grenades.



Take a look at the configuration for a better understanding.

ConVars
Spoiler


Required plugins
ChangeLog
Quote:

v2.2
  • added MP5-SD
v2.1
  • fixed error, thx ramonberrutti
  • 'fr' - translation, thx Cripix
v2.0
  • public release

Credits :bacon!:
Leeter & xooni for the idea, commissioning & testing! Thx for share!
Big thanks @splewis for his great work on retakes!
Also big thanks to all sourcemod & metamod developers out there!

Include file for compile

Installation
Quote:

  1. MyWeaponAllocator.smx -> addons/sourcemod/plugins/
  2. MyWeaponAllocator.phrases.txt -> addons/sourcemod/translations/
  3. MyWeaponAllocator.sp -> addons/sourcemod/scripting/ (optional)
  4. Config file sourcemod/retakes/MyWeaponAllocator.cfg will be generated after first startup
  5. Have Fun! Give feedback!


Github
https://github.com/shanapu/MyWeaponAllocator


You like my work for the community? Buy me a beer! https://www.paypalobjects.com/websta...aypal-26px.png

mug1wara 07-17-2018 18:09

Re: [Retake] MyWeaponAllocator (v2.0 - 17/07/18)
 
blyat-ieful

Maxximou5 07-17-2018 18:26

Re: [Retake] MyWeaponAllocator (v2.0 - 17/07/18)
 
Great release!

If I may make a few suggestions...
Spoiler

shanapu 07-17-2018 18:41

Re: [Retake] MyWeaponAllocator (v2.0 - 17/07/18)
 
Quote:

Originally Posted by Maxximou5 (Post 2604376)
Great release!

If I may make a few suggestions...
Spoiler

Of course! All kinds of suggestions/reviews are welcome!

Thanks for the advice!
I added the [CS:GO] tag and corrected the retakeS also on my other retakes plugins.

But I have already added 4630 (Plugin ID) & also tried the thread ID you recommend. I suppose this feature might be broken or outdated, like cvar & version tag - at least for csgo.

splewis 07-18-2018 00:10

Re: [Retake] MyWeaponAllocator (v2.0 - 17/07/18)
 
Quote:

Originally Posted by Maxximou5 (Post 2604376)
As it's not retake, but retakes.

People calling it 'retake' is actually one my pet peeves haha :)

Maxximou5 07-18-2018 00:17

Re: [CS:GO][Retakes] MyWeaponAllocator (v2.0 - 17/07/18)
 
Quote:

Originally Posted by shanapu (Post 2604378)
Of course! All kinds of suggestions/reviews are welcome!

Good work, and happy to help! Don't know about the ID's not working but at least it's added haha. :bacon!:
Quote:

Originally Posted by splewis (Post 2604405)
People calling it 'retake' is actually one my pet peeves haha :)

When people ask me about the 'retake' plugin, I always reply with, "Never heard of it, but if it's anything like retakes, absolutely".

die_man 07-24-2018 18:42

Re: [CS:GO][Retakes] MyWeaponAllocator (v2.0 - 17/07/18)
 
Players sometimes didn't get any weapon (knife, pistol or primary).

@Edit
Code:

L 07/25/2018 - 18:34:28: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 07/25/2018 - 18:34:18: [SM] Blaming: MyWeaponAllocator.smx
L 07/25/2018 - 18:34:18: [SM] Call stack trace:
L 07/25/2018 - 18:34:18: [SM]  [0] ConVar.IntValue.get
L 07/25/2018 - 18:34:18: [SM]  [1] Line 804, D:\Code\MyWeaponAllocator\scripting\MyWeaponAllocator.sp::EquipWeapons
L 07/25/2018 - 18:34:18: [SM]  [2] Line 462, D:\Code\MyWeaponAllocator\scripting\MyWeaponAllocator.sp::EquipAllPlayerWeapon
L 07/25/2018 - 18:34:18: [SM]  [3] Line 437, D:\Code\MyWeaponAllocator\scripting\MyWeaponAllocator.sp::Event_RoundStart


shanapu 07-26-2018 09:28

Re: [CS:GO][Retakes] MyWeaponAllocator (v2.0 - 17/07/18)
 
Quote:

Originally Posted by die_man (Post 2605977)
Players sometimes didn't get any weapon (knife, pistol or primary).

@Edit
Code:

L 07/25/2018 - 18:34:28: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 07/25/2018 - 18:34:18: [SM] Blaming: MyWeaponAllocator.smx
L 07/25/2018 - 18:34:18: [SM] Call stack trace:
L 07/25/2018 - 18:34:18: [SM]  [0] ConVar.IntValue.get
L 07/25/2018 - 18:34:18: [SM]  [1] Line 804, D:\Code\MyWeaponAllocator\scripting\MyWeaponAllocator.sp::EquipWeapons
L 07/25/2018 - 18:34:18: [SM]  [2] Line 462, D:\Code\MyWeaponAllocator\scripting\MyWeaponAllocator.sp::EquipAllPlayerWeapon
L 07/25/2018 - 18:34:18: [SM]  [3] Line 437, D:\Code\MyWeaponAllocator\scripting\MyWeaponAllocator.sp::Event_RoundStart


Thanks for the report!

Thanks ramonberrutti for fixing.

shanapu 08-20-2018 11:28

Re: [CS:GO][Retakes] MyWeaponAllocator (v2.1 - 26/07/18)
 
Update v2.2

Added MP5-SD

die_man 09-20-2018 00:53

Re: [CS:GO][Retakes] MyWeaponAllocator (v2.2 - 20/08/18)
 
Hi,
How I can make a Retakes server only pistols with your weapon allocator?


All times are GMT -4. The time now is 17:45.

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