Raised This Month: $ Target: $400
 0% 

bypassing the precache 512 limit


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Prajch
Senior Member
Join Date: Dec 2007
Location: anger++
Old 09-06-2008 , 03:28   Re: bypassing the precache 512 limit
Reply With Quote #3

Quote:
Originally Posted by stupok69 View Post
As I stretch my imagination, I think I can see a way to use more than 512 models, even though only 512 have been precached. It's awful. You could, for example, make an "animated" sprite with hundreds of frames that would contain all of the other sprites. That way, you could consolidate all the sprites into one massive sprite and control which frames are displayed with an AMXX plugin. This means that you would precache one very large sprite instead of ~30 (I don't know how many) small independent sprites. I suppose you could use a similar method to embed several different models into one .mdl file. I've never tried such a method and it's just an idea so it could be complete bollocks in practice.
That's actually a pretty interesting idea that I might try...

Does anyone know where the 512 limit is imposed? Is it hlds.exe? I've tried some disassembly and I can't locate the error string anywhere (failed to precache bla bla bla).
Prajch is offline
 



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:10.


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