This article's documentation is for the "GoldSrc" engine. Click here for more information.
This article's documentation is for anything that uses the Source engine. Click here for more information.

Pt-br/Creating Brush Entities: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
Agora você deve conseguir compilar o mapa e ver a porta funcionando.
Agora você deve conseguir compilar o mapa e ver a porta funcionando.


== Finishing ==
== Terminando ==
Open the [[Hammer Texture Browser|Texture Browser]] and [[Hammer Texture Browser#Filter|filter]] for “door”. Choose a material that you like and apply it to your brush as you would normally. You might also want to build a wall that connects the door to the edges of your map.
Abra o [[Hammer Texture Browser|Texture Browser]] e [[Hammer Texture Browser#Filter|filtro]] para “porta”. Escolha um material que você goste e aplique-o ao brush como faria normalmente. Talvez você também queira construir uma parede que conecte a porta às bordas do mapa.


[[File:Decorated door.jpg|400px|thumb|none|But don’t get too carried away!]]
[[File:Decorated door.jpg|400px|thumb|none|Mas não se empolgue muito!]]


==Destroying==
==Destruindo==
To make a brush entity back into a regular one, select it and press {{key|Ctrl+Shift+W}}, or '''ToWorld''', right next to the ToEntity button you clicked earlier.
Para transformar uma entidade de pincel em uma entidade normal, selecione-a e pressione {{key|Ctrl+Shift+W}}, ou '''ToWorld'''', ao lado do botão ToEntity que você clicou anteriormente.


{{Navbar
{{Navbar

Revision as of 13:05, 9 September 2024

Info content.png
This page needs to be translated.
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)
Under construction.png
This page is actively undergoing a major edit.
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.

English (en)Français (fr)Magyar (hu)日本語 (ja)Português do Brasil (pt-br)Русский (ru)中文 (zh)Translate (Translate)

criamos brushes. Há um outro lado deles: as entidades de brush

Neste exemplo, criaremos um brush que funciona como uma porta deslizante. Quando o jogador tocar o brush, ele se elevará no ar e permitirá a passagem.

Uma func_door básica

Construção

  1. Selecione o bloco Block tool Hammer block.png e crie um novo brush. 128×128×16 é um bom tamanho, mas qualquer tamanho serve.
    Tip.pngDica:Se a grade do Hammer for muito grande para ser reduzida a 16 unidades, pressione [ ou clique em Smaller Grid' Hammer SmallerGrid.png para reduzi-la. Nunca desative o encaixe a menos que você realmente precise!
  2. Mova o brush para uma entidade (também conhecido como “amarrar” a uma entidade) usando Ctrl+T ou o botão toEntity:

    Botão Hammer toEntity

    Tip.pngDica:Se você tiver desmarcado o brush ao qual deseja vincular a entidade, será necessário selecionar novamente, caso contrário, o botão toEntity não funcionará quando você clicar nele
  3. Isso abrirá a caixa de diálogo Propiedades do Objeto:

    Dialogo de Propriedades do Objeto

    Tip.pngDica:Se você precisar acessar a caixa de diálogo novamente mais tarde, selecione o brush e pressione Alt+Enter.
  4. Select func_door from the “Class” drop-down menu in the top left (you can search by typing into the box) and hit “Apply”.
  5. Near the bottom of the main “Keyvalues” list, find “Move Direction”. Either change its value to read “-90 0 0” or select “Up” from the drop-down list to the left of the black circle.
  6. Click “Apply” again, then close the Object Properties dialog.

Agora você deve conseguir compilar o mapa e ver a porta funcionando.

Terminando

Abra o Texture Browser e filtro para “porta”. Escolha um material que você goste e aplique-o ao brush como faria normalmente. Talvez você também queira construir uma parede que conecte a porta às bordas do mapa.

Mas não se empolgue muito!

Destruindo

Para transformar uma entidade de pincel em uma entidade normal, selecione-a e pressione Ctrl+Shift+W, ou ToWorld', ao lado do botão ToEntity que você clicou anteriormente.



Stub

This article or section is a stub. You can help by expanding it.