AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Custom Weapon Hud problem with cstrike_download (https://forums.alliedmods.net/showthread.php?t=335716)

Celena Luna 12-27-2021 04:33

Custom Weapon Hud problem with cstrike_download
 
Tutorial: https://forums.alliedmods.net/showthread.php?t=175632

I followed this tutorial but I noticed that even though it work on Listen Server, It won't work on Deliciated Server since the weapon_<name>.txt files would be downloaded into cstrike_download/sprites folder instead of cstrike/sprites
So it shown as a yellow square (for ammo for example)
Does anyone know to fix this issue?

Shadows Adi 12-27-2021 04:53

Re: Custom Weapon Hud problem with cstrike_download
 
That's how it is working, any downloaded files will go to cstrike_download folder.
But that won't stop any custom weapon from working, because you are pushing it in WeaponList when your custom weapon is deployed.

georgik57 12-27-2021 16:40

Re: Custom Weapon Hud problem with cstrike_download
 
2 Attachment(s)
Works just fine for me. I'm not using custom sprite files though.
https://forums.alliedmods.net/attach...1&d=1640641106
https://forums.alliedmods.net/attach...1&d=1640641106

fysiks 12-27-2021 21:14

Re: Custom Weapon Hud problem with cstrike_download
 
cstrike_addon, cstrike_download, and cstrike all represent the same folder. When the game needs a file it searches all three of them for the file. Files that are downloaded (either from the server directly for fast download) are placed only in cstrike_download. Files in cstrike_addon (when enabled) override files that have the same path/name in the other folders.

This is the same for all Half-Life mods e.g. Day of Defeat (when is the "dod" folder instead of "cstrike").


All times are GMT -4. The time now is 11:31.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.