AlliedModders

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

boomix 12-17-2016 16:32

[CS:GO] Snowball
 
1 Attachment(s)
http://i.imgur.com/E40Knt6.png

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



http://i.imgur.com/IIOva9q.png





http://i.imgur.com/Na4lxQ9.png

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).





http://i.imgur.com/hhp72rl.png

http://i.imgur.com/PBsqeVn.png



http://i.imgur.com/MZUQOSQ.png
  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



http://i.imgur.com/4LXBwd2.png

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



http://i.imgur.com/yvzQaDW.png

http://i.imgur.com/k9M4DF6.png

Lannister 12-17-2016 16:35

Re: [CS:GO] Snowball
 
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

Sw00p 12-17-2016 18:20

Re: [CS:GO] Snowball
 
Thanks for plugin!

Plugin can be tested on my xmas server: gavlemg.org:27015 (Only warmup)

Divin12 12-18-2016 02:17

Re: [CS:GO] Snowball
 
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?

ImACow 12-18-2016 13:33

Re: [CS:GO] Snowball
 
RIP linux users :(

https://forums.alliedmods.net/showpo...&postcount=317

boomix 12-18-2016 14:46

Re: [CS:GO] Snowball
 
Quote:

Originally Posted by ImACow (Post 2478826)

Nope, for me it's working fine on linux.

Divin12 12-18-2016 14:52

Re: [CS:GO] Snowball
 
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).

ImACow 12-19-2016 05:47

Re: [CS:GO] Snowball
 
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;
}


ImACow 12-19-2016 05:58

Re: [CS:GO] Snowball
 
Also got 2 crashes from it.?
https://crash.limetech.org/7ahxufyz5owg
https://crash.limetech.org/pnckvx7yyb7c

Unbelievable 12-20-2016 12:57

Re: [CS:GO] Snowball
 
Hope the bugs can get sorted would love this.

Good job with this plugin.


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

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