Jump to content

ShadowIndex: Difference between revisions

From ModEnc²
en>Gordon-creAtive
New page: {{flag|files=art(md).ini|types=VehicleTypes|ra2=yes|yr=yes|rp=yes|xgamer=yes}}Category:Gameslist not complete Only applies to objects with voxel images, and voxel files with multip...
 
m 6 revisions imported
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{flag|files=[[art(md).ini]]|types=VehicleTypes|ra2=yes|yr=yes|rp=yes|xgamer=yes}}[[Category:Gameslist not complete]]
{{flag
Only applies to objects with voxel images, and voxel files with multiple sections. This determines which voxel section will be used to render the shadow of the unit. For example, in a helicopter voxel, it probably has two sections, for the rotors and the main body. ShadowIndex= allows you to make the game draw the shadow based on either the body or the rotors.
|files={{Categ|Art(md).ini}}
|values={{Values|integer}}
|default=0
|types=[[Voxel]]
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}
Only applies to objects with voxel images, and voxel files with multiple sections. This determines which voxel section will be used to render the shadow of the unit. For example, in a helicopter voxel, it probably has two sections, for the rotors and the main body. '''ShadowIndex=''' allows you to make the game draw the shadow based on either the body or the rotors.<br>If your [[Voxel]] has only one section But you specified '''ShadowIndex=x''' (values ​​of x greater than 0 ;;0=1 Section, 1=2 Section, 2=3 Section ...) you will get [[IE]].
 
==Note==
*Values ​​less than '''0''' such as '''-1,-2,-3 ...''' will cause the voxel to have no shadows (equivalent to {{f|NoShadow|yes|link}}).
 
==See also==
* [[Shadow]]
* [[NoShadow]]

Latest revision as of 22:04, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: ShadowIndex
File(s): Art(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: Voxel


Only applies to objects with voxel images, and voxel files with multiple sections. This determines which voxel section will be used to render the shadow of the unit. For example, in a helicopter voxel, it probably has two sections, for the rotors and the main body. ShadowIndex= allows you to make the game draw the shadow based on either the body or the rotors.
If your Voxel has only one section But you specified ShadowIndex=x (values ​​of x greater than 0 ;;0=1 Section, 1=2 Section, 2=3 Section ...) you will get IE.

Note

  • Values ​​less than 0 such as -1,-2,-3 ... will cause the voxel to have no shadows (equivalent to NoShadow=yes).

See also