ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

AlphaImage

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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