Garry's Mod

Garry's Mod

129 ratings
Breakable panes protector
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Map
Addon Tags: Build, Roleplay
File Size
Posted
Updated
813.000 B
28 Apr, 2014 @ 12:50pm
29 Apr, 2014 @ 3:26am
3 Change Notes ( view )

Subscribe to download
Breakable panes protector

In 2 collections by Alban CHAMPIGNON [GiletJaune]
Board Games by Mohamed Rachid
16 items
Université Joseph Poireau (serveur)
70 items
Description
Addon to make breakable panes unbreakable
This addon is ideal if you want to make all panes unbreakable.
It works on prop_breakable, func_breakable and func_breakable_surf as well.

[curse.com]

If you use a map that is not designed with unbreakable panes, then you may need this addon with DarkRP, PERP, any other roleplay or peaceful gamemodes.
All panes will be unbreakable, whether you allow weapons or not.

Warning: When you try to destroy a func_breakable_surf pane while being too close to it, you may become stuck in the pane. This is certainly due to the lag compensation and it would be very complicated to solve this issue.

It has been complicated to make this work with func_breakable_surf, and some bugs may still be there after my mindful work. Just post a comment if you experience bugs!

Known issues with func_breakable_surf entities:
■ If you walk toward a func_breakable_surf pane while trying to destroy it, you can become stuck.
■ After repairing, if a func_breakable_surf pane is parented to a door then the door may become hard to open.
■ When attacking a func_breakable_surf pane, the break effect will move more and more in many cases.
48 Comments
Alban CHAMPIGNON [GiletJaune]  [author] 29 Dec, 2022 @ 4:33am 
Héhéhé, excellent ! 👍
[Havanna RP] Havanna 28 Dec, 2022 @ 10:50pm 
Ce que je veux dire c'est que j'utilise exactement le même script que toi, juste qu'au lieu d'exécuter le script chaque frame, il s'exécute toutes les 30 secondes, j'ai pour le moment eu aucun problème avec, je croise les doigts 😅
Alban CHAMPIGNON [GiletJaune]  [author] 28 Dec, 2022 @ 10:32pm 
Je pense que tu risques de péter des trucs avec les func_breakable_surf en faisant ça. 😱
[Havanna RP] Havanna 28 Dec, 2022 @ 8:32pm 
C'est ce que je me disais haha, de mon côté j'ai modifié pour mettre 30 secondes de délai :)
Alban CHAMPIGNON [GiletJaune]  [author] 28 Dec, 2022 @ 1:33pm 
Euh, si, je pense. Je ne sais plus, je devrais sûrement regarder à nouveau le code. 😅
Si j'ai vraiment fait ceci, je devrais rénover cette bêtise.
[Havanna RP] Havanna 19 Dec, 2022 @ 10:39am 
Yo, vrai question que je me pose, c'est pas un peu hardcore un ents.FindByClass dans un Think sans délai ?
Alban CHAMPIGNON [GiletJaune]  [author] 25 Dec, 2021 @ 12:26pm 
No cause players would be stuck within respawned panes.
baconsalt35 6 Dec, 2021 @ 5:43pm 
Be cool if you could make it so that broken glass just respawns/renews after a few moments. :steamthumbsup:
Alban CHAMPIGNON [GiletJaune]  [author] 31 Jul, 2020 @ 9:02am 
Yeah, this is frustrating! :steamsad: By the way, I'm not myself a fan of broken glass.
big ham 30 Jul, 2020 @ 10:27pm 
aw man