Garry's Mod

Garry's Mod

987 个评价
Destructable Glass: Rewrite
4
3
3
2
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 建筑, 快乐
文件大小
发表于
更新日期
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
8 月 10 日 下午 4:53
my suggestion
nextmorgan
2
2024 年 2 月 5 日 下午 8:56
I see glass as green outline/wireframe
voxel
159 条留言
Енот Хак 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.
Енот Хак 8 月 24 日 上午 9:40 
Just how well will this work with VPhysics Jolt?
Batuhan 8 月 18 日 下午 3:02 
meetric the goat
Folder361 7 月 23 日 下午 6:41 
note: this WILL replace all glass in maps, and for me, its always centered wrong
JubJub 7 月 18 日 下午 12:33 
THIS IS THE BEST MOD EVER TO EXIST THANK YOU FOR SHINNG LIGHTONTO MY WORLD
HL2 7 月 6 日 上午 7:38 
How about these ones?: glass_largesheet_break1.wav, glass_largesheet_break2.wav, glass_largesheet_break3.wav
tHe rEEl feDy FatBeAR 4 月 29 日 下午 2:05 
its pretty cool, but doesnt work right with doors that have breakable glass. it just kinda floats.
Another Creater 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 2 月 12 日 上午 11:51 
this might be too much to ask for, but make it work with gwater2 if you can
Transit Bus Guy 1 月 5 日 下午 4:44 
the glass won't survive a nuclear explosion thats for sure