Commit 59530015 authored by Mikleo's avatar Mikleo
Browse files

--

parent 53e57829
Pipeline #7412 passed with stages
in 17 seconds
......@@ -12,4 +12,5 @@ Custom Overlay
I Recommend the settings in the images folder and to use the base overlay as a template with VTFEdit.
By default this is a high resolution greyscale image, color overlays will be an enourmous download burden.
You also need to copy and edit the default vmt file alongside the vtf.
Set dp_overlay cvar to the filepath without the .vmt/.vtf extension.
\ No newline at end of file
Set dp_overlay cvar to the filepath from within the materials folder without the .vmt/.vtf extension.
e.g. "draftpick/draft_background"
\ No newline at end of file
......@@ -8,7 +8,7 @@
#include <empstats>
#include <updater>
#define PluginVersion "1.00"
#define PluginVersion "1.01"
#define UPDATE_URL "https://sourcemod.docs.empiresmod.com/DraftPick/dist/updater.txt"
......@@ -2050,9 +2050,9 @@ public OnConfigsExecuted()
dp_overlay.GetString(overlayPath,sizeof(overlayPath));
char downloadPath[64];
Format(downloadPath,sizeof(downloadPath),"%s.vtf",overlayPath);
Format(downloadPath,sizeof(downloadPath),"materials/%s.vtf",overlayPath);
AddFileToDownloadsTable(downloadPath);
Format(downloadPath,sizeof(downloadPath),"%s.vmt",overlayPath);
Format(downloadPath,sizeof(downloadPath),"materials/%s.vmt",overlayPath);
AddFileToDownloadsTable(downloadPath);
}
......
......@@ -4,7 +4,7 @@
{
"Version"
{
"Latest" "1.00"
"Latest" "1.01"
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment