ShadowIndex: Difference between revisions
Appearance
en>Millefeuille No edit summary |
en>Testid123 mNo edit summary |
||
| Line 1: | Line 1: | ||
{{flag|files={{Categ|Art(md).ini}}|ra2=yes|yr=yes|ares=yes}} | {{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=2''' you will get [[IE]]. | |||
==See also== | ==See also== | ||
* [[Shadow]] | * [[Shadow]] | ||
* [[NoShadow]] | * [[NoShadow]] | ||
Revision as of 02:02, 10 October 2024
|
|
|
|
|
|
| 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=2 you will get IE.





