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

Difference between revisions of "ShareSource"

From ModEnc
Jump to: navigation, search
 
(Rewritten with bug info)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{flag
Specifies the voxel object name from which this animation shares its voxel data (if different from its name). The effect of this is that the VXL and HVA files specified with this statement are used for the display of this object. TIP: use the RULES.INI name of the object, not the ART.INI name.
+
|values={{Values|strings|names of [[TechnoTypes]]}}
 +
|default=none
 +
|types={{Categ|VoxelAnims}}
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
 
 +
Indicates that this [[VoxelAnim]] should take this [[TechnoType]]'s voxel as its image. If {{f|ShareBodyData|yes|link}} is set, then it will use the main (body) voxel. Otherwise, if {{f|ShareTurretData|yes|link}} is set, it will use the turret voxel. Otherwise, if {{f|ShareBarrelData|yes|link}} is set, it will use the barrel voxel.
 +
 
 +
{{Bugs}}
 +
This flag is very much broken. If the [[TechnoType]] referenced here is redefined later in the gamemode/map files, and this animation is not, attempting to display this anim will crash the game. See http://bugs.renegadeprojects.com/view.php?id=1677 .

Revision as of 06:25, 30 July 2011

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: ShareSource
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: names of TechnoTypes)
Default: none
Applicable to: VoxelAnims


Indicates that this VoxelAnim should take this TechnoType's voxel as its image. If ShareBodyData=yes is set, then it will use the main (body) voxel. Otherwise, if ShareTurretData=yes is set, it will use the turret voxel. Otherwise, if ShareBarrelData=yes is set, it will use the barrel voxel.

Cc alert.png Bugs/Side-Effects/Unexpected Limitations

This flag is very much broken. If the TechnoType referenced here is redefined later in the gamemode/map files, and this animation is not, attempting to display this anim will crash the game. See http://bugs.renegadeprojects.com/view.php?id=1677 .