Template:VMT UVtransform/doc: Difference between revisions
Jump to navigation
Jump to search
Note:There should be a colon before the language code, for example ":es".
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{doc|0}}</noinclude> | <noinclude>{{doc|0}}</noinclude> | ||
Template with text. | |||
==Parameters== | ==Parameters== | ||
*{{param|suf}} - ''Optional''. This is a suffix that will be added to all elements of the template to display the table in the desired language (if it is translated into it). In addition, all links in the template will lead to the version of the article in the selected language. | *{{param|suf}} - ''Optional''. This is a suffix that will be added to all elements of the template to display the table in the desired language (if it is translated into it). In addition, all links in the template will lead to the version of the article in the selected language. |
Revision as of 05:29, 10 December 2022

This is a documentation subpage for Template:VMT UVtransform.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Template with text.
Parameters
- {{{suf}}} - Optional. This is a suffix that will be added to all elements of the template to display the table in the desired language (if it is translated into it). In addition, all links in the template will lead to the version of the article in the selected language.

Examples
{{VMT UVtransform}}
- The default position is center .5 .5 scale 1 1 rotate 0 translate 0 0.
- center defines the point of rotation. Only useful if rotate is being used.
- scale fits the texture into the material the given number of times. 2 1 is a 50% scale in the horizontal X axis while the vertical Y axis is still at original scale.
- rotate rotates the texture counter-clockwise in degrees. Accepts any number, including negatives.
- translate shifts the texture by the given numbers. .5 will shift it half-way. 1 will shift it once completely over, which is the same as not moving it at all.
Note:All values must be included!
Bug:Scaling the texture may cause odd issues where the Texture Lock tool in Hammer will not actually lock the texture in place. [todo tested in ?]
Bug:Rotating textures applied on brushes will rotate around the map origin (confirm: Orangebox engine only?). A fix for this is to change the center position in the VMT to the brush's origin. [todo tested in ?]