Template: VMT UV Transform
De Valve Developer Community
Ir a la navegación
Ir a la búsqueda
Plantilla con texto.
Parámetros
{{{suf}}} - Opcional. Este es un sufijo que se añadirá a todos los elementos de la plantilla para mostrar el contenido en el idioma deseado (si está traducido).
Nota:Debe haber dos puntos antes del código del idioma, por ejemplo ":es".
Ejemplos
{{VMT UVtransform}}
- The default position is
center .5 .5 scale 1 1 rotate 0 translate 0 0.centerdefines the point of rotation. Only useful ifrotateis being used.scalefits the texture into the material the given number of times.2 1is a 50% scale in the horizontal X axis while the vertical Y axis is still at original scale.rotaterotates the texture counter-clockwise in degrees. Accepts any number, including negatives.translateshifts the texture by the given numbers..5will shift it half-way. 1 will shift it once completely over, which is the same as not moving it at all.
Nota:All values must be included!
Error: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 ?]
Error: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 ?]
{{VMT UVtransform|suf=:es}}
- La posición predeterminada es
center .5 .5 scale 1 1 rotate 0 translate 0 0.centerdefine el punto de rotación. Solo es útil si se está usandorotate.scaleajusta la textura en el material el número de veces dado.2 1es un escalado del 50% en el eje horizontal X mientras que el eje vertical Y aún está en la escala original.rotaterota la textura en sentido antihorario en grados. Acepta cualquier número, incluidos los negativos.translatedesplaza la textura por los números dados..5la desplazará a la mitad. 1 la desplazará completamente una vez, lo cual es lo mismo que no moverla en absoluto.
Nota:¡Todos los valores deben ser incluidos!
Error:El escalado de la textura puede causar problemas extraños donde la herramienta de Bloqueo de Texturas en Hammer no bloqueará realmente la textura en su lugar. [todo tested in ?]
Error:Rotar texturas aplicadas en pinceles rotará alrededor del origen del mapa (confirmar: ¿solo en el motor Orangebox?). Una solución para esto es cambiar la posición central en el VMT al origen del pincel. [todo tested in ?]
{{VMT UVtransform|suf=:ru}}
- Позиция по умолчанию:
center .5 .5 scale 1 1 rotate 0 translate 0 0.centerопределяет ценр вращения. Необходим только при использованииrotate.scaleвставляет текстуру в материал заданное количество раз.2 1— это 50%-ый масштаб по оси X.rotateвращает текстуру "против часовой стрелки/по часовой стрелке" в градусах. Принимает любое число, включая негативы.translateсдвигает текстуру до заданных значений. Значение.5сдвинет текстуру на 50%.
Nota:Все значения должны быть добавлены!
Error:Масштабирование текстуры может вызвать странные проблемы, когда инструмент «Texture Lock» в Hammer фактически не фиксирует текстуру на месте. [todo tested in ?]
Error:Вращающиеся текстуры, примененные к брашам, будут вращаться вокруг начала координат карты. Чтобы исправить это, нужно изменить центральное положение в VMT на начало координат браша. [todo tested in ?]
La documentación de arriba se toma de Template:VMT UVtransform/doc/es. (Editar | Historial)
Los editores pueden experimentar en este sandbox de la plantilla (create | [1]) y testcases (create).
Los editores pueden experimentar en este sandbox de la plantilla (create | [1]) y testcases (create).