Raised This Month: $32 Target: $400
 8% 

[CS:GO] Retakes Breaker [Update 2020/06/24]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
RoyZ
BANNED
Join Date: Oct 2019
Location: https://t.me/pump_upp
Plugin ID:
7170
Plugin Version:
1.1
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Break windows/glasses and open all the door in CS:GO Retakes
    Old 06-21-2020 , 11:30   [CS:GO] Retakes Breaker [Update 2020/06/24]
    Reply With Quote #1

    [CS:GO] Retakes Breaker [V 1.1]


    Description

    A Sourcemod plugin , Working in Retakes mode, it will automatically destroy all entities that can be destroyed and automatically open all doors, making Retakes closer to the real situation.

    Requirement
    • Sourcemod
    • Retakes Plugin

    Cvars
    Code:
    sm_retakes_breaker "1" (Default: "1" - Enable or Disable plugin.)
    sm_retakes_breaker_dooropener "1" (Default: "1" - Enable or Disable auto open doors.)
    sm_retakes_breaker_text "1" (Default: "1" - Enable or Disable Breaker Chat Notification)
    Changelog
    • V 1.0 : Release of the plugin.
    • V 1.1 : Add Breaker Notification Switch(sm_retakes_breaker_text),add break func_breakable_surf(Thank @borzaka)

    Known issues
    • The wooden window in the de_mirage market cannot be destroyed


    Last edited by RoyZ; 06-24-2020 at 09:43.
    RoyZ is offline
    Send a message via ICQ to RoyZ Send a message via AIM to RoyZ Send a message via Yahoo to RoyZ
    Trum
    AlliedModders Donor
    Join Date: Jan 2017
    Old 06-22-2020 , 12:41   Re: [CS:GO] Retakes Breaker
    Reply With Quote #2

    Yo, sick! I was actually thinking about such plugin the other day, cool!
    Trum is offline
    digin
    Member
    Join Date: Nov 2019
    Old 06-22-2020 , 13:14   Re: [CS:GO] Retakes Breaker
    Reply With Quote #3

    nice plugin, I'll wait update for wooden window in de_mirage
    digin is offline
    borzaka
    AlliedModders Donor
    Join Date: May 2020
    Location: Hungary
    Old 06-22-2020 , 17:32   Re: [CS:GO] Retakes Breaker
    Reply With Quote #4

    Quote:
    Originally Posted by RoyZ View Post
    Known issues
    • The wooden window in the de_mirage market cannot be destroyed
    Try with this:
    PHP Code:
    while ((ent FindEntityByClassname(ent"func_breakable_surf")) != -1)
    {
        
    AcceptEntityInput(ent"Break");

    Check other code regarding de_mirage and other maps, because maybe they are not needed when this func_breakable_surf entity used.

    https://developer.valvesoftware.com/...breakable_surf
    borzaka is offline
    RoyZ
    BANNED
    Join Date: Oct 2019
    Location: https://t.me/pump_upp
    Old 06-22-2020 , 19:59   Re: [CS:GO] Retakes Breaker
    Reply With Quote #5

    Quote:
    Originally Posted by borzaka View Post
    Try with this:
    PHP Code:
    while ((ent FindEntityByClassname(ent"func_breakable_surf")) != -1)
    {
        
    AcceptEntityInput(ent"Break");

    Check other code regarding de_mirage and other maps, because maybe they are not needed when this func_breakable_surf entity used.

    https://developer.valvesoftware.com/...breakable_surf
    In fact, the wooden window is a prop_dynamic instead of func_breakable_surf,

    but a direct break prop_dynamic in de_mirage will cause this problem(https://forums.alliedmods.net/showthread.php?p=2683217).

    Forgive me as a beginner, I don't know how to specify this entity in this situation.

    Last edited by RoyZ; 06-22-2020 at 20:00.
    RoyZ is offline
    Send a message via ICQ to RoyZ Send a message via AIM to RoyZ Send a message via Yahoo to RoyZ
    borzaka
    AlliedModders Donor
    Join Date: May 2020
    Location: Hungary
    Old 06-23-2020 , 11:01   Re: [CS:GO] Retakes Breaker
    Reply With Quote #6

    Quote:
    Originally Posted by RoyZ View Post
    In fact, the wooden window is a prop_dynamic instead of func_breakable_surf,
    You are right, func_breakable_surf is not breaking the wooden window at de_mirage B site.
    But I would add that code regardless. It can break other stuff, which is the main purpose of this plugin.

    Also a suggestion:
    • make chat messages optional
    borzaka is offline
    RoyZ
    BANNED
    Join Date: Oct 2019
    Location: https://t.me/pump_upp
    Old 06-23-2020 , 11:32   Re: [CS:GO] Retakes Breaker
    Reply With Quote #7

    Quote:
    Originally Posted by borzaka View Post
    You are right, func_breakable_surf is not breaking the wooden window at de_mirage B site.
    But I would add that code regardless. It can break other stuff, which is the main purpose of this plugin.

    Also a suggestion:
    • make chat messages optional
    I think those are good ideas, I will add them in the next version.
    RoyZ is offline
    Send a message via ICQ to RoyZ Send a message via AIM to RoyZ Send a message via Yahoo to RoyZ
    Ejziponken
    AlliedModders Donor
    Join Date: Apr 2008
    Old 06-23-2020 , 12:49   Re: [CS:GO] Retakes Breaker
    Reply With Quote #8

    I would make the door thing random. Sometimes open, sometimes closed. Thats more realistic right?
    Ejziponken is offline
    borzaka
    AlliedModders Donor
    Join Date: May 2020
    Location: Hungary
    Old 06-23-2020 , 14:35   Re: [CS:GO] Retakes Breaker
    Reply With Quote #9

    Quote:
    Originally Posted by Ejziponken View Post
    I would make the door thing random. Sometimes open, sometimes closed. Thats more realistic right?
    And even randomize the direction of the opening doors!
    borzaka is offline
    RoyZ
    BANNED
    Join Date: Oct 2019
    Location: https://t.me/pump_upp
    Old 06-24-2020 , 08:50   Re: [CS:GO] Retakes Breaker
    Reply With Quote #10

    Quote:
    Originally Posted by Ejziponken View Post
    I would make the door thing random. Sometimes open, sometimes closed. Thats more realistic right?
    I am just a beginner, if you have good code, welcome to submit PR <3
    RoyZ is offline
    Send a message via ICQ to RoyZ Send a message via AIM to RoyZ Send a message via Yahoo to RoyZ
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 04:18.


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