The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
January 24, 2020, 09:45:35 am
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  General UQM Discussion (Moderator: Death 999)
| | |-+  What can i use to modify ship sprites?
« previous next »
Pages: [1] Print
Author Topic: What can i use to modify ship sprites?  (Read 952 times)
The Guy
Zebranky food
*
Offline Offline

Posts: 12



View Profile
What can i use to modify ship sprites?
« on: March 05, 2011, 02:27:36 am »

Recently i've been trying to modify the avenger sprite -it was too pink for me-, to turn it purple. I unzipped the images from the contents file and changed their color using Paint Shop Pro, the problem is, that the game doesn't recognize the new colors, now the avenger has a rainbow-like color, i tried a 256 and later a 16-color palette, but didn't work. Using Paint gave me a somewhat better result but it erased the transparent parts. What program can i use?
« Last Edit: March 05, 2011, 05:01:48 pm by The Guy » Logged
onpon4
Enlightened
*****
Offline Offline

Gender: Male
Posts: 709


Sharing is good.


View Profile WWW
Re: What can i use to modify ship sprites?
« Reply #1 on: March 05, 2011, 03:54:00 am »

While I have no idea what your color problem is being caused by, I can suggest one editor: GraphicsGale Free Edition. KolourPaint, part of the KDE package, might also work (it's essentially like MS Paint, but supports alpha transparency). There is also of course the GIMP, if you prefer something more like Photoshop.

Of course, since I have no idea what your color problem could be caused by, I'm not sure any of these will work, but they might be worth a try.
Logged

Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: What can i use to modify ship sprites?
« Reply #2 on: March 05, 2011, 08:28:47 am »

When SC2 was originally made, PC games mostly used a 256-colour (indexed) graphics mode. Basically, only 256 colours from a predefined palette could be shown on screen at one time. UQM still assumes that you are using one and the same palette for almost everything in battle, so you can't change the palette. In other words, if you end up converting the image from indexed to RGB, you'll almost certainly end up with the wrong palette when you convert it back, and when UQM then tries to display your image with the standard palette, the colours will be all wrong. In GIMP, at least, you can do all your editing in indexed mode, avoiding this problem. You should be able to do this in Paint Shop Pro (or at least it was easy back in 1997; I haven't used PSP much lately).

UQM includes some support for 16-bit RGB, since that's what the 3DO version of SC2 uses for some graphics. Have you tried saving in 16-bit colour instead?
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Quinarbre
Frungy champion
**
Offline Offline

Posts: 60



View Profile
Re: What can i use to modify ship sprites?
« Reply #3 on: March 06, 2011, 09:19:10 pm »

From the experience we had in modding, my advice is to save in true color (32 bit RGBA), this is well accepted and will prevent any palette issue.
However you may get transparency issues, so you'll have to change the .ani files too, so that the first number in each row is -2 (instead of -1 or 0).
For instance :
Code:
avenger-big-000.png 0 1 18 22
becomes
Code:
avenger-big-000.png -2 1 18 22
Logged
The Guy
Zebranky food
*
Offline Offline

Posts: 12



View Profile
Re: What can i use to modify ship sprites?
« Reply #4 on: March 07, 2011, 09:23:49 pm »

thank you guys, i solved it  Smiley

Saving in 16 bit RGB worked for big images and icons, but for medium and small images i had problems with the cloaking effect (they didn't turn white before disappearing) so i had to use GIMP for modding them
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!