.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
  #41  
Old June 7th, 2007, 08:54 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 Re: 110 Image Limit... megamod anyway?

Ich - could you post (or link to) the exact mod you used, so I can take a look at it?
__________________
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
  #42  
Old June 7th, 2007, 09:25 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: 110 Image Limit... megamod anyway?

I have posted the preliminary mod here: http://www.shrapnelcommunity.com/thr...?Number=526583

The last four or something units have their descriptions removed, namely some of Jomon Broken's commanders. If you remove some of the descriptions of new units from the mod (or cut and paste them higher in the mod), their descriptions show up again.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #43  
Old June 7th, 2007, 10:25 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 Re: 110 Image Limit... megamod anyway?

This mod has 161 new-unit-sprite-pairs, which is more than works when I test with full-sized sprites. However, if you use undersized sprites you can fit more.

The mod doesn't use anything in the 24xx range, so I tried adding another 100 sprite-pairs 2400-2499.

Can I add one dummy unit entry at the begining without breaking anything.... yes.

Can I add ten of the same dummy unit entry at the begining (different unit #s) without breaking anything.... yes

Can I add 100 of the same summy unit entry at the begining without breaking anything.... no!

The hoburgs play just fine but jomon crashes with the good old "sprnbr too high for file" error. Again, it has to do with order of declarations in the file (the Jomon units are declared last).

Anyway, the actual limit on the number of sprites depends on sprite size. Since most of the sprites in this mod are well below 256x256, you can fit more than the 220 pairs limit I ran into.

I'm eventually going to put together a megamod, but it'll be structured a little differently and it won't have any relationship to conceptual balance.
__________________
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
  #44  
Old June 7th, 2007, 12:03 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: 110 Image Limit... megamod anyway?

Shortlist has been updated to reflect the new information.
Reply With Quote
  #45  
Old June 7th, 2007, 12:44 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?

I think I just worked it out.

When Ich replaced all the #spr1 and #spr2 in that file with --spr1 and --spr2 he got the same sprnmber too high error. This didn't make sense to me, since that error comes from having too many extra sprites, as far as we know. When you don't input a spr1 and spr2 the game uses a default, either the pic of unit number 1, which is a arco hero or a centurion or something, a vanilla looking human, anyway,.... or it uses some huge four armed yellow trouser wearing indianesque monster (one of the mandaha or whatever demons?). I believe that all those added monsters who got converted to the huge four armed indian demon thing resulted in too much sprite size total.

In other words, using the default sprite or perhaps even copyspr might not stop space from being used up - it all depends on the size. Since the indian demon thing is very large, it takes up a lot of space and thus he got the error,....

That's my theory, anyway.
Reply With Quote
  #46  
Old November 3rd, 2007, 10:43 AM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: 110 Image Limit... megamod anyway?

I can confirm that copyspr seems to be just as bad as using new sprites, even if you are copyspr-ing a vanilla unit.

Mine and Sombre's mods contain a set of new units which copystats vanilla pretenders and then make them available for the nation. Removing this section improves the sprnbr situation. I've just managed to make my mod for Marmoset work by doing that.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #47  
Old November 3rd, 2007, 10:50 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?

So not just copyspr, but any new monsters wth sprites (ie all of them) at all?

That's harsh.

Maybe the solution is to overwrite base game monsters and declare new sprites then? Possibly to overwrite all the non used monsters so they have the smallest possible sprites? (32x32 I think).
Reply With Quote
  #48  
Old November 3rd, 2007, 06:00 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: 110 Image Limit... megamod anyway?

I have created a dummy awk script to try out where exactly the sprnbr error too high error hits, but so far I have not been able to reproduce it. What's funny, I tested replacing sprites of existing units and that stops after a couple of them, too. It doesn't crash, but even when I replaced all sprites for all the units in the game, only some of them were really replaced.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
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 10:20 PM.


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