AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO/ZR] Plant C4 Bomb [09/19/2020] (with Zeph's Store and Zombie Reloaded support) (https://forums.alliedmods.net/showthread.php?t=327386)

NanoC 09-15-2020 18:42

[CS:GO/ZR] Plant C4 Bomb [09/19/2020] (with Zeph's Store and Zombie Reloaded support)
 
Plant C4 Bomb

Plant a C4 bomb that kills enemies. Easy configurable.
Based on the plugin called "C4Menu" from EventScripts. I've used that plugin for years until EventScripts stopped working correctly and i never saw this plugin on sourcemod. It's pretty funny, so i've decided to make my own. I'm currently using it on my Zombie Escape but you can use it wherever you want. (It supports Zombie Reloaded and Store by Zephyrus)
C4Menu plugin from EventScripts.
2 Languages so far: English & Spanish. If you want to share your language, post it here!

=============================================

Video:

Spoiler


=============================================

Cvars
  • sm_c4bomb_enabled: 1 = Enable the plugin | 0 = Disable the plugin (Default 1)
  • sm_c4bomb_vipsonly: 1 = Only VIPs (with GENERIC FLAG) can plant a bomb | 0 = Public command (Default 0)
  • sm_c4bomb_exp_timer: Time in seconds until the bomb explode (Default 15)
  • sm_c4bomb_max_uses: Hoy many uses per client to plant the bomb (Default 1)
  • sm_c4bomb_global_restict: 1 = Restrict C4 Bomb for everyone after the first plant ever | 0 = Don't restrict the C4 Bomb after the first plant (Default 0)
  • sm_c4bomb_money: How much money will cost to buy a C4? | 0 = Free C4 (Default 10000)
  • sm_c4bomb_restrict_start: Time in seconds to unlock the C4 Bomb after round start | 0 = Disable (Default 30)
  • sm_c4bomb_bomb_damage: Damage of the bomb (Default 5000)
  • sm_c4bomb_bomb_radius: Radius of the bomb explosion (Default 600)
  • sm_c4bomb_team_kill: 0 = Bomb will kill team mates | 1 = Bomb won't kill team mates (Default 1) | TIP: If 0, C4 on explode won't give frags as kill
  • sm_c4bomb_team_restrict: 1 = All teams | 2 = Only CTs | 3 = Only Terrorist (Default 1)
  • sm_c4bomb_ignite_time: Time in seconds to ignite enemies | 0 = Disabled (Default 7)
  • sm_c4bomb_store_credits: Store credits to buy C4 (Default 0)
  • sm_c4bomb_plant_message: Print a public message when someone plants a bomb? | 1 = Enabled | 0 = Disabled (Default 1)

=============================================

Commands
  • sm_c4
  • sm_c4bomb
  • sm_bomb
=============================================

DOWNLOAD VIA GITHUB

Direct download

Main page

XHUNTERX 09-16-2020 11:27

Re: [CS:GO/ZR] Plant C4 Bomb
 
thanks
very nice
but
It would be great to buy with credit instead of money
can you make the zep. store version of this?

NanoC 09-16-2020 13:32

Re: [CS:GO/ZR] Plant C4 Bomb
 
Quote:

Originally Posted by XHUNTERX (Post 2717931)
thanks
very nice
but
It would be great to buy with credit instead of money
can you make the zep. store version of this?

Do you want to add an option to the store menu? Or just keep it as it is now but removing credits instead of removing money?

XHUNTERX 09-16-2020 18:53

Re: [CS:GO/ZR] Plant C4 Bomb
 
Quote:

Or just keep it as it is now but removing credits instead of removing money?
yes bro removing credits

NanoC 09-19-2020 01:31

Re: [CS:GO/ZR] Plant C4 Bomb [09/19/2020] (with Zeph's Store and Zombie Reloaded supp
 
New version! 1.1 (untested)
Changelog:

- Fixed some bugs (i'm sorry)
- Added Ignite for enemies
- Added Zeph's Store support
- Added new Cvars

New ConVars:

sm_c4bomb_ignite_time: Time in seconds to ignite enemies | 0 = Disabled (Default 7)
sm_c4bomb_store_credits: Store credits to buy C4 (Default 0)
sm_c4bomb_plant_message: Print a public message when someone plant a bomb? | 1 = Enabled | 0 = Disabled (Default 1)

XHUNTERX 09-19-2020 09:01

Re: [CS:GO/ZR] Plant C4 Bomb [09/19/2020] (with Zeph's Store and Zombie Reloaded supp
 
thank you for update

NanoC 09-19-2020 20:57

Re: [CS:GO/ZR] Plant C4 Bomb [09/19/2020] (with Zeph's Store and Zombie Reloaded supp
 
Quote:

Originally Posted by XHUNTERX (Post 2718183)
thank you for update

No problem! Test it and let me know if it works

XHUNTERX 09-21-2020 03:36

Re: [CS:GO/ZR] Plant C4 Bomb [09/19/2020] (with Zeph's Store and Zombie Reloaded supp
 
I tried the credit feature in the plugin -> okay good work !

I just have such a problem
when i start the round again the bomb does not plant and gives this error
(round restart <--> !rr <--> mp_restartgame 1) <--> bug <--> (Chat: You have planted the bomb 1 time(s), wait for the next round.)

NanoC 09-21-2020 05:01

Re: [CS:GO/ZR] Plant C4 Bomb [09/19/2020] (with Zeph's Store and Zombie Reloaded supp
 
Hmm seems there's a problem if you restart the round. I'll see what can i do tomorrow


All times are GMT -4. The time now is 15:28.

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