Glass creation (GoldSrc)
{{subst:#if:|||
Important step for replacing wikilinks after you've created this page
After you click 'Edit' do what the image shows. If you can't see editing toolbar you need to enable it in 'Preferences' -> Editing -> checkbox 'Enable the editing toolbar'
![]() |
参见: {{LAuto}}
|
- STEP 2. Replace links
(see https://developer.valvesoftware.com/wiki/Template:LAuto for more detailed steps, search/replace below is for copy/paste convenience)
- SEARCH FOR:
\[\[(?!#|File(?:[ _]talk)?:|Image(?:[ _]talk)?:|Media:|Template(?:[ _]talk)?:|MediaWiki(?:[ _]talk)?:|Talk:|Category[ _]talk:|Project[ _]talk:|Valve[ _]Developer[ _]Community[ _]talk:|Help[ _]talk:|User(?:[ _]talk)?:|c:|commons:|Dictionary:|Google:|GoogleGroups:|IMDB:|M:|Meta:|Metawikipedia:|MW:|SdkBug:|SourceForge:|Steampowered:|W:|Wiki:|WikiBooks:|Wikipedia:|Wikiquote:|Wiktionary:|WP:)(:?(?:Category|Category|Help|Project|Valve[ _]Developer[ _]Community|Special|)(?:[^\|\]]+))(\|?.*?)\]\]
- REPLACE WITH:
{{subst:LAuto|$1$2}}
- STEP 3. After 'Replace all' do 'Show changes' and quickly check if links were properly replaced. After that when you save this notice will also disappear.
- STEP 4. You can get to translating

As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
The person who added this notice will be listed in its edit history should you wish to contact them.

This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.(en)


This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.(en)
The following content or section specifically needs to be translated:
This is a DeepL translation of Glass creation (GoldSrc)/ru with some lingual cleanup. It is not completely formatted, and may have some errors.
This article will walk you through the process of creating a simple glass in the Valve Hammer Editor for the GoldSrc (Half-Life) engine.
Breakable glass
- Open the texture browser
- Select a glass texture of your choice
- Create a brush
- Open the Object Properties window (highlight the brush and Ctrl+t)
- Change the object class to func_breakable
- Ensure the Material type is Glass
- Change the FX Amount of the object to modify the transparency of the glass (1-255; 1 is fully transparent, 255 is fully opaque)
- (optional) Change the Strength of the object to modify the amount of damage required to break the glass (higher value is higher "health" of the glass)
- (optional) Change Gibs Direction from Random to Relative to Attack
- (optional) Change the Render Mode to Additive (from Texture) to change the appearance
Unbreakable glass
- Open the texture browser
- Select a glass texture of your choice
- Create a brush
- Open the Object Properties window (highlight the brush and Ctrl+t)
- Change the FX Amount of the object to modify the transparency of the glass (1-255; 1 is fully transparent, 255 is fully opaque)
- (optional) Change the Render Mode to Additive (from Texture) to change the appearance
External links
VERC: Glass and Transparency (originally posted on the VERC; mirrored from the original on the TWHL Wiki)
Tutorial: Glass
Vlatitude: Glass Tutorial
Tutorial: Adding Glass to Doors