Ru/Breakable Glass: Difference between revisions
< Ru
		
		
		
		Jump to navigation
		Jump to search
		| m (creating new article) | m (partial translation) | ||
| Line 1: | Line 1: | ||
| {{totranslate:ru}} | {{totranslate:ru}} | ||
| # Create a [[brush]] where you want the glass to be, using the [[tool textures#nodraw|nodraw]] [[texture]]. Like real glass, it should be very thin (No more than 3 units thick under normal curcumstances). | # Создайте [[brush:ru|браш]], покрытый текстурой [[tool textures#nodraw|nodraw]]. Так же, как и настоящее стекло, браш должен быть тонким (от 1 до 3). | ||
| # Примените подходящую текстуру для '''одной''' грани (не для всех сторон). Лучше всего использовать материал <code>glass/glasswindowbreak070a</code>. Не используйте <code>glass/glasswindowbreak070b</code>. Другие стороны браша должны быть покрыты текстурой <code>tools/toolsnodraw</code>. | |||
| # Выберите браш и нажмите кнопку "to[[Entity]]". В раскрывающемся списке выберите [[func_breakable_surf]]. (если хотите сразу же ломающееся стекло, выберите [[func_breakable]].) | |||
| # Выберите ''Glass'' для значения '''Material Type'''. | |||
| # Добавьте энтити [[env_cubemap]] для поверхности стекла | |||
| <!--# Create a [[brush]] where you want the glass to be, using the [[tool textures#nodraw|nodraw]] [[texture]]. Like real glass, it should be very thin (No more than 3 units thick under normal curcumstances). | |||
| # Apply a nice-looking glass texture to one face (not on both sides). Make sure you use <code>glass/glasswindowbreak070a</code>. Don’t use <code>glass/glasswindowbreak070b</code>. All other faces should be textured with <code>tools/toolsnodraw</code>. | # Apply a nice-looking glass texture to one face (not on both sides). Make sure you use <code>glass/glasswindowbreak070a</code>. Don’t use <code>glass/glasswindowbreak070b</code>. All other faces should be textured with <code>tools/toolsnodraw</code>. | ||
| # Select the brush and click the "to[[Entity]]" button in the object toolbar. Choose [[func_breakable_surf]] in the drop-down list. (If you want the glass to completely shatter all at once, choose [[func_breakable]] instead.) | # Select the brush and click the "to[[Entity]]" button in the object toolbar. Choose [[func_breakable_surf]] in the drop-down list. (If you want the glass to completely shatter all at once, choose [[func_breakable]] instead.) | ||
| # Go to the [[Material]] Type [[keyvalue]] and select Glass. | # Go to the [[Material]] Type [[keyvalue]] and select Glass. | ||
| # Add an [[env_cubemap]] to the surface of the glass texture (put it right on there). | # Add an [[env_cubemap]] to the surface of the glass texture (put it right on there).--> | ||
| {{note|You can apply your texture to just one side of the brush entity by opening the [[Hammer Face Edit Dialog]], ensuring the '''Mode''' is set to ''Select'' or ''Lift + Select'', and clicking once in the 3D view on the face you want to apply the texture to.  Then, select a material with either the drop down box or the browse button, and click apply.}} | {{note|You can apply your texture to just one side of the brush entity by opening the [[Hammer Face Edit Dialog]], ensuring the '''Mode''' is set to ''Select'' or ''Lift + Select'', and clicking once in the 3D view on the face you want to apply the texture to.  Then, select a material with either the drop down box or the browse button, and click apply.}} | ||
Revision as of 11:35, 13 July 2009
- Создайте браш, покрытый текстурой nodraw. Так же, как и настоящее стекло, браш должен быть тонким (от 1 до 3).
- Примените подходящую текстуру для одной грани (не для всех сторон). Лучше всего использовать материал glass/glasswindowbreak070a. Не используйтеglass/glasswindowbreak070b. Другие стороны браша должны быть покрыты текстуройtools/toolsnodraw.
- Выберите браш и нажмите кнопку "toEntity". В раскрывающемся списке выберите func_breakable_surf. (если хотите сразу же ломающееся стекло, выберите func_breakable.)
- Выберите Glass для значения Material Type.
- Добавьте энтити env_cubemap для поверхности стекла
 Примечание:You can apply your texture to just one side of the brush entity by opening the Hammer Face Edit Dialog, ensuring the Mode is set to Select or Lift + Select, and clicking once in the 3D view on the face you want to apply the texture to.  Then, select a material with either the drop down box or the browse button, and click apply.
Примечание:You can apply your texture to just one side of the brush entity by opening the Hammer Face Edit Dialog, ensuring the Mode is set to Select or Lift + Select, and clicking once in the 3D view on the face you want to apply the texture to.  Then, select a material with either the drop down box or the browse button, and click apply.См. также
Template:Otherlang:ru Template:Otherlang:ru:en, Template:Otherlang:ru:jp