Counter-Strike 2 Workshop Tools/Particles: Difference between revisions
Jump to navigation
Jump to search

(Guide on enabling the particle editor in CS2 tools) |
m (Nesciuse moved page Counter-Strike 2 Workshop Tools/Particles/en to Counter-Strike 2 Workshop Tools/Particles without leaving a redirect: Move en subpage to basepage) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
== Enabling the Particle Editor == | == Enabling the Particle Editor == | ||
The particle editor is disabled in CS2 by default. To enable the particle editor, "game/bin/sdkenginetools.txt" and "game/bin/assettypes_common.txt" must both be edited. | The particle editor is disabled in CS2 by default. To enable the particle editor, "game/bin/sdkenginetools.txt" and "game/bin/assettypes_common.txt" must both be edited. | ||
In sdkenginetools.txt, delete the lines from "m_ExcludeFromMods = " to "]" inclusive from | In sdkenginetools.txt, delete the lines from "m_ExcludeFromMods = " to "]" inclusive from pet: | ||
<syntaxhighlight> | <syntaxhighlight lang="cpp"> | ||
{ | { | ||
m_Name = "pet" | m_Name = "pet" | ||
Line 16: | Line 17: | ||
"particle_asset", | "particle_asset", | ||
] | ] | ||
m_ExcludeFromMods = | //m_ExcludeFromMods = | ||
[ | //[ | ||
// "csgo", | |||
] | //] | ||
}, | }, | ||
</syntaxhighlight> | </syntaxhighlight> | ||
And in assettypes_common | And in assettypes_common.txt, delete the lines from "m_HideForRetailMods = " to "]" inclusive from the particle asset: | ||
<syntaxhighlight> | <syntaxhighlight lang="cpp"> | ||
particle_asset = | particle_asset = | ||
{ | { | ||
Line 43: | Line 44: | ||
}, | }, | ||
] | ] | ||
m_HideForRetailMods = | //m_HideForRetailMods = | ||
[ | //[ | ||
// "csgo", | |||
] | //] | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 70: | Line 71: | ||
* [[Control Point (particles)]] | * [[Control Point (particles)]] | ||
* [[Dota 2 Workshop Tools/Particles/Particle Performance|Particle Performance]] | * [[Dota 2 Workshop Tools/Particles/Particle Performance|Particle Performance]] | ||
{{Cs2_tools_topicons}} |
Latest revision as of 05:57, 12 July 2024


Enabling the Particle Editor
The particle editor is disabled in CS2 by default. To enable the particle editor, "game/bin/sdkenginetools.txt" and "game/bin/assettypes_common.txt" must both be edited.
In sdkenginetools.txt, delete the lines from "m_ExcludeFromMods = " to "]" inclusive from pet:
{
m_Name = "pet"
m_FriendlyName = "Particle Editor"
m_Library = "tools/pet.dll"
m_ToolIcon = "game:tools/images/pet/appicon.ico"
m_AssetTypes =
[
"particle_asset",
]
//m_ExcludeFromMods =
//[
// "csgo",
//]
},
And in assettypes_common.txt, delete the lines from "m_HideForRetailMods = " to "]" inclusive from the particle asset:
particle_asset =
{
_class = "CResourceAssetTypeInfo"
m_FriendlyName = "Particle System"
m_Ext = "vpcf"
m_IconLg = "game:tools/images/assettypes/particles_lg.png"
m_IconSm = "game:tools/images/assettypes/particles_sm.png"
m_CompilerIdentifier = "CompileParticle"
m_bPrefersLivePreview = true
m_bUnrecognizedReferencesAreErrors = true
m_Blocks =
[
{
m_BlockID = "DATA"
m_Encoding = "RESOURCE_ENCODING_KV3"
},
]
//m_HideForRetailMods =
//[
// "csgo",
//]
}
Getting Started
Tutorials
Functions
- Particle System Renderers
- Particle System Operators and Category:Particle operators
- Particle System Initializers and Category:Particle initializers
- Particle System Emitters
- Particle System Renderers
- Particle System Constraints
- Particle System Forces
Other Topics