Raised This Month: $7 Target: $400
 1% 

[Multi-1v1] Heavy round


Post New Thread Reply   
 
Thread Tools Display Modes
Author
2Lynk
Junior Member
Join Date: May 2021
Location: Europe
Plugin ID:
7631
Plugin Version:
0.1.8
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A small plugin that adds a "Heavy" round to the Multi1v1 plugin
    Old 05-06-2021 , 02:50   [Multi-1v1] Heavy round
    Reply With Quote #1

    Heavy round for Multi1v1
    I could not find a plugin that added a "heavy" round to the Multi1v1 plugin by Splewis, so I made one

    A simple plugin that adds a "heavy" round to the multi1v1 plugin by Splewis. Players get the Heavy Assault Suit model with either an M249 or Negev and extra health + armor.

    Features
    • Adjust given health and armor to players
    • Choose if players get a M249 or Negev
    • Choose if players get a knife in the round

    Installation:
    1. Download the latest release.
    2. Put in csgo folder.

    Configuration:
    After launching your server with the plugin, the plugin will create a config file named multi1v1.heavy-rounds.cfg in your csgo/cfg folder. Change these settings to your liking.

    CVARS
    heavyRound_health sets the health given to players in a Heavy round, default 200
    heavyRound_armor sets the armor given to players in a Heavy round, default 200, this is the max! Pointless to set more...
    heavyRound_weapon sets the weapon given to the players. 0 = M249, 1 = Negev (default 0)
    heavyRound_knife sets if players will receive a knife, 0 = yes, 1 = no (default 0)

    To do
    Give players in the arena unlimited ammo

    Changelog
    Version: --- Description:

    0.1.0--------Created the plugin

    0.1.1--------Added the heavy armour

    0.1.2--------Changed given armor value to 200

    0.1.3--------Changed given health to 200

    0.1.4--------Added event on player death to remove the suit & reset player model

    0.1.5--------Added convars to set player health and armor << Maybe add a convar for setting the weapon? Perhaps...

    0.1.6--------[BUG FIX]: When players did not die during the round either one or both kept the Heavy Armor Suit model

    0.1.7--------Added convar to change config give players M249 or Negev

    0.1.8--------Added convar to select if players get a knife

    0.1.9--------Put HookEvent in OnPluginStart and filled g_sModel with the player current model before giving heavy armor suit (Thanks Cruze for your feedback! )


    Download latest


    Github
    https://github.com/2Lynk/multi1v1-heavy-round


    Feedback would be greatly appreciated since this is the first time I wrote a plugin.

    Last edited by 2Lynk; 05-06-2021 at 07:55.
    2Lynk is offline
    raj kaul
    Senior Member
    Join Date: Mar 2018
    Location: www.lotgaming.xyz
    Old 05-06-2021 , 02:53   Re: [Multi-1v1] Heavy round
    Reply With Quote #2

    nice release i will test asap and report you back
    thank you for the plugin
    __________________

    Last edited by raj kaul; 05-06-2021 at 02:53.
    raj kaul is offline
    Cruze
    Veteran Member
    Join Date: May 2017
    Old 05-06-2021 , 05:45   Re: [Multi-1v1] Heavy round
    Reply With Quote #3

    This is pretty dangerous I guess? Bc "g_sModel[iClient]" is defined but never set!
    and you should "HookEvent" OnPluginStart only imo.
    Other-wise good job
    __________________
    Taking paid private requests! Contact me
    Cruze is offline
    2Lynk
    Junior Member
    Join Date: May 2021
    Location: Europe
    Old 05-06-2021 , 07:45   Re: [Multi-1v1] Heavy round
    Reply With Quote #4

    You are right, it should be set before hand! That explained why the player model seemed to vanish after the round was over :')
    I also added the OnPluginStart to hook the even there!
    Great feedback! Thanks!

    I have updated the plugin and will update the post!
    __________________

    Last edited by 2Lynk; 05-06-2021 at 07:47.
    2Lynk is offline
    Reply


    Thread Tools
    Display Modes

    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 07:05.


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