[CS:GO] Suicide Bomber (v1.04, 30/07/2015)

Post Reply
User avatar
Andreeas
Hero Member
Hero Member
Posts: 601
Joined: Wed Jan 22, 2020 8:17 pm
Jucator SA:MP ?: Nu
Nick:: Andreeas
Jucator CS ?: Nu

[CS:GO] Suicide Bomber (v1.04, 30/07/2015)

Post by Andreeas »

Suicide Bomber (v1.04)

Description
A fun and rather fitting way to play with the the C4 bomb.
This plugin allows one or more terrorists to use the bomb as a suicide bomb.
They are able to suicide and detonate the bomb, killing or damaging all surrounding enemies.

This plugin was originally created for my combat Surf server as we decided we did not want to have any bomb sites on any of the surf maps. I cleaned up the plugin a little and added some extra configuration options before releasing it. The players seem to enjoy it (blowing up other people, not so much being killed by it).

Features
  • Have one or more suicide bombers
    Give VIP players a higher chance of being selected
    If friendly fire is on, teammates can be killed/damaged
    Compatible with common spawn protection plugins
    Plays explosion sound/scream
    Can optionally disable bomb sites while this plugin is active.
    Kills are awarded points by rank systems like gameME.
Acknowledgements Instructions
  • Compile suicide_bomber.sp (note: this plugin is written in the new SM syntax).
    Copy suicide_bomber.smx and all other plugin files to your server.
    Configure settings by editing /cfg/sourcemod/suicide_bomber.cfg
    In game, when you are picked as the suicide bomber, equip the bomb and press E to go kaboom.
    Come back to this thread and make some suggestions.
ConVars

Code: Select all

sm_suicidebomber_botscanhavebomb "0" //Are bots allowed to be given the bomb (def. 0)
sm_suicidebomber_enabled "1" //Enable Suicide Bomber Plugin (0 off, 1 on, def. 1)
sm_suicidebomber_explosion_sound "sound/invex_gaming/misc/wtfboom_scream.mp3" // Explosion sound to play when a suicider bomber suicides. (def. "sound/invex_gaming/misc/wtfboom_scream.mp3")
sm_suicidebomber_highlight_BLUE "0" // Amount of blue in suicide bomber player colour. (min. 0, max. 255, def. 0)
sm_suicidebomber_highlight_GREEN "0" // Amount of green in suicide bomber player colour. (min. 0, max. 255, def. 0)
sm_suicidebomber_highlight_RED "255" // Amount of red in suicide bomber player colour. (min. 0, max. 255, def. 255)
sm_suicidebomber_killbombsite "1" // Disable bomb sites (0 off, 1 on, def. 1)
sm_suicidebomber_maxc4num "1" // Maximum number of C4 explosives to distribute (def. 1)
sm_suicidebomber_sptime "0.0" // Set this to a non-zero value if you use a spawn protection plugin that colours player models. Leave as 0.0 to autodetect some spawn protection plugins. (min. 0.0, def. 0.0)
sm_suicidebomber_vipenabled" "0", //"Enable VIP features. (def. 0)
sm_suicidebomber_vipflag "q" // VIP flag to give users a higher chance of receiving the bomb. Single letter, lowercase. (def. 'q')
sm_suicidebomber_vippickchance "3" // How many entries (total) do VIP players get when picking suicide bombers (min. 1, def. 3)

ConVar Information
  • Set the RGB values to all 255 if you want suicide bomber to have no particular colour.
    If you want a custom sound file, simply change sm_suicidebomber_explosion_sound
    If you use a spawn protection plugin that colours player models, set sm_suicidebomber_sptime to the spawn protection duration. Fredd's Spawn Protection/Easy Spawn Protection plugins are autodetected.
    Obviously don't set nonsense values or the plugin won't work.
    Formula for calculating AOE damage is: 200 - (d/2) where d is distance from suicide bomber to target. This seems to be a good formula for calculating the damage.
Screenshots
Juicy GIF:
https://gfycat.com/AgreeableInfatuatedBengaltiger

Image
Image
Changelogs

Code: Select all

1.04
- Fixed incorrect auto detection of some spawn protection plugins
- Also fixed issue where suicide bomb effect would persist with some plugins (like !redie) or if suicide bomber was respawned in same round (but still had no bomb).
- Changed trigger method so kill binds would no longer trigger explosion
1.03
- Fixed issue where bots could pick up suicide bomb
1.02
- Initial Release on AM
csgo-suicide-bomber-plugin-v1.04.zip
Post Reply

Return to “Fun Stuff”