This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Block BSP list precache files


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheVaskov
Member
Join Date: Sep 2021
Location: Russia
Old 01-19-2024 , 04:56   Block BSP list precache files
Reply With Quote #1

As we know:
BSP map files contain models and materials.
Unfortunately, specifically in DODS, after caching files whose names match the originals, which are represented in the Valve.vpk file system. Even after changing the card to another one, the modified files from the BSP container remain in the pre-cached list .

I will describe the problem and the task in other words:
The "dod_control_point" entity is created and a model from the BSP container is assigned to it.
I need to assign the original model from the Valve file system.

Is there a way to forcibly clear the cache or force it to download files from the file system first?
Is there another way, will it work? Make copies of the original files and rename them, then rehash and replace the entity model. I don't want to use the HEX editor to delete file paths to entities or something like that. there are many such cards
__________________
TheVaskov is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 01-19-2024 , 07:09   Re: Block BSP list precache files
Reply With Quote #2

maybe you can use stripper to modify before precache, without an example I can't guess much what are you asking about.
__________________
Marttt is offline
TheVaskov
Member
Join Date: Sep 2021
Location: Russia
Old 01-19-2024 , 08:01   Re: Block BSP list precache files
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
maybe you can use stripper to modify before precache, without an example I can't guess much what are you asking about.
What kind of stripper is this?

its fun but stripper didn't works for change model. =) Maybe i Did mistake but its so simple to make it rightly

Simple Example:
I have DOD:S hlds server with metamod+sourcemod
ar_lumberyard.bsp - map for Day of Defeat:Source
There are "models/mapmodels/flags.mdl" and material is in bsp-container.
when server starts , this model precached from bsp file, but i need precahe stock model form DODSHLDS/dod/dod_pak_005.vpk/models/mapmodels/flags.mdl and materials.

So I need previusly force prechace from Valve File System and block strings from bsp.
I need always stock models , I don't need custom models from bsp file
__________________

Last edited by TheVaskov; 01-19-2024 at 08:24.
TheVaskov is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-19-2024 , 11:06   Re: Block BSP list precache files
Reply With Quote #4

...this can be client side problem.

You could try by creating new custom flags (with original textures), then change dod_control_point to use those textures (with Stripper)
- If you have sv_pure 1 in use, you need add these custom textures in pure_server_whitelist.txt
*edit
hmmm.. those were HUD icons what you can select.

Then need use whole custom flag model.
__________________
Do not Private Message @me

Last edited by Bacardi; 01-19-2024 at 11:14.
Bacardi 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 06:31.


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