Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
sourcemod
DraftPick
Commits
59530015
Commit
59530015
authored
Oct 20, 2019
by
Mikleo
Browse files
--
parent
53e57829
Pipeline
#7412
passed with stages
in 17 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
59530015
...
...
@@ -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
dist/addons/sourcemod/plugins/draftpick.smx
View file @
59530015
No preview for this file type
dist/addons/sourcemod/scripting/draftpick.sp
View file @
59530015
...
...
@@ -8,7 +8,7 @@
#include <empstats>
#include <updater>
#define PluginVersion "1.0
0
"
#define PluginVersion "1.0
1
"
#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);
}
...
...
dist/updater.txt
View file @
59530015
...
...
@@ -4,7 +4,7 @@
{
"Version"
{
"Latest" "1.0
0
"
"Latest" "1.0
1
"
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment