Need a little help with my ship set

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
Bestor
Posts: 18
Joined: Sun Mar 28, 2010 10:48 pm

Need a little help with my ship set

Post by Bestor »

Hi folks, Im currently having a problem scaling my ships for the set im making, I have tryed making the png's bigger and smaller but the images in game dont change as you can see in the picture below there a 3 ships.

The plan is to make the ship in the center atleased twice the size as the two battleships, or make the battleships twice as small, but all atempts to scale the images have failed, im usung gimp to edit them btw, can anyone surgest how i can re scale them?

cheers

Image
Attachments
SS1.jpg
SS1.jpg (420.37 KiB) Viewed 267 times
User avatar
BigWolfChris
Posts: 665
Joined: Wed Mar 31, 2010 4:26 pm
Contact:

RE: Need a little help with my ship set

Post by BigWolfChris »

It might be hardcoded for to be a fixed size regardless of the image files dimensions

That kinda sucks actually
AMD Ryzen 7 2700X 8 Core @3.7GHz
2x16 GB Vengeance LPX 2666MHz RAM
MSI RTX 2070 Armor 8G
SSD Drive
Deto
Posts: 105
Joined: Mon Feb 15, 2010 5:10 pm

RE: Need a little help with my ship set

Post by Deto »

Would it help if you left more 'empty' space around the sides of the image? :) Or is the game too clever to look at the actual drawn pixels and not just the image itself, hmm
User avatar
hadberz
Posts: 1794
Joined: Thu May 11, 2000 8:00 am
Location: Moncks Corner, SC

RE: Need a little help with my ship set

Post by hadberz »

The size of ships graphic depends on how many components the ship has installed. So just add more components and the ship graphic will be bigger.

Just to be clear the graphic size itself doesn't matter.
AMD Ryzen 9800X3D
MSI MPG X870E CARBON
32 GB G-Skill Model DDR5 6400
MSI Gaming X Trio RX 6950 XT 16GB
AOC Q27G3XMN 2560X1440 180 Hz
Dell G2724D 2560x1440 165Hz
Samsung 990 Pro 4TB M.2 NVMe
Win 11 Pro
richieelias
Posts: 52
Joined: Thu Mar 25, 2010 11:15 pm

RE: Need a little help with my ship set

Post by richieelias »

Havent done it myself, but making the ship itself smaller inside the 200x200 png file should work (as in the ship takes up 100x100 pixels inside a 200x200 png). I'll try it out in a bit and let you know if it worked.

edit: nope, the game ignores empty space inside the png's, resizing and centering everything so that it fits the same area.

I was able to 'force it' by placing a single black pixel in the upper left and lower right corners though.
User avatar
Igard
Posts: 2282
Joined: Mon Mar 29, 2010 2:43 am
Location: Scotland

RE: Need a little help with my ship set

Post by Igard »

Might just result in a more pixelated image. ie. it zooms into the smaller png but still making the ship the same size.

This is going to be a problem with star wars mods. Empire ships need to be bigger.
richieelias
Posts: 52
Joined: Thu Mar 25, 2010 11:15 pm

RE: Need a little help with my ship set

Post by richieelias »

And a little update - apparently forcing it just did some very strange things inside the game... somehow the ship is still the same size but the triangle is now huge.... Dont understand how or why it would do that. Looks like the graphics engine is a little too smart for its own good.
User avatar
hadberz
Posts: 1794
Joined: Thu May 11, 2000 8:00 am
Location: Moncks Corner, SC

RE: Need a little help with my ship set

Post by hadberz »

Here is a example of what I said above. Both Star Trek ships are the same graphic file.

Image
Attachments
Shipssize.jpg
Shipssize.jpg (81.44 KiB) Viewed 268 times
AMD Ryzen 9800X3D
MSI MPG X870E CARBON
32 GB G-Skill Model DDR5 6400
MSI Gaming X Trio RX 6950 XT 16GB
AOC Q27G3XMN 2560X1440 180 Hz
Dell G2724D 2560x1440 165Hz
Samsung 990 Pro 4TB M.2 NVMe
Win 11 Pro
User avatar
hadberz
Posts: 1794
Joined: Thu May 11, 2000 8:00 am
Location: Moncks Corner, SC

RE: Need a little help with my ship set

Post by hadberz »

Here is the design. Both ships are escorts. The smaller ship has only 1 of each required component. the larger ship is maxed out with components. Notice the size, that is what determines how large the ship will be in game.



Image
Attachments
test1.jpg
test1.jpg (252.01 KiB) Viewed 267 times
AMD Ryzen 9800X3D
MSI MPG X870E CARBON
32 GB G-Skill Model DDR5 6400
MSI Gaming X Trio RX 6950 XT 16GB
AOC Q27G3XMN 2560X1440 180 Hz
Dell G2724D 2560x1440 165Hz
Samsung 990 Pro 4TB M.2 NVMe
Win 11 Pro
User avatar
D.W.O.H
Posts: 49
Joined: Mon Apr 05, 2010 8:21 pm

RE: Need a little help with my ship set

Post by D.W.O.H »

that star trek ship is awesome!!

Are these ships downloadable or is their a dl area here for the files guys come up with?
Democratic Worlds Of Humanity.
richieelias
Posts: 52
Joined: Thu Mar 25, 2010 11:15 pm

RE: Need a little help with my ship set

Post by richieelias »

Yes I know it gets smaller with less components. I was trying to artificially get something even smaller, say, fighter sized.

It's just very strange that putting dots in or near the edges didnt work.

Actually, the dot trick did work for the ship designer and resulted in a teensie ship there, but was still regular sized (with a gigantor triangle) in the rest of the game.
User avatar
hadberz
Posts: 1794
Joined: Thu May 11, 2000 8:00 am
Location: Moncks Corner, SC

RE: Need a little help with my ship set

Post by hadberz »

I got ya, yeah it's hardcoded.

@ D.W.O.H

Here is my test set, I didn't draw crap, just cut and pasted [:)] Some of the ships still need work,
Attachments
family1.zip
(414.74 KiB) Downloaded 14 times
AMD Ryzen 9800X3D
MSI MPG X870E CARBON
32 GB G-Skill Model DDR5 6400
MSI Gaming X Trio RX 6950 XT 16GB
AOC Q27G3XMN 2560X1440 180 Hz
Dell G2724D 2560x1440 165Hz
Samsung 990 Pro 4TB M.2 NVMe
Win 11 Pro
Bestor
Posts: 18
Joined: Sun Mar 28, 2010 10:48 pm

RE: Need a little help with my ship set

Post by Bestor »

Hey guys thanks for the help here, i had tryed to force it and i got the same mega triange problem too, its a shame the ships get bigger with more mods on them, kinda silly mechanic tbh,

I hope they fix that and allow bigger than 200 x 200 images in the future cause that mothership in the pic at the top should be 3 to 4 times bigger than those battleships. nm ill leave it for now and try again later if the fix it, cheers for all the help though guys.
Post Reply

Return to “Design and Modding”