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

Solved [ precaching ] from model to generic


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-17-2021 , 00:08   [ precaching ] from model to generic
Reply With Quote #1

Is it possible to change world weapons models from model category to generic category? And if so how ? And would it reserve more space ?
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 08-18-2021 at 06:59.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
DeMNiX
Veteran Member
Join Date: Nov 2011
Location: Russia
Old 08-18-2021 , 04:20   Re: [ precaching ] from model to generic
Reply With Quote #2

Nope
u can use generic only with files that not spawns in the "world"
__________________
My channel with test codes
https://www.youtube.com/user/demnix03

Zombie Riot [Scenario & bots-zombie 11.11.2023]
https://youtu.be/8ZZan-aq2sc
DeMNiX is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-18-2021 , 06:12   Re: [ precaching ] from model to generic
Reply With Quote #3

Quote:
Originally Posted by DeMNiX View Post
Nope
u can use generic only with files that not spawns in the "world"
I've heard that its possible to precache models as generic. Is this even correct?
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-18-2021 , 06:58   Re: [ precaching ] from model to generic
Reply With Quote #4

Solved: Just precaching the model using precache_generic in plugin_precache forward will replace the model precache...
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 08-18-2021 at 06:59.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
DarthMan
Veteran Member
Join Date: Aug 2011
Old 08-18-2021 , 08:03   Re: [ precaching ] from model to generic
Reply With Quote #5

Quote:
Originally Posted by DeMNiX View Post
Nope
u can use generic only with files that not spawns in the "world"
While this is rare, it is actually possible to precache models as generic in some cases. However, this will only work for player models. For example, on TFC it is possible to set custom player models and have others see them without the need of precache, that includes also generic. So basically as long as you have the model in your directory and the other players have it as well, they will be able to see it. So while precaching is not even required to make this possible, you will still need to precache them as generics because otherwise the player will not be able to see these models if they are not downloaded. And precaching is the only legit way to have players download them. Yes, Arkshine made a metamod plugin some time ago that could be used to force players download files without the need of precache, but it's full of bugs and can even lead to segfaults, especially when hlds boots up, so it's not recommended to use it.
DarthMan 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:12.


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