Author Topic: Having trouble adding custom made planet...  (Read 1596 times)

0 Members and 2 Guests are viewing this topic.

Offline Polpolion

  • The sizzle, it thinks!
  • 211
Having trouble adding custom made planet...
Okay. So. I made an image of two planets, a gas giant and a moon, in GIMP. I saved it as a 256x256 PCX in GIMP, put it in my mods effects folder, and replaced an entry in stars.tbl with it. It shows up in FRED in the background box, but when I add it, it doesn't appear. And I have confirmed that "display backgrounds" is on. I'll attach the image to see if anyone can help.

Thanks! :)

EDIT: If it helps, I'm running 3.6.9 and FRED is not using the MVPs. I'll actually double check now.

EDIT2: It has the -fredhtl tag on it, but the mod folder it is directed to does not have a mod.ini that links it to the media vps.

[attachment deleted by ninja]

 
Re: Having trouble adding custom made planet...
Have you made sure that the image is indexed instead of rgb before saving? That's tripped me up a few times...

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Having trouble adding custom made planet...
Why use a 256x256 pcx in this day and age out of curiosity? At least a 512 x 512 tga or jpeg would be better. And, err, sounds like you forgot to reduce it to 256 colours.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Having trouble adding custom made planet...
In editing/testing stage TGA is probably the best option.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Polpolion

  • The sizzle, it thinks!
  • 211
Re: Having trouble adding custom made planet...
Okay, I'll try a 512x512 TGA with 256 colours.

EDIT: Okay it still doesn't appear in FRED but it appears ingame now, which is good enough. Unfortunatly the green that is supposed to be invisible is still there, but I'll try something now.

EDIT: So the "green" actually had a value of 12 red, 255 green, 0 blue, so thats why I thought it still showed up, but when I changed it to 0,255,0 the green still showed up on the edge.

[attachment deleted by ninja]
« Last Edit: January 04, 2008, 09:12:54 am by thesizzler »

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Having trouble adding custom made planet...
0,255,0 = transparent works only with 8-bit PCX images.

For other types (you can use more colors too), JPG, TGA, DDS you need to use either alpha transparency or additive transparency... For planets - which should use alpha - the best solution is probably to set proper transparency values (planet to fully non-transparent and the surrounding space fully transparent and possible atmospheric layer somewhere between the two extremes).

For fred you could try -jpgtga command line option...
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Polpolion

  • The sizzle, it thinks!
  • 211
Re: Having trouble adding custom made planet...
Yay! it works! Thanks, everybody :)

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Having trouble adding custom made planet...
TGAs can be 16 million colours, for the record
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
Re: Having trouble adding custom made planet...
Sizzler, would you de me a favor? I got a HQ 2048x2048 earth pic I've been wanting to get done right for years.

This is what it looks like done improperly:


The Green showed up and I blacked it all out (but you can see the ring around it still pixilated).

If I upload the original pic could you convert it? (everyone who uses an "Earth" as a pic instead of a model could benefit.)
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline Polpolion

  • The sizzle, it thinks!
  • 211
Re: Having trouble adding custom made planet...
Sure. Unless something crazy pops up I'll be able to do it tomorrow. :)

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
Re: Having trouble adding custom made planet...
http://earthobservatory.nasa.gov/Newsroom/BlueMarble/Images/globe_west_2048.jpg

other side

http://earthobservatory.nasa.gov/Newsroom/BlueMarble/Images/globe_east_2048.jpg

Darn image attachment limit, even in .rar was too big so I had to find the original DL source I found them on.
enjoy!  :D


"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)