Jump to content

Shadow

From ModEnc²
Revision as of 15:28, 11 February 2025 by en>Testid123
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Shadow
File(s): Rules(md).ini, art(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: yes


This flag controls whether or not this Projectile's image draws a shadow on the ground. (The shadows in this section correspond to reality. But the shadow relies on the original image to determine the shadow's appearance).

For Art.ini or Artmd.ini determines whether this Image has a shadow or not. (The shadows in this section are created by drawing custom shadows. Therefore, the direction of the shadow does not correspond to reality).
For Animations If there is Shadow=yes even though we didn't create a shadow ourselves. But this tag will be generated automatically. But the shadows created by automatic creation It won't render properly. The position of the shadow corresponds to reality. But it does not correspond to the original image that was used to render the shadows.

Note

  • Images in the Particles section will not read this tag. Although the Image in the section Animations will have this tag.
  • When TechnoTypes is in the same position as the shadow Makes the shadow that the game shows seems abnormal.
    File:Shadow Mirage.png
  • The reason why the shadow of the SHP image Disappears when in a sloped area (including some areas) Probably from the height of Creating shadows that are not high enough.
    File:Shadow Limitations(SHP).png
    Original
    File:Shadow(Edit).png
    Edit
  • Since the color used to create shadows in the Snow Theater is created with the color code 1(0x001), the color of the shadow is lower than the object (objects within the shadow's boundary will not have a darker color).

[!]The reason Westwood created the color of the shadow with the color code 1(0x001) is probably because it is easy to distinguish when scrolling to the frame of the shadow, because the color code 0(0x000) is the background color of the frame.