Plugin enabled check moved to be more efficient. CPrintToChatAllEx used instead of CPrintToChatAll, less code and less translation for the same result :) Minor optimisations and code changes (thx exvel and psychonic) : - MaxClients used instead of GetMaxClients() Use of exvel's Colors include for colored translations. Translations updated and improved (better customization). sm_goomba_ff cvar added, you can now stomp your teammates (mp_friendlyfire = 1 required). Use of DealDamage() instead of dhTakeDamage(), Dukehacks is no longer required. Added a new immunity system (require clientprefs). Fixed a little bug with the sound fonctions. Added sm_goomba_sounds to control if the plugin plays sounds or not. The config file is automatically generated. The fastdownload folder only useful if you have a fastdownload server (sv_downloadurl). Stomp damage calculation : The inflicted damage are controlled by two cvars ( goomba_dmg_lifemultiplier and goomba_dmg_add) and follow this formula:Įffective damage = (Victim's actual life * goomba_dmg_lifemultiplier) + goomba_dmg_add Installation : Copy the addons and sound folder from the archive to the root of your server. Immunity changes take effect on respawn or when you touch a resupply locker (TF2). goomba_toggle toggle your immunity setting.Īn immune player can't be stomped but also can't stomp. goomba_status print your actual immunity setting in the console. If the immunity cvar (goomba_immunity) is set to 1, you can use those commands (in the console): The immunity system (require Clientprefs) : goomba_dmg_add (default 50) : Add this amount of damage after goomba_dmg_lifemultiplier calculation. goomba_dmg_lifemultiplier (default 1) : How much damage the victim will receive based on its actual life. goomba_particles 1/0 (default 1) : Enable or disable stomp particles. goomba_sounds 1/0 (default 1) : Enable or disable sounds of the plugin goomba_rebound_power (default 300, minimum 0) : Stomp rebound power goomba_minspeed (default 360, minimum 0) : Minimum fall momentum to trigger the stomp.
0 Comments
Leave a Reply. |