Counter-Strike 2 Workshop Tools/BreakableWindows

From Valve Developer Community
Jump to navigation Jump to search
Todo: polish it out, add information.
Note.pngNote:This tutorial assumes a basic familiarity with ModelDoc Editor.
Tip.pngTip:example model can be found in "Counter-Strike Global Offensive\content\csgo\workshop\content_examples\breakable_glass\breakable_glass_01.vmdl"
Icon-Bug.pngBug:func_breakable does not spawn gibs on break in Counter-Strike 2 Counter-Strike 2. It's recommended to use prop_dynamic instead  [todo tested in ?]
Icon-Important.pngImportant:Glass material should have dynamic expressions configured, otherwise there would be no break pieces.
model doc outliner setup for breakable glass

Creating base window model

todo

Adding Break pieces to model

todo

Creating custom glass material

todo