Garry's Mod

Garry's Mod

793 ratings
Destructible Glass!
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
File Size
Posted
Updated
3.138 MB
5 Apr, 2021 @ 12:16pm
3 Oct, 2021 @ 11:14am
30 Change Notes ( view )

Subscribe to download
Destructible Glass!

Description
GLASS is an addon with fully procedural and randomly generated glass shards that leaves any user with great satisfaction!

After many (many) crashes, and 3 weeks of fun filled development, GLASS is here! It comes with an easily accessible array of spawnable entities that can be destroyed in real time! Each object is procedurally and randomly generated, which means that every breakage is different, there are NO custom models that are downloaded. As of what I can see, this is one of the only randomly generated destructible addons on workshop.

GLASS also comes with a tool that allows the user to turn any prop into destructible fun, the tool is slightly limited to users but admins have full power. (some props cannot be turned into glass due to how laggy and unstable they can get, admins have no restrictions).

Each shard is limited with 2 things, depth and size. By default, the size is limited to 25. The depth means how many times a glass shard can break, so even if you have a massive shard, you may be unable to break it. Both of these options are related to instability and the smaller the size and bigger the depth, the more likely stuff will crash. These options can be changed with glass_[COMMAND] in console OR using the incredible custom menu PotatoOS made in the utility's tab, which has even more options including an option on how fast the glass must be moving to break, an option if it should freeze on impact, and an option if it should shatter on the world.

CHANGES:
-Fixed mass issue
-Added ability for glass to "completely" break
-optimization
-redo of the entire networking system (should be slightly faster)

THINGS TO NOTE:
-each shard acts like a prop
-we worked extremely hard to keep this as lag friendly as possible, although lag will still occur if you spawn too much
-duping works, but its very buggy such as constraints not spawning
-addon conflict does exist!

BUGS:
-an engine error used to occur, it should be fixed, if you do get one please notify me in the comments
-weird object error bug?
-PLEASE COMMENT ANY BUGS YOU FIND, I PROMISE TO TRY AND FIX THEM

HONORABLE MENTIONS:
This addon was created by me and another user named PotatoOS (He did not want to be marked as a contributor, but he made a lot of the custom glass object code so I am crediting him anyway)
Special thanks to users Kegan, Speedo, PotatoOS, AndrewEathan, and Derpius all helped playtest and remove some of the bugs related to the addon, they are much appreciated!
Popular Discussions View All (4)
6
21 Sep, 2024 @ 9:06am
i made a lambda using the glass
Jolly JackfriendJoe
7
8 Jun, 2023 @ 7:31am
Problems
Yes im a F2P. how did you know?
0
26 Jun, 2023 @ 3:33am
there is a big problems when glass cant be spawned or mostly its just broken at this point
#ffdb00 Trollge
151 Comments
Negative0 4 Dec, 2024 @ 11:48am 
this was one of my first mods i ever installed
heavy from tfs 26 Nov, 2024 @ 12:51pm 
Good for cinematic shots:steamthumbsup:
CAXAPOK 15 Jul, 2024 @ 3:05am 
is thit prop glass OLD!
#ffdb00 Trollge 4 Jul, 2024 @ 4:25am 
this is broken
Gage1811 28 Aug, 2023 @ 1:00pm 
texture does not exits
Vibe_Gaming 8 May, 2023 @ 10:20pm 
I got an error on (lua) about Destructible Glass
eldritchT 15 Mar, 2023 @ 9:40am 
[Destructible Glass!] lua/weapons/gmod_tool/stools/glass_tool.lua:158: Tried to use a NULL entity!
1. Spawn - [C]:-1
2. LeftClick - lua/weapons/gmod_tool/stools/glass_tool.lua:158
3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:226
Smoker 2.0 11 Mar, 2023 @ 3:23pm 
i cant spawn the glass. please help. :bms_headcrab:
11 Mar, 2023 @ 2:14am 
Dear "i cant spawn glass" enthusiasts, the mod explicitly says A TOOL TO TURN PROPS AND RAGDOLLS INTO GLASS. please fact check :)
railfan4014 18 Feb, 2023 @ 5:01pm 
It doesn't let me spawn the glass