Template:VMT UVtransform: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{lang|{{FULLPAGENAME}}|Template: VMT UV Transform}} | {{lang|{{FULLPAGENAME}}|Template: VMT UV Transform}} | ||
<onlyinclude><includeonly>:The default position is {{MdCode|outline|center .5 .5 scale 1 1 rotate 0 translate 0 0}}. | <onlyinclude><includeonly>{{#switch:{{{suf|}}} | ||
|#default=:The default position is {{MdCode|outline|center .5 .5 scale 1 1 rotate 0 translate 0 0}}. | |||
:# {{MdCode|outline-oneclick|center}} defines the point of rotation. Only useful if {{MdCode|outline-oneclick|rotate}} is being used. | :# {{MdCode|outline-oneclick|center}} defines the point of rotation. Only useful if {{MdCode|outline-oneclick|rotate}} is being used. | ||
:# {{MdCode|outline-oneclick|scale}} fits the texture into the material the given number of times. {{MdCode|outline-oneclick|2 1}} is a 50% scale in the horizontal X axis while the vertical Y axis is still at original scale. | :# {{MdCode|outline-oneclick|scale}} fits the texture into the material the given number of times. {{MdCode|outline-oneclick|2 1}} is a 50% scale in the horizontal X axis while the vertical Y axis is still at original scale. | ||
Line 7: | Line 8: | ||
:: {{note|''All values'' must be included!}} | :: {{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.}} | :: {{bug|Scaling the texture may cause odd issues where the Texture Lock tool in Hammer will not actually lock the texture in place.}} | ||
:: {{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.}}</includeonly></onlyinclude>{{doc|nolang=1}} | :: {{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.}} | ||
|:ru=:Позиция по умолчанию: {{MdCode|outline|center .5 .5 scale 1 1 rotate 0 translate 0 0}}. | |||
:# {{MdCode|outline-oneclick|center}} определяет точку вращения. Приносит пользу только при использовании {{MdCode|outline-oneclick|rotate}}. | |||
:# {{MdCode|outline-oneclick|scale}} вставляет текстуру в материал заданное количество раз. {{MdCode|outline-oneclick|2 1}} — это 50%-ый масштаб по оси X. | |||
:# {{MdCode|outline-oneclick|rotate}} вращает текстуру "против часовой стрелки/по часовой стрелке" в градусах. Принимает любое число, включая негативы. | |||
:# {{MdCode|outline-oneclick|translate}} сдвигает текстуру до заданных значений. Значение {{MdCode|outline-oneclick|.5}} сдвинет текстуру на 50%. | |||
::{{Note:ru|''Все значения'' должны быть добавлены!}} | |||
::{{Bug:ru|Масштабирование текстуры может вызвать странные проблемы, когда инструмент «Texture Lock» в Hammer фактически не фиксирует текстуру на месте.}} | |||
::{{Bug:ru|Вращающиеся текстуры, примененные к брашам, будут вращаться вокруг начала координат карты. Чтобы исправить это, нужно изменить центральное положение в VMT на начало координат браша.}} | |||
|:fr=:La position par défaut est <code>"center .5 .5 scale 1 1 rotate 0 translate 0 0"</code>. | |||
:# <code>center</code> définit le point de rotation. Utilise seulement si <code>rotate</code> est utilisé. | |||
:# <code>scale</code> mets la texture dans le matériaux le nombre de fois spécifié. '<code>2 1</code>' est un scale à 50% dans l'axe X. | |||
:# <code>rotate</code> tourne la texture en sens ''anti-''horaire. Accepte n'importe quel nombre, mêmes négatifs. | |||
:# <code>translate</code> modifie le placement de la texture par le nombre donné d'hauteur et de largeur. '<code>.5</code>' la bougera de moitié. | |||
:{{note|''Toutes les valeurs'' doit être inclues!}} | |||
:{{bug|Utiliser ''scale'' peut causer des bugs assez bizarres ou l'outil Texture Lock dans Hammer ne va pas bloquer la texture ou elle est.}} | |||
}}</includeonly></onlyinclude>{{doc|nolang=1}} |
Revision as of 05:59, 10 December 2022
The above documentation is transcluded from Template:VMT UVtransform/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.