Game Development Community

Too many datablocks? What?!?

by Jeff Leonard · in Technical Issues · 06/20/2006 (4:32 pm) · 5 replies

Apperently I have

"Exceeded maximum number of datablocks"

I'm loading up 49 scripts right now, and we need at least another 5 for all the different bots we're adding in, if we simplify some of the weapons.


So... is there a way to extend the maximum?

Or do we get to spend the next 48 hours doing some crazy data condensing just to get the same thing we have now?

#1
06/20/2006 (4:45 pm)
There is a maximum of 1024 datablocks. You can extend it if you edit the C++ code. However, if you're using 1024 datablocks, thats usually a good indication that you probably need to rethink how you're doing things ;)

T.
#2
06/20/2006 (5:06 pm)
So, if I like deleted all the underwater firing effects off of my 20 odd weapon images, would that free some space up?
#3
06/20/2006 (6:30 pm)
Are they all unique effects? Maybe look at sharing some similair effects between classes?
#4
06/20/2006 (7:17 pm)
Where can I add more?

My team talked about it and we have to hack our game to s*** to fit in this limit

Cause we have 8 characters, 13 weapons with multible fire modes, we have bots for each characters, vehicles, sounds for everything including Character voices.

With 20 to 40 datablocks per weapon alone. That's half the limit right there!

Where can I extend this limit? Because we have to cut out, custom sound, secondary fire, and God knows what else!
#5
06/20/2006 (11:21 pm)
I think you may need to take Tom and Paul's advice...I can't imagine that you can't just rework your datablock system to make them more modular to be applied along multiple weapons...