Diablo 2 mods
 


Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed Oct 25, 2017 12:49 am 
 Post subject: [Any Versions] sprite limit
 
Offline
Crusader

Joined: Fri Apr 03, 2015 11:59 am
Posts: 52
Gender: None specified
How to removed the sprite limit. Objects, Players, Monsters, etc will no longer go invisible when there are a lot of missiles / sprites on the screen.


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 25, 2017 11:28 am 
 Post subject: Re: [Any Versions] sprite limit
 
Offline
Senior Moderator
Senior Moderator
User avatar

Age: 26
Joined: Sat Mar 25, 2006 1:22 pm
Posts: 8814
Location: The Land of the Dead
Gender: Male
This requires rewriting the ptView constructor to allocate more than 3000 slots (they are shared between tiles/shadows/units), and then you need to shift all the references to the members after the slot pool as well. An alternative is to rewrite the render chain builder and walker for shadows so that a unit only occupies 1 slot for itself and its shadow (instead of 2 separate slots). As a plus the builder is also the place to rewrite if you want to support drawing farther into the world.

_________________
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 06, 2017 6:40 pm 
 Post subject: Re: [Any Versions] sprite limit
 
Offline
Knight

Joined: Wed Jan 13, 2010 7:47 pm
Posts: 39
Gender: None specified
It was done in last Eastern Sun patch, you can ask AlphA for a starting point i think.


Top
 Profile  
Reply with quote  
PostPosted: Thu Dec 07, 2017 3:44 pm 
 Post subject: Re: [Any Versions] sprite limit
 
Offline
Hosted Forum Moderator
Hosted Forum Moderator
User avatar

Joined: Sat Oct 31, 2009 12:28 pm
Posts: 233
Gender: None specified
:mrgreen: :mrgreen: :mrgreen: Thats gold right there. It was thaison who did it for Eastern Sun Rises.

Cheers
AlphA


Top
 Profile  
Reply with quote  
PostPosted: Thu Dec 07, 2017 5:50 pm 
 Post subject: Re: [Any Versions] sprite limit
 
Offline
Knight

Joined: Wed Jan 13, 2010 7:47 pm
Posts: 39
Gender: None specified
:D Ok, so, Thaison probably can help with starting point :D

P.S. I'm also interested how to rid of sprite limit.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Black Rock template by onyx (based on BlackSoul for phpBB2)