Jump to content

AlphaImage

From ModEnc²
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: AlphaImage
File(s): rules(md).ini
Values: Strings, see below
Special Values: None
Default: none/null
Applicable to: InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes



Using/modifying the effect

To use/edit/add alternate effects of this type, you'll need the proper palette, that goes from black(#0) to white(#255). To help you, I've uploaded the correct palette in JASC format and RA2 format.

Pallette indecies (0-126) mess up the image, index 127 does nothing, and (128-255) add (index-127) to the lighting.

Also, you can get the original alphatst.shp here.

Examples

The original effect:

Also, see the LOOK DADDY, NO LAG! screenshot.


Credits

Blade - documented this effect and the way image data is rendered onto the map.

DCoder - lag stress test, screenshots, rewrite.

NineBreakerFan - palette conversion to RA2 format and color 127 research.

gamemate - animated SHP & movable object test.

Renegade - custom SHP/gradient tests