Template:VMT UVtransform: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
:# {{MdCode|outline-oneclick|rotate}} rotates the texture ''counter''-clockwise in degrees. Accepts any number, including negatives. | :# {{MdCode|outline-oneclick|rotate}} rotates the texture ''counter''-clockwise in degrees. Accepts any number, including negatives. | ||
:# {{MdCode|outline-oneclick|translate}} shifts the texture by the given numbers. {{MdCode|outline-oneclick|.5}} will shift it half-way. 1 will shift it once completely over, which is the same as not moving it at all. | :# {{MdCode|outline-oneclick|translate}} shifts the texture by the given numbers. {{MdCode|outline-oneclick|.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.}} | ||
:: {{ | :: {{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}}. | |: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|center}} определяет точку вращения. Приносит пользу только при использовании {{MdCode|outline-oneclick|rotate}}. | ||
Line 16: | Line 18: | ||
::{{Note:ru|''Все значения'' должны быть добавлены!}} | ::{{Note:ru|''Все значения'' должны быть добавлены!}} | ||
::{{Bug:ru|Масштабирование текстуры может вызвать странные проблемы, когда инструмент «Texture Lock» в Hammer фактически не фиксирует текстуру на месте.}} | ::{{Bug:ru|Масштабирование текстуры может вызвать странные проблемы, когда инструмент «Texture Lock» в Hammer фактически не фиксирует текстуру на месте.}} | ||
::{{Bug:ru|Вращающиеся текстуры, примененные к брашам, будут вращаться вокруг начала координат карты. Чтобы исправить это, нужно изменить центральное положение в VMT на начало координат браша.}} | ::{{Bug:ru|Вращающиеся текстуры, примененные к брашам, будут вращаться вокруг начала координат карты. Чтобы исправить это, нужно изменить центральное положение в VMT на начало координат браша.}}<!-- | ||
|:fr=:La position par défaut est | |||
:# | --> | ||
:# | |:fr=:La position par défaut est {{MdCode|outline|center .5 .5 scale 1 1 rotate 0 translate 0 0}}. | ||
:# | :# {{MdCode|outline-oneclick|center}} définit le point de rotation. Utilise seulement si <code>rotate</code> est utilisé. | ||
:# | :# {{MdCode|outline-oneclick|scale}} mets la texture dans le matériaux le nombre de fois spécifié. {{MdCode|outline-oneclick|2 1}} est un scale à 50% dans l'axe X. | ||
:{{ | :# {{MdCode|outline-oneclick|rotate}} tourne la texture en sens ''anti-''horaire. Accepte n'importe quel nombre, mêmes négatifs. | ||
:{{ | :# {{MdCode|outline-oneclick|translate}} modifie le placement de la texture par le nombre donné d'hauteur et de largeur. {{MdCode|outline-oneclick|.5}} 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.}} | |||
:: {{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}} | }}</includeonly></onlyinclude>{{doc|nolang=1}} |
Revision as of 06:01, 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.