Prevent Crashing
Hey, i recently started to remake a old addons but my problem is the 512 limit, all good, got an unprecacher, but, some weapons' models i add has the base weapon on some of the unprecached weapons and i want to provent model change but i don't know how i should do that, by using Ham and hook spawn and setmodel and then supercede? By using fakemeta think then change the unprecached models if they re used with an empty model? I thought i could actually use Entity Resource Replacement plugin but didn't work...
|
Re: Prevent Crashing
Or never mind, it s just a **** problem evwryone has and cannot be avoided, that s probably it
|
Re: Prevent Crashing
You'll need to hook DefaultDeploy.
https://github.com/s1lentq/ReGameDLL...pons.cpp#L1337 |
Re: Prevent Crashing
Thanks, i'm going to try this right away
|
Re: Prevent Crashing
What about world models? Weapon's world model.
|
Re: Prevent Crashing
You can hook FM_SetModel i assume
|
Re: Prevent Crashing
Quote:
|
Re: Prevent Crashing
The question is when are you hooking it?
|
Re: Prevent Crashing
Quote:
Edit: nvm, it worked this time thanks @Natsheh and @CrazY. rukia :bacon: :) in previous try on this i usev pev to get the model, im so d*** :)))) |
Re: Prevent Crashing
How exactly did you use Entity Resource Replacement?
What exactly did not work? If you use complete replacement then models are not precached. If you use dynamic replacement then old models will still be precached. |
| All times are GMT -4. The time now is 02:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.