Raised This Month: $52 Target: $400
 13% 

[CS:GO] Snowball


Post New Thread Reply   
 
Thread Tools Display Modes
Author
boomix
Senior Member
Join Date: May 2015
Location: Latvia
Plugin ID:
5449
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Snowball plugin for CS:GO
    Old 12-17-2016 , 16:32   [CS:GO] Snowball
    Reply With Quote #1



    This is small plugin that replaces decoy model with snowball model. Models may not seem to work very perfect, because they are from garrysmod











    Config file: cfg/sourcemod/snowball.cfg
    • sm_EnableSnowballTrail
    • sm_GiveAnotherSnowballAfterThrow
    • sm_SnowballHitDamage
    • sm_SnowballHitPlayerType
    • sm_SpawnSnowballOnPlayerSpawn
    • sm_TimeToGiveSnowballAfterThrow
    • sm_SnowballEnable
    • sm_SnowballUnfreezeTime
    • sm_SnowballEnableOnlyWarmup

    Explantion for each cvar in the config file!

    I have also added one event for developers, if they want to do something with the guy who hit someone or who was hitted: Snowball_HitPlayer(int client, int attacker).












    1. Download & put files from sendproxy
    2. Download snowball files & put them in server
    3. Restart server
    4. Configure convars in cfg/sourcemod/snowball.cfg





    Lord Cheaterfield: some ideas and helping to test this.
    No idea: for making this snowball model in garrysmod.





    Attached Files
    File Type: 7z Snowball plugin.7z (3.88 MB, 678 views)
    __________________

    Last edited by boomix; 12-17-2016 at 16:37.
    boomix is online now
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 12-17-2016 , 16:35   Re: [CS:GO] Snowball
    Reply With Quote #2

    Great plugin my friend, everything works perfect, hopefully you'll create another type that leaves a "Snowman" where someone got killed by a Snowball and also you could add some feactures for VIP that allows them to get another Snowball faster than the other users!

    Keep up the good work m8
    Lannister is offline
    Sw00p
    Member
    Join Date: Nov 2013
    Location: Sweden
    Old 12-17-2016 , 18:20   Re: [CS:GO] Snowball
    Reply With Quote #3

    Thanks for plugin!

    Plugin can be tested on my xmas server: gavlemg.org:27015 (Only warmup)
    __________________
    Sw00p is offline
    Send a message via Skype™ to Sw00p
    Divin12
    Senior Member
    Join Date: Nov 2011
    Old 12-18-2016 , 02:17   Re: [CS:GO] Snowball
    Reply With Quote #4

    Plugin work very well. Nice gloves with this plugin)) it work))
    EDIT: After I used this plugin I have some problems, arms and weapons are invisible sometimes but it still exist and you cand shoot. Any help?
    __________________

    Last edited by Divin12; 12-18-2016 at 07:04.
    Divin12 is offline
    ImACow
    AlliedModders Donor
    Join Date: Feb 2015
    Old 12-18-2016 , 13:33   Re: [CS:GO] Snowball
    Reply With Quote #5

    RIP linux users

    https://forums.alliedmods.net/showpo...&postcount=317
    __________________
    ImACow is offline
    boomix
    Senior Member
    Join Date: May 2015
    Location: Latvia
    Old 12-18-2016 , 14:46   Re: [CS:GO] Snowball
    Reply With Quote #6

    Quote:
    Originally Posted by ImACow View Post
    Nope, for me it's working fine on linux.
    __________________
    boomix is online now
    Divin12
    Senior Member
    Join Date: Nov 2011
    Old 12-18-2016 , 14:52   Re: [CS:GO] Snowball
    Reply With Quote #7

    One more bug, if you want to knife one person and you just droped snowball when plugin give to you snowball knife is changed with snowball(decoy).
    __________________
    Divin12 is offline
    ImACow
    AlliedModders Donor
    Join Date: Feb 2015
    Old 12-19-2016 , 05:47   Re: [CS:GO] Snowball
    Reply With Quote #8

    Asides from the amazing plugin.

    Some tips.

    Change the "Handle" to "Convar" so the methodmaps are available.

    Code:
    ConVar SnowballEnable;
    ConVar SpawnSBOnPlayerSpawn;
    ConVar GiveAnotherSnowball;
    ConVar TimeToGiveSnowball;
    ConVar EnableSnowballTrail;
    ConVar SnowballHitPlayer;
    ConVar SnowballHitDamage;
    ConVar HitUnfreezetime;
    ConVar WarmupOnlyEnable;
    Code:
    public void UpdateConvars()
    {
    	b_PluginEnable 			= SnowballEnable.BoolValue;
    	b_SpawnSnowBall 		= SpawnSBOnPlayerSpawn.BoolValue;	
    	b_GiveAnotherBall 		= GiveAnotherSnowball.BoolValue;
    	fl_TimeToGiveSnowball 	= TimeToGiveSnowball.FloatValue;
    	b_EnableTrail			= EnableSnowballTrail.BoolValue;
    	i_SnowballHitPlayer 	= SnowballHitPlayer.IntValue;
    	i_SnowballDamage 		= SnowballHitDamage.IntValue;
    	f_UnfreezeTime 			= HitUnfreezetime.FloatValue;
    	b_OnlyWarmupEnable 		= WarmupOnlyEnable.BoolValue;
    }
    __________________

    Last edited by ImACow; 12-19-2016 at 05:49.
    ImACow is offline
    ImACow
    AlliedModders Donor
    Join Date: Feb 2015
    Old 12-19-2016 , 05:58   Re: [CS:GO] Snowball
    Reply With Quote #9

    Also got 2 crashes from it.?
    https://crash.limetech.org/7ahxufyz5owg
    https://crash.limetech.org/pnckvx7yyb7c
    __________________
    ImACow is offline
    Unbelievable
    Senior Member
    Join Date: Jan 2016
    Old 12-20-2016 , 12:57   Re: [CS:GO] Snowball
    Reply With Quote #10

    Hope the bugs can get sorted would love this.

    Good job with this plugin.
    __________________

    Last edited by Unbelievable; 12-20-2016 at 12:58.
    Unbelievable 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 05:22.


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