.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old February 8th, 2007, 02:40 AM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default 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.
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Reply With Quote
  #2  
Old February 8th, 2007, 03:36 AM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default 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.
Reply With Quote
  #3  
Old February 8th, 2007, 04:51 AM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: 110 Image Limit... megamod anyway?

Quote:
DrPraetorious said:
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
That is bad news.
Hopefully the developers can increase the limit to at least 500.
__________________
There can be only one.
Reply With Quote
  #4  
Old February 8th, 2007, 05:08 AM
Teraswaerto's Avatar

Teraswaerto Teraswaerto is offline
Major
 
Join Date: Nov 2003
Location: Finland
Posts: 1,050
Thanks: 0
Thanked 2 Times in 2 Posts
Teraswaerto is on a distinguished road
Default Re: 110 Image Limit... megamod anyway?

What about multiple mods? If there are several mods active that have a total of over 110 images?
__________________
Great indebtedness does not make men grateful, but vengeful; and if a little charity is not forgotten, it turns into a gnawing worm.
Reply With Quote
  #5  
Old February 9th, 2007, 12:40 PM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default 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.
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Reply With Quote
  #6  
Old February 9th, 2007, 02:20 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default 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.
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #7  
Old February 9th, 2007, 03:43 PM
Amos's Avatar

Amos Amos is offline
Captain
 
Join Date: Feb 2005
Posts: 867
Thanks: 0
Thanked 41 Times in 19 Posts
Amos is on a distinguished road
Default 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.
Reply With Quote
  #8  
Old February 9th, 2007, 03:49 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: 110 Image Limit... megamod anyway?

Are you sure it isn't anything to do with the namepools?
Reply With Quote
  #9  
Old February 9th, 2007, 06:58 PM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default 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:

Okay, here's how I know that isn't the problem.

Compare the two mod files I've attached (megamod_late.dm and megamod_late2.dm are zipped together) - you can swap from one to the other by renaming and then restarting the dominions executable. The only difference between the two is WHERE IN THE FILE the dwarves (Kharam Dzu) appear. You will also need the attachment at the root of this thread for the graphics if you don't already have it.

If Kharam Dzu appears in the middle of the file, you can play them (sprites for their initial commander load just fine), but when you try to recruit units, the game crashes (one of their recruitables is triggering the sprite error, therefore.)

On the other hand, if you move that entire block of monsters to the begining (as in the second file) Kharam Dzu becomes playable - and Trade Confederation, which appears immediately before Kharam Dzu in the first file, becomes unplayable. If you look at exactly what I'm moving, it has to be the number of things and not any particular thing which is causing the crash. The other nations that are playable in version 1 remain playable in version 2, even though they are also now-after Khazam Dzu.

So - Trade Federation becomes unplayable when you add Kharam Dzu to the begining of the file, but everything before Trade Federation remains playable, meaning I haven't added anything to the begining that screws up the entire rest of the file. Am I making sense?

I think this means that something somewhere is overflowing, and it's happening halfway through the unit list, and effecting all units after the overflow, even though all the units are formatted just fine.

Since whatever it is that's overflowing is triggering a sprite loading error - I would tend to assume that it's the custom sprite memory block (or something, again I don't know how Johan has engineered the thing) which is overflowing.

__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Reply With Quote
  #10  
Old February 9th, 2007, 07:16 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default 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
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
Reply

Bookmarks


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 On

Forum Jump


All times are GMT -4. The time now is 07:21 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.