Garry's Mod

Garry's Mod

967 次評價
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
8 月 10 日 下午 4:53
my suggestion
nextmorgan
2
2024 年 2 月 5 日 下午 8:56
I see glass as green outline/wireframe
voxel
157 則留言
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
HL1 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
GMod Trash Collection 1 月 5 日 下午 4:44 
the glass won't survive a nuclear explosion thats for sure
da ragin yajun 2024 年 9 月 27 日 下午 8:21 
Mee, got an issue. The glass is flipped and doesn't match its own collision. The glass shards have the same problem and deform the overall shard sets. Need a fix for this ASAP. I tried uninstalling collision accuracy stuff and mods that would affect glass decals. No avail.
L6061 2024 年 9 月 14 日 上午 9:15 
It would be cool if there was a variable that would allow players and npcs to recieve damage from glass pieces.