AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Goomba Stomp (2.0.2) (https://forums.alliedmods.net/showthread.php?t=111893)

Flyflo 12-15-2009 05:48

[ANY] Goomba Stomp (2.0.3)
 


:arrow:Summary:
This plugin enables you to instant kill players by falling on their head.

Some videos of the plugin in action :
http://www.youtube.com/watch?v=szmJZfhHGOQ
http://www.youtube.com/watch?v=cWaogg3IDdc
http://www.youtube.com/watch?v=Af1u9vKgW4I
http://www.youtube.com/watch?v=jFagZfswL0Q
http://www.youtube.com/watch?v=2sKOQ8jnXBQ
http://www.youtube.com/watch?v=QDaQrd_YxWg
http://www.youtube.com/watch?v=3lZkZn4UDFc
http://www.youtube.com/watch?v=tkDvL4O43pE

:arrow: What's new ?

Version 2.0.0:
Natives and forward to enable other plugins to interact with it.
The plugin now comes in several parts:
- The core plugin, required to enable the stomp functionalities.
- Addons to make it work on different games.


:arrow: Core cvars :

Code:

- goomba_enabled 1/0 (default 1) : Plugin On/Off
- goomba_minspeed (default 360, minimum 0) : Minimum fall momentum to trigger the stomp.
- goomba_rebound_power (default 300, minimum 0) : Stomp rebound power
- goomba_sounds 1/0 (default 1) : Enable or disable sounds of the plugin
- goomba_particles 1/0 (default 1) : Enable or disable stomp particles.

- goomba_dmg_lifemultiplier (default 1) : How much damage the victim will receive based on its actual life.
- goomba_dmg_add (default 50) : Add this amount of damage after goomba_dmg_lifemultiplier calculation.

:arrow: The immunity system (require Clientprefs) :

If the immunity cvar (goomba_immunity) is set to 1, you can use those commands (in the console):
- goomba_status print your actual immunity setting in the console.
- goomba_toggle toggle your immunity setting.
- goomba_on disable immunity.
- goomba_off enable immunity.
An immune player can't be stomped but also can't stomp.
Immunity changes take effect on respawn or when you touch a resupply locker (TF2).
:arrow: Stomp damage calculation :
The inflicted damage are controlled by two cvars (goomba_dmg_lifemultiplier and goomba_dmg_add) and follow this formula:
Effective damage = (Victim's actual life * goomba_dmg_lifemultiplier) + goomba_dmg_add
:arrow: Installation :
Copy the addons and sound folder from the archive to the root of your server. The fastdownload folder only useful if you have a fastdownload server (sv_downloadurl).
The config file is automatically generated.
Require SDKHooks
:arrow: Changelog :
Spoiler

https://github.com/Flyflo/SM-Goomba-...ster/CHANGELOG

:arrow: Game specific addons:

TF2 is the only game fully supported at the moment, CS:S and L4D version are much or more proof of concept (just put the smx file in the plugins folder).

TF2 Cvars :
Code:

- goomba_cloak_immun 1/0 (default 1) : Prevent cloaked spies from stomping
- goomba_cloaked_immun 1/0 (default 0) : Prevent cloaked spies from being stomped
- goomba_stun_immun 1/0 (default 1) : Prevent stunned players from being stomped
- goomba_uber_immun 1/0 (default 1) : Prevent ubercharged players from being stomped
- goomba_undisguise 1/0 (default 1) : Undisguise spies after stomping
- goomba_immunity 1/0 (default 0) : Enable or disable the immunity system.

Downloads:
Goomba Core 2.0.3
Goomba TF2 1.1.1
Goomba CS:S 1.0.2
Goomba L4D 1/2 1.0.2
Sources here and here.


A big part of the plugin is inspired from other plugins such as: RMF Ability Pack, False Item + Achievements, Pyro++
Thanks to their authors :up:

remuald 12-15-2009 08:36

Re: [TF2] Goomba Stomp (1.0.3)
 
thx, good work ;)

onlyamd 12-15-2009 15:31

Re: [TF2] Goomba Stomp (1.0.3)
 
oooooooo, been waiting for this for some time. Is it stable? Played it on 2fort2furious servers in my earlier days and it seemed to cause some issues.

Flyflo 12-15-2009 16:16

Re: [TF2] Goomba Stomp (1.0.3)
 
It's not the same plugin. We're using it on our server since 3 months without any problem.

onlyamd 12-15-2009 17:16

Re: [TF2] Goomba Stomp (1.0.3)
 
Anyone try this in sm 1.3? Also, how do we add people to the immunity system? Lastly could you elaborate on the jump_pow?

Thanks so much, looking forward to this when I get home.

Flyflo 12-15-2009 18:14

Re: [TF2] Goomba Stomp (1.0.3)
 
The jump_pow cvar control the power of the rebound after the stomp, setting it to a higher value will result in a higher rebound.

For the immunity system, you have to use the sm_goomba_toggle command in your console to change your preferences (immunity disabled by default).
Use sm_goomba_status command at any time to know your actual setting.

onlyamd 12-15-2009 19:00

Re: [TF2] Goomba Stomp (1.0.3)
 
I understand now. I had some testers messing with it on my servers and all is well on 1.3 - Excellent job man!

drwhooo 12-17-2009 07:56

Re: [TF2] Goomba Stomp (1.0.3)
 
For some reason the old one didnt work for me... (prolly user error). New one works great though :)

psychonic 12-17-2009 08:32

Re: [TF2] Goomba Stomp (1.0.3)
 
@Flyfo

You can use Sourcemod's MaxClients constant in place of your "new maxplayer = GetMaxClients()". Also, there is no benefit to using decl instead of new when declaring non-arrays.

Flyflo 12-20-2009 08:15

Re: [TF2] Goomba Stomp (1.0.3)
 
Thanks for the advice, I updated the attachment with the modifications.


All times are GMT -4. The time now is 05:41.

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