|
|
|
|
November 6th, 2001, 01:30 AM
|
Private
|
|
Join Date: Apr 2001
Location: Canada
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Object Transparency
Okay, given up on Ancient Ruins thing for the moment...
I want to use the attached background for starmap, but when I do, the objects like planets over it really show the black box of the object's dimension over the nebula images of the background.
I know bitmaps don't have transparency, but is there any way to get rid of this black box around the objects?
If you try the attached starmap.bmp to try what I mean, back up your starmap.bmp file though. This is for 1024x768 image in that directory, too.
__________________
--------------------------------------
Trk'Tri of the Kilrathi Clan
|
November 6th, 2001, 02:31 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Object Transparency
You've got to go into the map editor.
Go to each system in turn, edit it and check the "Mask Background Objects" box. This will cause any pure black areas around the planets/stars/etc to be drawn as transparent.
It DOES work, but you've got to generate, save and then edit each map before you play
__________________
Things you want:
|
November 6th, 2001, 02:33 AM
|
Private
|
|
Join Date: Apr 2001
Location: Canada
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Object Transparency
Tis cool, thanks. May get tired of that very fast. I wrote to Malfador and hopefully this transparency thing will be incorporated in the engine later. Thanks.
__________________
--------------------------------------
Trk'Tri of the Kilrathi Clan
|
November 6th, 2001, 02:49 AM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Object Transparency
No, you don't have to do it manually.
The storms and black hole systems do masking by default.
quote:
Name := Standard 3
Description := Standard solar system.
System Physical Type := Normal
Background Bitmap := Starmap.bmp
Empires Can Start In := TRUE
Mask Background Objs := FALSE
this is from systemtypes.txt. That Last entry is the relevant one. Just go in and change that to TRUE for the system types in question, and you're good to go.
Phoenix-D
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|
November 6th, 2001, 02:53 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Object Transparency
Even better. Thanks.
__________________
Things you want:
|
November 6th, 2001, 04:10 AM
|
Private
|
|
Join Date: Apr 2001
Location: Canada
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Object Transparency
Very cool, thanks... but I noticed that the actuall stars in the center of systems still has a black ring around them showing, like they aren't totally masked/transparent or whatever.
I did put every heading that uses the starmap.bmp to masking=true. Any idea why the actual stars/suns for systems still show black?
I think this starmap.bmp I posted below is a little 'loud' for systems anyway, but now I know what to do if I find a REALLY good one, thanks.
__________________
--------------------------------------
Trk'Tri of the Kilrathi Clan
|
November 6th, 2001, 04:34 AM
|
Private
|
|
Join Date: Apr 2001
Location: Canada
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Object Transparency
Ya, that one I posted below a little 'loud' for spotting ships and stuff.
Here's a good starmap replacement which includes the matching blackhole one, too. And the smaller Versions are also included. A bit of color added to the small stars in background, but no 'loud' stuff.
I suggest unzipping to a temp directory then backing up the files in the matching SE4 directories first.
__________________
--------------------------------------
Trk'Tri of the Kilrathi Clan
|
November 6th, 2001, 04:56 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Object Transparency
What you're probably seeing is the fading edge of the star.
As the color goes from bright yellow to black, the outermost edges will look black, but not be black-enough to qualify for the masking routine.
Load the bitmaps into an editor, and set those really dark edge pixels to pure black.
__________________
Things you want:
|
November 6th, 2001, 05:59 AM
|
Major
|
|
Join Date: Apr 2001
Location: Rosario, Argentina
Posts: 1,047
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Object Transparency
quote: Originally posted by suicide_junkie:
What you're probably seeing is the fading edge of the star.
As the color goes from bright yellow to black, the outermost edges will look black, but not be black-enough to qualify for the masking routine.
Load the bitmaps into an editor, and set those really dark edge pixels to pure black.
That's possible but editing all stars/planets ect is too much.
Note that if your diplay color dephth is 16 bits instead of 24 bits, your system will have a little more tolerance. I discovered that in the other way, when I didn't want some shadows to appear transparent and was puzzled when some pictures masked correctly in some systems and not in others. Well, actually Aaron told me, that's it.
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|