Counter-Strike 2 Workshop Tools/BreakableWindows: Difference between revisions
Jump to navigation
Jump to search
Note:This tutorial assumes a basic familiarity with ModelDoc usage as established by the earlier tutorials.
Tip:example model can be found in "Counter-Strike Global Offensive\content\csgo\workshop\content_examples\breakable_glass\breakable_glass_01.vmdl"
Bug:func_breakable does not spawn gibs on break in
Counter-Strike 2. It's recommended to use prop_dynamic instead [todo tested in ?]
Note:Windows should be in rectangular form for procedural shattered glass model.
No edit summary |
|||
Line 2: | Line 2: | ||
{{todo|polish it out, add information.}} | {{todo|polish it out, add information.}} | ||
{{note|This tutorial assumes a basic familiarity with [[ModelDoc]] usage as established by the earlier tutorials.}} | {{note|This tutorial assumes a basic familiarity with [[ModelDoc]] usage as established by the earlier tutorials.}} | ||
{{tip|example model can be found in "Counter-Strike Global Offensive\content\csgo\workshop\content_examples\breakable_glass\breakable_glass_01.vmdl"}} | |||
{{Bug|func_breakable does not spawn gibs on break in {{cs2|4}}. It's recommended to use prop_dynamic instead}} | {{Bug|func_breakable does not spawn gibs on break in {{cs2|4}}. It's recommended to use prop_dynamic instead}} |
Revision as of 21:00, 2 October 2024
Todo: polish it out, add information.




Creating unbroken glass model
- Unbroken glass setup overview
- Add BreakPieceExternal with collision group set to "Debris", "Essential Piece" and "Force Motion Disabled" ticked, and "Health override" set to 1, after broken model is done, reference it here. Set desired fade time
- Add PhysicsHullFromRenderer
Broken glass model setup

Glass material setup
info by marnamai