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

Voxel (INI flag)

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: Voxel
File(s): art(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: TechnoTypes: AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes
as well as ObjectTypes: Animations, Projectiles, TMPTiles, OverlayTypes, ParticleSystems, Particles, SmudgeTypes, TerrainTypes and VoxelAnimTypes


Specify whether this section corresponds to a Voxel-type resource file. For specific content, refer to Voxel.

If set to no, the program will use the Shape format (default) to read the corresponding file when this section is used.

Notes

For buildings that use the default naming convention to call a Voxel-type turret, this can additionally enable TurretOffset.

Projectiles that had Voxel=true images were hardcoded to have downwards initial trajectory.

Bugs/Side-Effects/Unexpected Limitations

Although this parameter belongs to all objects, not all types can switch between shape and voxel resource files. Only VehicleTypes, AircraftTypes, VoxelAnims, and the turret of BuildingTypes truly support using Voxel.

  • Among them, if AircraftTypes lack a corresponding Voxel resource file, it will cause a crash, while VoxelAnims ignore this flag and attempt to call a Voxel resource file.
  • For other types that do not support Voxel resource files, some will ignore this flag and attempt to call a shape, such as InfantryTypes, while others will lose their images due to Voxel=yes, such as Particles.

References

Starting from Phobos Build#48, the initial facing behavior of projectiles with Voxel=true can now be customized. Refer to Phobos documentation.

See Also