Создание стекла (GoldSrc)

From Valve Developer Community
< Ru
Revision as of 02:34, 13 October 2026 by Another OWL (talk | contribs) (Cleaned up deprecated 3.1 parameters (gldsrc, hl, hammer). This action was performed by a bot.)
Jump to navigation Jump to search
English (en)Русский (ru)中文 (zh)Translate (Translate)

{{Gldsrc topicon}} is deprecated. This wiki no longer uses any top icons due to their inconsistent coverage and visual clutter. Do not use these templates.

← GoldSrc (Half-Life SDK) Level Design
Icon-callout-cleanup.png
This article or section needs to be cleaned up to conform to a higher standard of quality because:
Reason 

Need to cover the following topics:

  • Additive translucency is the most common transparency method for glass, but changing renderamt can also work.
  • Rendermodes "texture" and "additive" always render the brush entity as fullbright, which the non-FGD ZHLT/VHLT KV zhlt_embedlightmap can be used to work around.

В этой статье будет рассмотрен процесс создания простейшего стекла в  Valve Hammer Editor для движка  GoldSrc ( Half-Life).

Инструкция

  1. Создайте небольшой браш (небольшой толщины, не более 16), и откройте браузер текстур.
  2. Введите в поиск слово glass и выберите подходящую вам текстуру стекла (обычно они отличаются только прозрачностью).
  3. Сделайте браш сущностью с помощью кнопки (to Entity) и выберите func_breakable.
  4. В поле "Render Mode" выберите Additive.
  5. В поле "Material Type" выберите Glass.
  6. Стекло готово!