Raised This Month: $ Target: $400
 0% 

[REQ] [DEV] Precache Viewer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 01-05-2018 , 11:17   [REQ] [DEV] Precache Viewer
Reply With Quote #1

I'm looking for a method of viewing a list of files that were actually precached after a map is loaded.

Game: TF2

Purpose: I don't believe a sound file is actually precached at all, and I'd like to definitively know if that is true.

Issue: I use an mp3 sound file that is played during a map vote. The game lags players the first time the sound is played. I don't believe it should be doing that if the the sound is properly precached.

Game: TF2
Downloader/Precache System: S_Downloader (and I've tried others)
PC Gamer is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 01-05-2018 , 21:04   Re: [REQ] [DEV] Precache Viewer
Reply With Quote #2

Games tested: CS:GO, L4D, and L4D2

I think the Is*Precached() booleans are useless too. I have 2 test plugins on a local server with the basic SM plugins only, one with those functions while the other just precaches directly without checking, and the results...

1st: After spawning the model/entity that is presumed to be precached due to the check, the game crashes with a message like "*something something* UtilModel: model <file name here> not precached.".
2nd: The game doesn't crash whatsoever no matter how many times the model/entity is spawned unless it reaches maximum limit of entities that can be spawned.

Last edited by cravenge; 01-05-2018 at 21:05.
cravenge 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:43.


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