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.
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 |
No edit summary |
||
Line 1: | Line 1: | ||
{{todo|add explanation.}} | {{todo|add explanation.}} | ||
{{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.}} | ||
{{Bug|func_breakable does not spawn gibs on break in counter-strike 2. It's recommended to use prop_dynamic instead}} | {{Bug|func_breakable does not spawn gibs on break in counter-strike 2. It's recommended to use prop_dynamic instead}} | ||
== | == Creating unbroken glass model == | ||
* 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 | |||
[[File:Unbrokenwindow breakpiece.png]] | |||
== Broken glass model setup == | |||
{{Note|Windows should be in rectangular form for procedural shattered glass model.}} | {{Note|Windows should be in rectangular form for procedural shattered glass model.}} | ||
== Glass material setup == | == Glass material setup == |
Revision as of 00:05, 21 August 2024
Todo: add explanation.


Creating unbroken glass model
- 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
Broken glass model setup
