Counter-Strike 2 Workshop Tools/BreakableWindows
Jump to navigation
Jump to search
Note:This tutorial assumes a basic familiarity with ModelDoc Editor.
Bug:func_breakable does not spawn gibs on break in
Counter-Strike 2. It's recommended to use prop_dynamic instead [todo tested in ?]
Important:Glass material should have dynamic expressions configured, otherwise there would be no break pieces.
Tip:it is not needed to have custom model file since primitive shapes are created inside of ModelDoc"
Todo: polish it out, add information.




example model can be found in Counter-Strike Global Offensive\content\csgo\workshop\content_examples\breakable_glass\breakable_glass_01.vmdl
Creating base window model

- add RenderMeshFile to outliner, cancel the file selection and keep the created note, It should appear as empty node, change RenderMeshFile Name to something like "window"
- RenderMeshFile
- Name: window
- Source file: <none>
Adding Break pieces to model
todo
Creating custom glass material
todo