Skip to content

Commit

Permalink
fix: Uppercase letters in filenames are not allowed on workshop upload (
Browse files Browse the repository at this point in the history
  • Loading branch information
Histalek authored Dec 11, 2023
1 parent d64e0a7 commit 39f3505
Show file tree
Hide file tree
Showing 18 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,17 @@ if CLIENT then

HUDELEMENT.BulletIcons = {
["357"] = Material("vgui/ttt/ammo/bullet_357"),
["Buckshot"] = Material("vgui/ttt/ammo/bullet_Buckshot"),
["SMG1"] = Material("vgui/ttt/ammo/bullet_SMG1"),
["Pistol"] = Material("vgui/ttt/ammo/bullet_Pistol"),
["AlyxGun"] = Material("vgui/ttt/ammo/bullet_AlyxGun"),
["Buckshot"] = Material("vgui/ttt/ammo/bullet_buckshot"),
["SMG1"] = Material("vgui/ttt/ammo/bullet_smg1"),
["Pistol"] = Material("vgui/ttt/ammo/bullet_pistol"),
["AlyxGun"] = Material("vgui/ttt/ammo/bullet_alyxgun"),
}

HUDELEMENT.AmmoIcons = {
["357"] = Material("vgui/ttt/ammo/box_357"),
["Buckshot"] = Material("vgui/ttt/ammo/box_Buckshot"),
["SMG1"] = Material("vgui/ttt/ammo/box_SMG1"),
["Pistol"] = Material("vgui/ttt/ammo/box_Pistol"),
["AlyxGun"] = Material("vgui/ttt/ammo/box_AlyxGun"),
["Buckshot"] = Material("vgui/ttt/ammo/box_buckshot"),
["SMG1"] = Material("vgui/ttt/ammo/box_smg1"),
["Pistol"] = Material("vgui/ttt/ammo/box_pistol"),
["AlyxGun"] = Material("vgui/ttt/ammo/box_alyxgun"),
}
end
16 changes: 8 additions & 8 deletions lua/autorun/server/ttt2_force_download.lua
Original file line number Diff line number Diff line change
Expand Up @@ -159,16 +159,16 @@ resource.AddFile("materials/vgui/ttt/tid/tid_destructible.vmt")

-- ammo icons
resource.AddFile("materials/vgui/ttt/ammo/box_357.vmt")
resource.AddFile("materials/vgui/ttt/ammo/box_AlyxGun.vmt")
resource.AddFile("materials/vgui/ttt/ammo/box_Buckshot.vmt")
resource.AddFile("materials/vgui/ttt/ammo/box_Pistol.vmt")
resource.AddFile("materials/vgui/ttt/ammo/box_SMG1.vmt")
resource.AddFile("materials/vgui/ttt/ammo/box_alyxgun.vmt")
resource.AddFile("materials/vgui/ttt/ammo/box_buckshot.vmt")
resource.AddFile("materials/vgui/ttt/ammo/box_pistol.vmt")
resource.AddFile("materials/vgui/ttt/ammo/box_smg1.vmt")

resource.AddFile("materials/vgui/ttt/ammo/bullet_357.vmt")
resource.AddFile("materials/vgui/ttt/ammo/bullet_AlyxGun.vmt")
resource.AddFile("materials/vgui/ttt/ammo/bullet_Buckshot.vmt")
resource.AddFile("materials/vgui/ttt/ammo/bullet_Pistol.vmt")
resource.AddFile("materials/vgui/ttt/ammo/bullet_SMG1.vmt")
resource.AddFile("materials/vgui/ttt/ammo/bullet_alyxgun.vmt")
resource.AddFile("materials/vgui/ttt/ammo/bullet_buckshot.vmt")
resource.AddFile("materials/vgui/ttt/ammo/bullet_pistol.vmt")
resource.AddFile("materials/vgui/ttt/ammo/bullet_smg1.vmt")

-- derma skin graphics
resource.AddFile("materials/vgui/ttt/vskin/icon_close.vmt")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"UnlitGeneric"
{
"$basetexture" "vgui/ttt/ammo/box_AlyxGun"
"$basetexture" "vgui/ttt/ammo/box_alyxgun"
"$nocull" 1
"$nodecal" 1
"$nolod" 1
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"UnlitGeneric"
{
"$basetexture" "vgui/ttt/ammo/box_Buckshot"
"$basetexture" "vgui/ttt/ammo/box_buckshot"
"$nocull" 1
"$nodecal" 1
"$nolod" 1
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"UnlitGeneric"
{
"$basetexture" "vgui/ttt/ammo/box_Pistol"
"$basetexture" "vgui/ttt/ammo/box_pistol"
"$nocull" 1
"$nodecal" 1
"$nolod" 1
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"UnlitGeneric"
{
"$basetexture" "vgui/ttt/ammo/box_SMG1"
"$basetexture" "vgui/ttt/ammo/box_smg1"
"$nocull" 1
"$nodecal" 1
"$nolod" 1
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"UnlitGeneric"
{
"$basetexture" "vgui/ttt/ammo/bullet_AlyxGun"
"$basetexture" "vgui/ttt/ammo/bullet_alyxgun"
"$nocull" 1
"$nodecal" 1
"$nolod" 1
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"UnlitGeneric"
{
"$basetexture" "vgui/ttt/ammo/bullet_Pistol"
"$basetexture" "vgui/ttt/ammo/bullet_pistol"
"$nocull" 1
"$nodecal" 1
"$nolod" 1
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"UnlitGeneric"
{
"$basetexture" "vgui/ttt/ammo/bullet_SMG1"
"$basetexture" "vgui/ttt/ammo/bullet_smg1"
"$nocull" 1
"$nodecal" 1
"$nolod" 1
Expand Down
File renamed without changes.

0 comments on commit 39f3505

Please sign in to comment.