Garry's Mod

Garry's Mod

971 beoordelingen
Destructable Glass: Rewrite
4
3
3
2
2
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
Bestandsgrootte
Geplaatst op
Bijgewerkt op
3.414 MB
29 jul 2022 om 14:25
31 jul 2022 om 11:03
7 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Destructable Glass: Rewrite

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

This is a mod that adds completely procedural glass to the game, you can find it in the spawnmenu in the entities tab under "Glass: Rewrite"

It also replaces func_breakable_surf (glass entity used in most half life maps), so feel free to play half life with alyx style glass!

Note: This addon may lag a lot, source vphysics was never meant to handle a large pile of objects, I tried my best to make it lag friendly, but you shouldn't expect perfection

I also suggest uninstalling the first glass addon if you have it installed as it has code that will lag your game even when idle


Console Commands
- glass_expensive_material (0-1) refractive material I made, its sorta garbage so thats why its optional
- glass_lagfriendly (0-1) helps with lag a bit by completely no colliding shards

Features
The original addon was created almost 2 years ago, but I decided to rewrite it as the original addon was kind of garbage (and to see how much improvement ive made)
New features include:
- Better material, optional refractive material using glass_expensive_material (0-1) console command
- Actually breaks where you hit it
- Multiple shards generated per hit instead of 2
- Code revisions
- Easier api
- Better networking
- Nearby shards will 'weld' together after broken (this is actually an optimization but I figured it looked sorta good too)

A tool exists in the spawnmenu called "Glass Rewrite", you can use it to turn any prop into glass, there isn't a limit to how complex or big the object can be.. so be careful when trying to turn things like cannonballs into glass


opensource code: https://github.com/meetric1/Glass-Rewrite
discord: https://discord.gg/cmQvg2AHgP
patreon: https://www.patreon.com/meegmod
Populaire discussies Alles weergeven (6)
6
28 jun 2023 om 23:13
theres only the 100% fragile
iglopol
3
10 aug om 16:53
my suggestion
nextmorgan
2
5 feb 2024 om 20:56
I see glass as green outline/wireframe
voxel
159 opmerkingen
Енот Хак 24 aug om 11:00 
I checked this with VPhysics Jolt. The only problem is the shattering itself that can cause lags. Other than that - gosh it runs amazingly well.
Енот Хак 24 aug om 9:40 
Just how well will this work with VPhysics Jolt?
Batuhan 18 aug om 15:02 
meetric the goat
Folder361 23 jul om 18:41 
note: this WILL replace all glass in maps, and for me, its always centered wrong
JubJub 18 jul om 12:33 
THIS IS THE BEST MOD EVER TO EXIST THANK YOU FOR SHINNG LIGHTONTO MY WORLD
HL1 6 jul om 7:38 
How about these ones?: glass_largesheet_break1.wav, glass_largesheet_break2.wav, glass_largesheet_break3.wav
tHe rEEl feDy FatBeAR 29 apr om 14:05 
its pretty cool, but doesnt work right with doors that have breakable glass. it just kinda floats.
Another Creater 10 apr om 18:48 
Idk if is bc I have way to many mods installed or is bc of recent updates of GMod... but when I spawn any type of grass, the texture gets removed and turns into a Wireframe

Pls Fix...?
A-200 12 feb om 11:51 
this might be too much to ask for, but make it work with gwater2 if you can
GMod Trash Collection 5 jan om 16:44 
the glass won't survive a nuclear explosion thats for sure