Jump to content

VoxelBarrelScale: Difference between revisions

From ModEnc²
en>Crimsonum
Created page with "{{Flag |name={{PAGENAME}} |files={{Categ|ini=rules}} |types={{Categ|BuildingTypes}} |values={{Values|float}} |default=1.0 |fs=yes |ra2=yes |yr=yes }} Specifies a multiplier t..."
 
m 4 revisions imported
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|default=1.0
|default=1.0
|fs=yes
|fs=yes
|ra2=yes
|ra2=no
|yr=yes
|yr=no
}}
}}


Specifies a multiplier to this building's barrel [[voxel]] model bounds. This increases or decreases the size of the barrel.
Specifies a scale multiplier to this building's barrel [[voxel]] model. This increases or decreases the size of the barrel.


Note that modifying the bounds only changes the size of the model "canvas", not the size of individual voxels. If a scale larger than 1 is used, gaps are introduced between individual voxels, producing holes and distorted colors in the in-game barrel graphics.
== Notes ==
[[File:VoxelBarrelScaleBeyond1.gif|thumb|{{PAGENAME}} > 1.0]] Note that {{tt|1.0}} is the maximum for individual voxels. Using values higher than {{tt|1.0}} does not increase the size of the voxels, but it continues to spread them apart, causing gaps to appear between the individual voxels. It also causes some sort of memory corruption, with distorted colors appearing in the in-game barrel graphics.


== See Also ==
== See Also ==
Line 18: Line 19:
* [[VoxelBarrelFile]]
* [[VoxelBarrelFile]]
* [[VoxelBarrelOffsetToPitchPivotPoint]]
* [[VoxelBarrelOffsetToPitchPivotPoint]]
* [[VoxelBarrelOffsetToRotationPivotPoint]]
* [[VoxelBarrelOffsetToRotatePivotPoint]]
* [[VoxelBarrelOffsetToBuildingPivotPoint]]
* [[VoxelBarrelOffsetToBuildingPivotPoint]]
* [[VoxelBarrelOffsetToBarrelEnd]]
* [[VoxelBarrelOffsetToBarrelEnd]]

Latest revision as of 22:11, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: VoxelBarrelScale
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Default: 1.0
Applicable to: BuildingTypes


Specifies a scale multiplier to this building's barrel voxel model. This increases or decreases the size of the barrel.

Notes

VoxelBarrelScale > 1.0
Note that 1.0 is the maximum for individual voxels. Using values higher than 1.0 does not increase the size of the voxels, but it continues to spread them apart, causing gaps to appear between the individual voxels. It also causes some sort of memory corruption, with distorted colors appearing in the in-game barrel graphics.

See Also