Can the game only display square images?

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Fri May 20, 2016 4:00 am

I have a ship that is 160 px width and 240 px height, but

Code: Select all

<Image imageID="&rsNerefir;" imageX="-0" imageY="0" imageWidth="160" imageHeight="240" rotationCount="40"/>
is causing it to display really wonky.


If I try

Code: Select all

<Image imageID="&rsNerefir;" imageX="-10" imageY="0" imageWidth="240" imageHeight="240" rotationCount="40"/>
it displays normally but slightly off center to the left.

What do?
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.

User avatar
AssumedPseudonym
Militia Captain
Militia Captain
Posts: 957
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

Fri May 20, 2016 6:28 am

 I’d always meant to experiment with that, but never got around to it. If it isn’t working, though, I’d suggest padding the left and right sides with 40 pixels of black, just to square it up.
Image

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)

User avatar
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Fri May 20, 2016 12:55 pm

Yeah, AP is right.
Workaround (from Xephyr in IRC):
<Xephyr> In GIMP just go to Image>Canvas size, set it to 240 width, then click "Center"

This should pad the image until it's square and will display correctly.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.

relanat
Militia Commander
Militia Commander
Posts: 409
Joined: Tue Nov 05, 2013 9:56 am

Sat May 21, 2016 1:04 am

Completely baseless speculation leads me to give the following vague comments. :lol:

Try 'imageX="0"' instead of '-0'.

Also make sure the ship is exactly central in the image. If it's a couple of pixels off to one side it looks weird.

Not sure what you mean by "wonky" but this might help. Shrugs.

Plus thanks, RPC. GIMP hints are always appreciated.

User avatar
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Sat May 21, 2016 1:14 am

By wonky I meant that the ship's center was off to the side and not in the center of the screen.
Also yeah I caught the -0, that was when I thought I could trick the game so it would move the center of the ship.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.

PM
Fleet Admiral
Fleet Admiral
Posts: 2235
Joined: Wed Sep 01, 2010 12:54 am

Sat May 21, 2016 1:45 am

It used to be able to handle rectangular images, but that may not be the case anymore. If so, I forget when that regression happened.
Download and Play in 1.7 Beta...
Playership Drones v7 (Beta): Acquire and command almost any ship in Stars of the Pilgrim or Eternity Port.
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Relive classic arcade gaming in a new Transcendence adventure!
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.

User avatar
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Sat May 21, 2016 2:48 am

Yeah I remember that too PM. I think the change from rectangle to square happened when George update the game to require masks.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.

Post Reply