Fr/Creating a wall light

From Valve Developer Community
< Fr
Revision as of 14:38, 11 April 2010 by Shazamic (talk | contribs) (trad en cours)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Otherlang2


Introduction

Dans ce guide, vous allez apprendre comment construire un mur éclairé, comme on en voit dans les chambres de test de Portal.

L'effet désiré.

Etapes

Etape 1

D'abord créer une salle, pour l'exemple du guide, nous allons utiliser une salle de 384*384*256 avec des murs de 16 unités. Assurez-vous que le toit touche les murs uniquement par les arrêtes.

Etape 2

Step 2
Texture the edges of the roof with the same texture you used for your roof.

Etape 3

Step 3
Shrink the roof by four on each end, so in this case, from 384*384 -> 376*376

Etape 4

Step 4
Create a 4*16 block with the invisible texture and put it right beside your newly shrunk roof. They should fit so there are no leaks.

Etape 5

Step 5
Copy the invisible blocks and re-texture them to have nodraw. Move them higher above the invisible blocks so you can easily preform step 6

Etape 6

Step 6
Texture the bottom of the nodraw 4*16 blocks to light_recessedcool002. Rotate the recessed texture with the face edit tool so it is parallel with the block, with the lighter side of the gradient facing the inside of the room. TIP: Change the light_recessedcool002 textures light map resolution to 8 to create a more constant glow. Also, you may choose to set the texture scale higher, so the light does not have the breaks in them

Etape 7 (Optionnel)

Step 7

You do not have to place the overlays, the differences are negligible.

Move the nodraw blocks to sit on top of the invisible blocks.

Etape 8

Step 8
Select all the top walls and pull them up so they enclose the invisible blocks.

Etape 9

Step 9
Add an overlay with decals/overlay_light_gradient, and change the vstart/end to .99 instead of 1.

Etape 10

Step 10
Resize to fit, and move inside of the hole.

Etape 11

Step 11
Répétez l'opération sur tous les murs.

Etape 12

Compilez la map, et assurez-vous qu'elle ne comporte pas de leak.

|}

Template:Otherlang:en Template:Otherlang:en:ru