Transparency Table Plugin

Hi,

I uploaded a plugin that replaces Nova's 8-bit transparency table, and it was just posted on the Add-ons page. The transparency table that comes with Nova is designed for alpha-blending, while engine glows and running lights are designed for additive color. This means that, while glows were SUPPOSED to be added to the base image (i.e. green + red = yellow), in 8-bit color they are merely pasted on top (green + red = red). This probably looks worst on the Vell-Os ships. Here's an example:
Posted Image
As you can see, on the left the glow is pasted on top of the base image, while on the right it is added. This plugin only affects 8-bit color mode, but I think enough of you use 8-bit color to warrant a mention here. It makes the game look so much better that I would consider this a must-have for anyone using EVN in 8-bit. Ionization colors are also additive. The only disadvantages I have discovered so far are the following:

  • The base sprites of translucent ships are additive, but this doesn't look too bad.

  • When you are in a murky system, ships look really strange out towards the edges of your view.

  • Running lights are only additive when they are at less than 100% brightness - if they are at 100%, then they are still drawn opaquely.

The plugin is called "AdditiveColorTtab.bin".

-Vaumnou

------------------
Did you know that 63.8% of quoted statistics are made up on the spot?
"He's too late. SEE?!? THE CLIFFS OF INSANITY!!! Hurry up!"
"You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. .... Radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat." - Albert Einstein

(This message has been edited by Vaumnou (edited 05-31-2003).)

Vaumnou++

But how did you replace Nova's transparency table with a plugin?

------------------
May those who love us, love us, and may those who don't love us, may God turn their hearts; and if He doesn't turn their hearts, may He turn their ankles, so we'll know them by their limping.
(url="http://"http://www.evula.org/monster/")Monster Studios(/url) - (url="http://"http://www.evula.org/monster/studio/c.html")Caribbean(/url)

Quote

Originally posted by Mantaray:
**Vaumnou++

But how did you replace Nova's transparency table with a plugin?**

Nova will let you replace practically anything with a plug. It just uses the System open resource file commands, so a resource in a plugin will automatically overwrite whatever equivalent type/ID resource is in a data file. For example, I just tested a plugin that replaces the "Map dialog" DITL from the EV Nova application with a different one (just for testing purposes). I don't know what the limit on replacing resources is; I suppose you can replace anything that isn't already loaded into memory and locked by the time plugins are opened. You probably can't (or at least shouldn't) replace CODE resources. But Nova is perfectly happy with Ttäb's.

-Vaumnou

------------------
Did you know that 63.8% of quoted statistics are made up on the spot?
"He's too late. SEE?!? THE CLIFFS OF INSANITY!!! Hurry up!"
"You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. .... Radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat." - Albert Einstein

(This message has been edited by Vaumnou (edited 05-31-2003).)

As a matter of fact, you can replace CODE resources. I recall there was an EV plugin that used a code resource to upgrade the AI to EVO 1.0.2's caliber.

Vamnou, you seriously rock. I considered making one of these myself, but have never found the time.

This should seriously be an essential.

------------------
Eat blazing electric death!
(url="http://"http://www.evula.org/infernostudios/ept/")Unofficial EV and EVO Ports(/url): Both currently in FC1.

Whoa, very nice...Is it possible to do this with 16-bit?

------------------
(url="http://"http://mywebpages.comcast.net/genea16/Rift.html")Rift Homepage(/url)
(url="http://"http://pub101.ezboard.com/briftwebboards")Rift Webboards(/url)
Apparently, common sense isn't so common...
~Nick

Quote

Originally posted by nwa728:
**Whoa, very nice...Is it possible to do this with 16-bit?

**

Color tables are not used in 16bit, so the effect is done in code. I believe it was done correctly in the code, but I might be mistaken.

------------------
(url="http://"http://www.ariossoftware.com")Arios SoftWare(/url)
(url="http://"http://www.ariossoftware.com/programs/evone/")EVONE 1.0.0 - the plugin editor for EV/EVO/EVN(/url)