ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
AlphaImage
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
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