Garry's Mod

Garry's Mod

974 평점
Destructable Glass: Rewrite
4
3
3
2
2
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
파일 크기
게시일
업데이트일
3.414 MB
2022년 7월 29일 오후 2시 25분
2022년 7월 31일 오전 11시 03분
업데이트 노트 7개 (보기)

다운로드 위해 구독하기
Destructable Glass: Rewrite

설명
"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
인기 토론 모두 보기(6)
6
2023년 6월 28일 오후 11시 13분
theres only the 100% fragile
iglopol
3
2025년 8월 10일 오후 4시 53분
my suggestion
nextmorgan
2
2024년 2월 5일 오후 8시 56분
I see glass as green outline/wireframe
voxel
댓글 159
Енот Хак 2025년 8월 24일 오전 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.
Енот Хак 2025년 8월 24일 오전 9시 40분 
Just how well will this work with VPhysics Jolt?
Batuhan 2025년 8월 18일 오후 3시 02분 
meetric the goat
Folder361 2025년 7월 23일 오후 6시 41분 
note: this WILL replace all glass in maps, and for me, its always centered wrong
JubJub 2025년 7월 18일 오후 12시 33분 
THIS IS THE BEST MOD EVER TO EXIST THANK YOU FOR SHINNG LIGHTONTO MY WORLD
HL1 2025년 7월 6일 오전 7시 38분 
How about these ones?: glass_largesheet_break1.wav, glass_largesheet_break2.wav, glass_largesheet_break3.wav
tHe rEEl feDy FatBeAR 2025년 4월 29일 오후 2시 05분 
its pretty cool, but doesnt work right with doors that have breakable glass. it just kinda floats.
Another Creater 2025년 4월 10일 오후 6시 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 2025년 2월 12일 오전 11시 51분 
this might be too much to ask for, but make it work with gwater2 if you can
Fictional History 2025년 1월 5일 오후 4시 44분 
the glass won't survive a nuclear explosion thats for sure