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

[CS:GO] Random Gun Arena (v1.0.1, 2020-6-13)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Effeff
AlliedModders Donor
Join Date: Jan 2019
Location: discord: ff#0533
Plugin ID:
7159
Plugin Version:
1.0.1
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A variant of Gun Game
    Old 06-13-2020 , 06:25   [CS:GO] Random Gun Arena (v1.0.1, 2020-6-13)
    Reply With Quote #1

    Random Gun Arena Github

    A variant of Gun Game. Inspired by this thread: https://forums.alliedmods.net/showthread.php?t=313378 and thanks to CliptonHeist (The Doggy) for the original plugin and inspiration
    At the end of a round, a random gun is chosen, to be given to all players at the start of the following round.
    When a player kills another player, they receive full health and armor(depending on if there is armor for the current weapon).

    Video

    Changelog

    Code:
    1.0.1 - 
    Fixed sounds not working.
    Added hint text and ConVar to play sound when hint text stops changing. (See video above)
    ConVars

    PHP Code:
    rga_removetype (int min 0 max 2 default 2)
    "0 = Do not remove any weapons from pool. 1 = rga_removepreviousweapons. 2 = rga_removepreviousgroups. You cannot do both"

    rga_removepreviousweapons (int | default 0)
    "Max is 36. Number of weapons that must pass before most recent weapon can be repeated. You can write 'all' instead of 36"

    rga_removepreviousgroups (int | default 1)
    "Max is 7. Number of groups that must pass before most recent group can be repeated. You can write 'all' instead of 7."

    rga_printdamagemessages (bool | default 1)
    "When a client dies or survives to end of round, print the damage they dealt, received, and healed to chat"

    rga_playnextweaponsound (bool | default 1)
    "When the next weapon is chosen, a voice will read the name of the weapon" 
    Installation

    Go to github

    gameserver goes on your csgo server. move the addons and sound folders into your csgo folder.
    fastdl goes on your web server.

    Configuration

    In addons/sourcemod/configs/rga/weapons.txt you can edit a lot of things.

    Code:
    "Melee"
    {
    	"Knife"
    	{
    		"id"		"weapon_knife"
    		"weight"	"0.33"
    		"sound"		"rga/knife.mp3"
    		"armor"		"1"
    	}
    	"Zeus_x27"
    	{
    		"id"		"weapon_taser"
    		"weight"	"0.33"
    		"sound"		"rga/taser.mp3"
    		"armor"		"1"
    	}
    	"weight_override"	"-1.0"
    	"armor_override"	"-1"
    }
    1. Edit the "weight" of the gun, which is how likely it is to be selected randomly.
    2. Edit the sound that will play when the gun is chosen. By default, the sounds are done by someone we paid on fiver to read the names of the guns. If you want to remove the voices, set the sound to be ""
    3. Edit the armor that players will have when given this gun. 0 = no armor, 1 = body armor, 2 = body + head armor.
    4. Override the weights of all of the weapons in the weapon group and set them to the override value. "-1.0" means do not override.
    5. Override the armor that will be given to players in the weapon group and set them to the override value. "-1" means do not override.
    6. Remove guns from being used, by just removing their entry from weapons.txt

    Bugs
    None atm.

    Last edited by Effeff; 06-14-2020 at 00:40. Reason: bugfix
    Effeff 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 05:34.


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