Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AMBuilder
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ for sdk_target in MMSPlugin.sdk_targets:
'src/zombiereborn.cpp',
'src/customio.cpp',
'src/entitylistener.cpp',
'src/leader.cpp',
'sdk/entity2/entitysystem.cpp',
'sdk/entity2/entityidentity.cpp',
'sdk/entity2/entitykeyvalues.cpp',
Expand Down
2 changes: 2 additions & 0 deletions CS2Fixes.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
<ClCompile Include="src\votemanager.cpp" />
<ClCompile Include="src\zombiereborn.cpp" />
<ClCompile Include="src\entitylistener.cpp" />
<ClCompile Include="src\leader.cpp" />
<ClCompile Include="sdk\tier1\convar.cpp" />
<ClCompile Include="src\utils\entity.cpp" />
<ClCompile Include="src\utils\plat_unix.cpp" />
Expand Down Expand Up @@ -255,6 +256,7 @@
<ClInclude Include="src\user_preferences.h" />
<ClInclude Include="src\zombiereborn.h" />
<ClInclude Include="src\entitylistener.h" />
<ClInclude Include="src\leader.h" />
<ClInclude Include="src\utils\entity.h" />
<ClInclude Include="src\utils\module.h" />
<ClInclude Include="src\utils\plat.h" />
Expand Down
6 changes: 6 additions & 0 deletions CS2Fixes.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@
<ClCompile Include="src\entitylistener.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\leader.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="sdk\tier1\keyvalues3.cpp">
<Filter>Source Files\sdk</Filter>
</ClCompile>
Expand Down Expand Up @@ -256,6 +259,9 @@
<ClInclude Include="src\entitylistener.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="src\leader.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="src\cs2_sdk\entity\lights.h">
<Filter>Header Files\cs2_sdk\entity</Filter>
</ClInclude>
Expand Down
10 changes: 8 additions & 2 deletions PackageScript
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,17 @@ builder.AddCopy(os.path.join('gamedata', 'cs2fixes.games.txt'), gamedata_folder)

# Add CS2Fixes-specific compiled asset files
particles_cs2f_folder = builder.AddFolder(os.path.join('particles', MMSPlugin.plugin_name))
builder.AddCopy(os.path.join(builder.sourcePath, 'assets', 'particles', MMSPlugin.plugin_name, 'admin_beacon.vpcf_c'), particles_cs2f_folder)
builder.AddCopy(os.path.join(builder.sourcePath, 'assets', 'particles', MMSPlugin.plugin_name, 'admin_beacon_inner.vpcf_c'), particles_cs2f_folder)
builder.AddCopy(os.path.join(builder.sourcePath, 'assets', 'particles', MMSPlugin.plugin_name, 'player_beacon.vpcf_c'), particles_cs2f_folder)
builder.AddCopy(os.path.join(builder.sourcePath, 'assets', 'particles', MMSPlugin.plugin_name, 'player_beacon_tint.vpcf_c'), particles_cs2f_folder)
builder.AddCopy(os.path.join(builder.sourcePath, 'assets', 'particles', MMSPlugin.plugin_name, 'leader_defend_mark.vpcf_c'), particles_cs2f_folder)
builder.AddCopy(os.path.join(builder.sourcePath, 'assets', 'particles', MMSPlugin.plugin_name, 'leader_defend_mark_ground.vpcf_c'), particles_cs2f_folder)
builder.AddCopy(os.path.join(builder.sourcePath, 'assets', 'particles', MMSPlugin.plugin_name, 'leader_tracer.vpcf_c'), particles_cs2f_folder)
builder.AddCopy(os.path.join(builder.sourcePath, 'assets', 'particles', MMSPlugin.plugin_name, 'napalm_fire.vpcf_c'), particles_cs2f_folder)
builder.AddCopy(os.path.join(builder.sourcePath, 'assets', 'particles', MMSPlugin.plugin_name, 'simple_overlay.vpcf_c'), particles_cs2f_folder)

materials_cs2f_folder = builder.AddFolder(os.path.join('materials', MMSPlugin.plugin_name))
builder.AddCopy(os.path.join(builder.sourcePath, 'assets', 'materials', MMSPlugin.plugin_name, 'leader_defend_mark.vtex_c'), materials_cs2f_folder)

soundevents_folder = builder.AddFolder(os.path.join('soundevents'))
builder.AddCopy(os.path.join(builder.sourcePath, 'assets', 'soundevents', 'soundevents_zr.vsndevts_c'), soundevents_folder)

Expand Down
Binary file not shown.
Binary file removed assets/particles/cs2fixes/admin_beacon.vpcf_c
Binary file not shown.
Binary file removed assets/particles/cs2fixes/admin_beacon_inner.vpcf_c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added assets/particles/cs2fixes/leader_tracer.vpcf_c
Binary file not shown.
Binary file added assets/particles/cs2fixes/player_beacon.vpcf_c
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions assets_source/materials/cs2fixes/leader_defend_mark.vtex
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!-- dmx encoding keyvalues2_noids 1 format vtex 1 -->
"CDmeVtex"
{
"m_inputTextureArray" "element_array"
[
"CDmeInputTexture"
{
"m_name" "string" "InputTexture0"
"m_fileName" "string" "materials/cs2fixes/leader_defend_mark.png"
"m_colorSpace" "string" "srgb"
"m_typeString" "string" "2D"
"m_imageProcessorArray" "element_array"
[
"CDmeImageProcessor"
{
"m_algorithm" "string" "None"
"m_stringArg" "string" ""
"m_vFloat4Arg" "vector4" "0 0 0 0"
}
]
}
]
"m_outputTypeString" "string" "2D"
"m_outputFormat" "string" "DXT5"
"m_outputClearColor" "vector4" "0 0 0 0"
"m_nOutputMinDimension" "int" "0"
"m_nOutputMaxDimension" "int" "0"
"m_textureOutputChannelArray" "element_array"
[
"CDmeTextureOutputChannel"
{
"m_inputTextureArray" "string_array" [ "InputTexture0" ]
"m_srcChannels" "string" "rgba"
"m_dstChannels" "string" "rgba"
"m_mipAlgorithm" "CDmeImageProcessor"
{
"m_algorithm" "string" "Box"
"m_stringArg" "string" ""
"m_vFloat4Arg" "vector4" "0 0 0 0"
}
"m_outputColorSpace" "string" "srgb"
}
]
"m_vClamp" "vector3" "0 0 0"
"m_bNoLod" "bool" "0"
}
Loading