![]() |
110 Image Limit... megamod anyway?
Right now, there seems to be a limit of 110 new images that can be added by mods to a single game - if you try to add more than that you get a sprnbr error when you try to delay the sprites declared later in the mod file (unit # is irrelevant). Might depend on file size or something, I haven't tested carefully enough to say. If anyone has succeeded in modding in more images than 110 images at once, *please* let me know so I can figure out what I'm doing wrong (but I don't think I'm mistaken.)
You can add essentially as many *units* as you want - hundreds - but only ~100 new graphics. Johan, assuming I'm not mistaken, is this limit going to increase in future patches? I understand that it probably isn't your first priority, if you're going to increase it at all. Anyhoo - if we work under the assumption that this limit isn't going to increase, I have to decide what I'm going to put in the megamod. Do people mind if I trim their graphics down somewhat? I'd rather not do that - since I am profoundly untalented at pixel drawing as in all artistic endeavors, I am loath to lose precious eyecandy - but it's going to take real parsimony to fit in half a dozen new nations with only O(100) new graphics. |
Re: 110 Image Limit... megamod anyway?
At least some unit graphics from some nations can be swapped for ingame equivalents, not for the 'normal' version of the mod but for a version to be included in a compilation.
If I were to get my exile mod done for instance slith graphics could easily be swapped for ingame Ctis ones. |
Re: 110 Image Limit... megamod anyway?
Quote:
Hopefully the developers can increase the limit to at least 500. |
Re: 110 Image Limit... megamod anyway?
What about multiple mods? If there are several mods active that have a total of over 110 images?
|
Re: 110 Image Limit... megamod anyway?
I split them back into individual mod files and nothing seems to change.
The limit on the number of added sprites *might* be higher - since I'm not totally certain which mod it is processing "first" (definitely isn't in the order in which I processed them), but it's still the same story that about half of the mods generate a sprnbr error when all are loaded at once. If you only load 4 - seemingly any combation of 4 - everything is fine. Whether or not this corresponds to exactly 110 sprites I'm not sure. |
Re: 110 Image Limit... megamod anyway?
Looks like I am running 122 graphics no problem. I am using unit index 2600-2660 all with custom graphics with 7 mods (one for each nation I have created. This includes 7 flags and 7 banners as well for a grand total of 139 graphics.
I wonder if there is a conflict between two mods your trying to mesh, as far as #unit numbers or a bad command line pointing to an invalid image for the default or action sprite. It is worth noting I run all these mods at once and usually play games with all of them included. |
Re: 110 Image Limit... megamod anyway?
You will have another problem in that national spells cant be restricted by Age. You will have to assign separate nation numbers to different Ages of the same nation.
|
Re: 110 Image Limit... megamod anyway?
Are you sure it isn't anything to do with the namepools?
|
Re: 110 Image Limit... megamod anyway?
I wonder if there is a conflict between two mods your trying to mesh, as far as #unit numbers or a bad command line pointing to an invalid image for the default or action sprite.
I'm sorry, that's *220* unit-sprite limit, counting only units. The declarations for banners etc. are all *after* the unit sprites in the megamod file, and they all load just fine, leading me to believe that only unit sprites count against the 220 limit. It may also be that smaller sprite files use up less space. It definitely isn't a unit # conflict or the like - I deal with that in some detail in my previous thread, but basically - if you change the order in which the units are declared, the first 110 units load fine, and units after that produce a sprnbr error when you try to display them. I have a script to rationalize the unit #s between different mods - but after extensive checking *I* can't find an error in it Since other people have downloaded the output and not posted the error I've made - I tend to think that I haven't made one, although it would be foolish to assume that, of course. Blockquote me (follow the link above to get the attachments): Quote:
|
Re: 110 Image Limit... megamod anyway?
Ok, to help alleviate this problem, I am switching my mod "Haida Gwaii" to using ingame graphics. I am going to use external graphics for the pretender, the flag and the banner. This should help if you decide my mod is worthy enough to be included http://forum.shrapnelgames.com/images/smilies/happy.gif
|
All times are GMT -4. The time now is 10:32 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.