PDA

View Full Version : Modding References.


HoneyBadger
August 26th, 2008, 09:09 PM
I have a question about sizes in the game. Can anyone give me a breakdown on the general pixel size (16x16, 32x32, 64x64 etc) for unit sizes in the game? How large are the largest graphics currently appearing in the Vanilla game?

If I can get some answers on this, then I'll edit the thread into a little reference chart for modders making graphics.

Thanks!

Ballbarian
August 26th, 2008, 09:29 PM
The biggest is 128x128, the smallest is 16x32.

HoneyBadger
August 26th, 2008, 10:49 PM
Ok, thanks! So how are my dragons that I've posted comparing in size to say an elephant? Any idea? Considering that the largest one-the Earthquake Dragon-is 196x191 (the attack sprite) Am I drawing them ridiculously huge?

I'm working on the Sirocco now, and I'm trying to get the size right...

Ballbarian
August 26th, 2008, 11:06 PM
Elephant is 128x128.

I don't know if images over 128 (width or height) will work. The modding document states:

The size of the image should be 8, 16, 32, 64 or 128 pixels
wide/high. A human being should be about 32 pixels
high and there should be 2 pixels of free space between
his feet and the bottom of the image.
Note that it says "should be". Maybe you can safely go beyond these guidelines, but I have never tried it. :)

HoneyBadger
August 26th, 2008, 11:08 PM
I think you can...I'm pretty sure I've used larger images before in mods.

I hope so, anyway. It'll take a lot of work to redo what I've got so far, and these dragons *are* supposed to be BIG. As big or bigger than an elephant, anyway.

Ballbarian
August 26th, 2008, 11:12 PM
It may just be that the recommended sizes correspond to the grid space on the battlefield and the unit size attribute. Actually, that is likely the case. So you should have a lot of flexibility in height, and risk the graphic intruding on the space of another unit if you exceed the recommended width.

HoneyBadger
August 26th, 2008, 11:17 PM
That makes sense-they probably will intrude a bit in some cases-the Flood Dragon, for instance, but that's ok. I don't mind them overshadowing other units a bit, if that's the only big issue.

Thanks again, Ballbarian.

Endoperez
August 27th, 2008, 03:57 AM
Ok, thanks! So how are my dragons that I've posted comparing in size to say an elephant? Any idea? Considering that the largest one-the Earthquake Dragon-is 196x191 (the attack sprite) Am I drawing them ridiculously huge?

I'm working on the Sirocco now, and I'm trying to get the size right...

Dominions might resize the pictures unless they are squares. If they don't look right in the game, try expanding the canvas to 256x256.

Aezeal
August 27th, 2008, 04:36 AM
Lol for my dom 3000 mod I like to use the full 128x128 fo size 6 creatures.. and for sixe 5 about 100x100 (in the 128x128 canvas of course) anything larger than 100 will look very large in the recruit troops screen and could overlap with the next unit... but large dragons should be HUGE!!!

--> see my oni-dragon in the latest version of dom 3000

Aezeal
August 27th, 2008, 04:39 AM
I think that anything larger than 128 will look very strange on the map (main) screen when it's a commander.. the serpentine tail of my dragon already overlaps with the leader above it.

Kristoffer O
August 27th, 2008, 04:24 PM
I think a unit wider than 80 (possibly 100) begins to overlap other squares. 128 definitely overlaps a bit in each direction.

HoneyBadger
August 27th, 2008, 04:49 PM
Thanks, everybody!

As long as it doesn't make the game crash, I'm satisfied.

Edratman
August 27th, 2008, 09:45 PM
KO is on the money. When I tried 120 wide the unit overlapped adjacent commanders on the main screen. 100 wide fills the commander box but didn't appear to overlap at the magnification I use.