BombSecurity allows Counter-Terrorists to pick up the bomb when a Terrorist drops it. The CT can then run away and hide with it, playing a bit of keep-away from the remaining Terrorists.
There is no configuration, currently. If you have suggestions for the plugin, please feel free to post them here or on the plugin's GitHub issues list:
https://github.com/satoon101/BombSecurity/issues
This plugin has been fully tested on CS:S, but should also work on CS:GO. Let me know if that isn't the case.
Thanks, and enjoy :)
Current version download
Older versions
BombSecurity v1.2.1
Ayuto wrote:Nice! I guess it would also work if you set m_iTeam or m_iTeamNum (can't remember the name) to the T team. Then you don't need to hook player_team anymore, because that doesn't cause a message to be sent.
I did originally try that. I was crashing, however, and changed it to the current method during my tests to fix the crashing. I don't believe that was the cause of the crashing, though, so I should definitely change it back.
*Edit: changed, tested, and updated. Version 1.1 now available.
Re: BombSecurity v1.0
Hey satoon101,
thanks for the nice script. Got a problem if I want to give CT that bomb at spawn. He drops the bomb immediately. Because I remove the bomb entity after dropping and creating another entity is it possible that the bomb sticks to the player even on spawn? Or should I just add an delay. Because if I just delay that thing the CT can hold the bomb without problems.
Thanks for your help :)
thanks for the nice script. Got a problem if I want to give CT that bomb at spawn. He drops the bomb immediately. Because I remove the bomb entity after dropping and creating another entity is it possible that the bomb sticks to the player even on spawn? Or should I just add an delay. Because if I just delay that thing the CT can hold the bomb without problems.
Thanks for your help :)
Re: BombSecurity v1.0
There's nothing in the plugin itself that would cause that. That is likely due to how the game gives weapons on spawn. Try adding a delay of 0 (which will delay 1 tick) and see if that works.
Re: BombSecurity v1.0
Thanks for that, works good now. I know it's a little bit of topic but a little problem remains: if I add the bomb with
it still drops the first time after giving the bomb to an CT or T. Maybe there is an hook for that, too? I currently have problem if a player does not directly move after spawn (which can happen of course) so he wont "run" over the bomb and it sticks on the ground. If I just walk a little bit in any direction I will pick it up. Of course another player could come and pick it up, too. Only first spawn after server join (or round start) does work without problems. But I think that's related to CS:GO.
Syntax: Select all
Delay(0, player.give_named_item, 'weapon_c4', 0, None, True)
it still drops the first time after giving the bomb to an CT or T. Maybe there is an hook for that, too? I currently have problem if a player does not directly move after spawn (which can happen of course) so he wont "run" over the bomb and it sticks on the ground. If I just walk a little bit in any direction I will pick it up. Of course another player could come and pick it up, too. Only first spawn after server join (or round start) does work without problems. But I think that's related to CS:GO.
Re: BombSecurity v1.2.1
BombSecurity Update!
Version: 1.2.1
Version Notes:
Version: 1.2.1
Version Notes:
- Fixed attribute for newest SP changes (Entity.team -> Entity.team_index).
Who is online
Users browsing this forum: No registered users and 59 guests