ShareSource
| 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.
VoxelAnims' method of acquiring images
According to the following sequence, obtain and use one of body, turret, or barl as an image. If it is already satisfied, then directly break out and no longer continue checking.
- If ShareBodyData=yes is set, then it will use the techno's main (body) voxel.
- Otherwise, if ShareTurretData=yes is set, it will use the techno's turret voxel.
- Otherwise, if ShareBarrelData=yes is set, it will use the techno's barrel voxel.
- Otherwise, if Image= is set, it will use the image specified by Image=.
- Otherwise, it will use the image with the same name as the section.
- For the latter two cases, images obtained via ShareSource= will not be used.
Notes
If this TechnoType itself uses Image= to specify an image in rules(md).ini, then ShareSource will get the redirected image.
- For example, if ShareSource=DTRUCK, it will actually use the image specified by [DTRUCK]'s Image, which is [TRUCKA].
ShareTurretData and ShareBarrelData do not check whether this TechnoType actually has Turret=yes; they are called based on file naming conventions.
- That is to say, even for technos without a turret like [V3ROCKET], they can still normally call the V3ROCKETBARL.VXL and V3ROCKETBARL.HVA files.
Failure to obtain an image through SourceData will not cause a game crash, but if an non-existent image is specified through Image=, it will cause EIP#007564BD.
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 .