Template: VMT UV Transform
Aus Valve Developer Community
Zur Navigation springen
Zur Suche springen
…
Die Dokumentationsseite Template:VMT UVtransform/doc/de existiert nicht.
Es folgt unter dieser Meldung stattdessen die englische Dokumentation, sofern sie existiert.
Es folgt unter dieser Meldung stattdessen die englische Dokumentation, sofern sie existiert.
Template with text.
Parameters
{{{suf}}} - Optional. This is a suffix that will be added to all elements of the template to display the content in the desired language (if it is translated into it).
Bemerkung:There should be a colon before the language code, for example ":es".
Examples
{{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.
Bemerkung:All values must be included!
Fehler:Scaling the texture may cause odd issues where the Texture Lock tool in Hammer will not actually lock the texture in place. [todo getestet in ?]
Fehler: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 getestet in ?]
{{VMT UVtransform|suf=:fr}}
- La position par défaut est
center .5 .5 scale 1 1 rotate 0 translate 0 0.centerdéfinit le point de rotation. Utilise seulement sirotateest utilisé.scalemets la texture dans le matériaux le nombre de fois spécifié.2 1est un scale à 50% dans l'axe X.rotatetourne la texture en sens anti-horaire. Accepte n'importe quel nombre, mêmes négatifs.translatemodifie le placement de la texture par le nombre donné d'hauteur et de largeur..5la bougera de moitié.
Bemerkung:Toutes les valeurs doit être inclues!
Fehler:Utiliser scale peut causer des bugs assez bizarres ou l'outil Texture Lock dans Hammer ne va pas bloquer la texture ou elle est. [todo getestet in ?]
Fehler: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 getestet 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%.
Bemerkung:Все значения должны быть добавлены!
Fehler:Масштабирование текстуры может вызвать странные проблемы, когда инструмент «Texture Lock» в Hammer фактически не фиксирует текстуру на месте. [todo getestet in ?]
Fehler:Вращающиеся текстуры, примененные к брашам, будут вращаться вокруг начала координат карты. Чтобы исправить это, нужно изменить центральное положение в VMT на начало координат браша. [todo getestet in ?]