Scaling ships

Please post here for questions and discussion about scenario, art and sound modding and the game editor for Distant Worlds.

Moderators: Icemania, elliotg

Post Reply
Ingo
Posts: 4
Joined: Sun Apr 01, 2012 4:16 pm

Scaling ships

Post by Ingo »

I don't know wether anyone's already asked for this,
but how can I change the size of the ship images the game uses... and, just to make it a little more complicated, how to do this without any of the expansions?

[&:]
User avatar
Theluin
Posts: 189
Joined: Fri May 13, 2011 12:51 pm
Location: Europe, Terra

RE: Scaling ships

Post by Theluin »

By size do you mean the image resolution or the actual size of the ship in-game(Which depends only on the design the ship uses, however the game engine tends to make long and thin ships look bigger)
User avatar
Igard
Posts: 2282
Joined: Mon Mar 29, 2010 2:43 am
Location: Scotland

RE: Scaling ships

Post by Igard »

I've asked this a few times. Would be really nice to put great big Borg cubes in the game, but it's not possible I'm afraid.

The game will resize any ship image to the correct one for the game. So it's best (I'm told) to use the standard 300x300 images size for ship images otherwise it might slow things down on lower end machines.

I don't think it makes a difference what expansion you're running. The original game has been updated to perform the same as the expansions, though it's probably a little behind them by now.

You can use a trick to make the ship images appear smaller or larger in the game. By adding more pixels to the image, the game calculates the correct size to display based on the number of opaque vs transparent pixels. So more pixels, smaller ship. Less pixels, larger ship.

So thin, slender ships will appear quite large and bulky, fat ships will appear small. Hence the Borg cube dilemna.

User avatar
drillerman
Posts: 467
Joined: Thu Feb 11, 2010 6:59 pm
Location: Blighty

RE: Scaling ships

Post by drillerman »

Ships scale themselves. Doesnt matter what size you make the pictures. I assume this is written into the code.
Huh?
Post Reply

Return to “Design and Modding”