Raised This Month: $51 Target: $400
 12% 

Custom Weapon Hud problem with cstrike_download


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 12-27-2021 , 04:33   Custom Weapon Hud problem with cstrike_download
Reply With Quote #1

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?
__________________
My plugin:

Last edited by Celena Luna; 12-27-2021 at 05:29.
Celena Luna is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 12-27-2021 , 04:53   Re: Custom Weapon Hud problem with cstrike_download
Reply With Quote #2

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.
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 12-27-2021 , 16:40   Re: Custom Weapon Hud problem with cstrike_download
Reply With Quote #3

Works just fine for me. I'm not using custom sprite files though.

Attached Thumbnails
Click image for larger version

Name:	Untitled2 (1).png
Views:	78
Size:	32.3 KB
ID:	192820   Click image for larger version

Name:	Untitled (1).png
Views:	99
Size:	92.1 KB
ID:	192821  
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-27-2021 , 21:14   Re: Custom Weapon Hud problem with cstrike_download
Reply With Quote #4

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").
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:05.


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