Login to ZARP
Username: Password: Remember me

TOPIC: valve hammer editor (help 2.0)

valve hammer editor (help 2.0) 6 years 1 month ago #847227



How do I turn on the lights in this thing so I can begin making maps?
  • Studio Banter
  • Studio Banter's Avatar
  • Offline
  • Marvelous Boarder
  • ZARP VIP
  • ❤️
  • Posts: 14007
  • Thanks received: 5848
  • Karma: -60
Last Edit: 6 years 1 month ago by Studio Banter.
Login or register to post a reply.

valve hammer editor 6 years 1 month ago #847229

Now we’ll add some lighting to the room. If no lights are placed your map will automatically be lit “fullbright” when it is loaded in the game, but as you’ll have noticed this is hardly ideal. Creating lights will make your map look far more realistic.

Note: In order to see lighting in a map which was previously loaded in the game without lights, you may need to open the developer console and set mat_fullbright to “0”.
Activate the Entity tool Mt-entities.png (lights are entities too) and pick light from the drop-down list in the Object Toolbar. This is the most basic light of them all, and it shines all around from an invisible source. Place one in the center of the ceiling now by clicking in the 3D view:
Place the light.

We are now going to edit the color and brightness of this light. Switch back to the Selection tool Hammer select.png, and then double-click on the light entity in the 3D View to open the Object Properties dialog. To bring up the settings for the light’s brightness, find and click on the Brightness field in the KeyValues list.
While you could type a color into the new text box directly, it’s better to use Hammer’s built-in dialog by clicking the Pick color button, just beneath the text box:
Select the Brightness field, then click the Pick color button.

The Color dialog will now appear, letting us change the color of the light.
Change the hue and saturation of the color by clicking in the square color spectrum area on the right.
Because luminance is set to max, the color will still be white. Lower the luminance to change the color from bright white to something of the hue you picked. You can see how the color changes in the preview square at the bottom of the dialog to something more colorful, instead of white.
Click the OK button to confirm your choice:
Change the hue/saturation and luminance of the light, then click OK.

We have now set the color of the light, but this has not affected its intensity. The color is described by the first three numbers of the Brightness setting, leaving the brightness value itself as the fourth number. Mark this number (currently 200) with the mouse, and enter 800 instead, to have the light shine four times as intensely:
Raise the brightness of the light by increasing this number, then click Apply.

Tip: If you want your light to shine in a different color under High Dynamic Range lighting, edit the “BrightnessHDR” or “BrightnessScaleHDR” settings. This is generally used to balance out the richer colors that HDR generates.
Now that we’ve made changes to the light’s parameters, hit the Apply button to commit them. The color of the light’s icon will change to the color you have selected for it.


wrote that all by myself
  • Jim_Jam
  • Jim_Jam's Avatar
  • Offline
  • Former Community Manager
  • ZARP VIP Golden Blue Badge
  • TTT is my child ❤️
  • Posts: 8585
  • Thanks received: 3491
  • Karma: -32
Login or register to post a reply.
The following user(s) said Thank You: TheXnator

valve hammer editor 6 years 1 month ago #847233

Jim_Jam wrote:
If no lights are placed your map will automatically be lit “fullbright” when it is loaded in the game

that takes care of that :)
  • Studio Banter
  • Studio Banter's Avatar
  • Offline
  • Marvelous Boarder
  • ZARP VIP
  • ❤️
  • Posts: 14007
  • Thanks received: 5848
  • Karma: -60
Login or register to post a reply.

valve hammer editor 6 years 1 month ago #847251

Warning: Spoiler! [ Click to expand ]


yo wtf?
  • catboy sven ツ
  • catboy sven ツ's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP
  • Respected Zarp Contributor
  • Posts: 7193
  • Thanks received: 1544
  • Karma: -45
ex-minecraft owner, zarp legend (Was there during the infancy of Zarp), ex-ssrp admin, ex-teamspeak emblem (For SSRP admin & minecraft owner)








Login or register to post a reply.

valve hammer editor 6 years 1 month ago #847255

Jim_Jam wrote:
Now we’ll add some lighting to the room. If no lights are placed your map will automatically be lit “fullbright” when it is loaded in the game, but as you’ll have noticed this is hardly ideal. Creating lights will make your map look far more realistic.

Note: In order to see lighting in a map which was previously loaded in the game without lights, you may need to open the developer console and set mat_fullbright to “0”.
Activate the Entity tool Mt-entities.png (lights are entities too) and pick light from the drop-down list in the Object Toolbar. This is the most basic light of them all, and it shines all around from an invisible source. Place one in the center of the ceiling now by clicking in the 3D view:
Place the light.

We are now going to edit the color and brightness of this light. Switch back to the Selection tool Hammer select.png, and then double-click on the light entity in the 3D View to open the Object Properties dialog. To bring up the settings for the light’s brightness, find and click on the Brightness field in the KeyValues list.
While you could type a color into the new text box directly, it’s better to use Hammer’s built-in dialog by clicking the Pick color button, just beneath the text box:
Select the Brightness field, then click the Pick color button.

The Color dialog will now appear, letting us change the color of the light.
Change the hue and saturation of the color by clicking in the square color spectrum area on the right.
Because luminance is set to max, the color will still be white. Lower the luminance to change the color from bright white to something of the hue you picked. You can see how the color changes in the preview square at the bottom of the dialog to something more colorful, instead of white.
Click the OK button to confirm your choice:
Change the hue/saturation and luminance of the light, then click OK.

We have now set the color of the light, but this has not affected its intensity. The color is described by the first three numbers of the Brightness setting, leaving the brightness value itself as the fourth number. Mark this number (currently 200) with the mouse, and enter 800 instead, to have the light shine four times as intensely:
Raise the brightness of the light by increasing this number, then click Apply.

Tip: If you want your light to shine in a different color under High Dynamic Range lighting, edit the “BrightnessHDR” or “BrightnessScaleHDR” settings. This is generally used to balance out the richer colors that HDR generates.
Now that we’ve made changes to the light’s parameters, hit the Apply button to commit them. The color of the light’s icon will change to the color you have selected for it.


wrote that all by myself


hmmm

developer.valvesoftware.com/wiki/Adding_Light
  • Wolfi
  • Wolfi's Avatar
  • Offline
  • Legendary Member
  • ZARP VIP
  • Future Owner and Manager of Murder
  • Posts: 8738
  • Thanks received: 2708
  • Karma: 52
Login or register to post a reply.

valve hammer editor 6 years 1 month ago #847365

add a light_enviroment to make your map bright
  • Windows
  • Windows's Avatar
  • Offline
  • Diamond Boarder
  • ZARP VIP
  • Life isn’t a destination, it’s hell
  • Posts: 3989
  • Thanks received: 963
  • Karma: -5
Login or register to post a reply.

valve hammer editor 2.0 (help) 6 years 1 month ago #848484

I used to be able to move brushes around in 3D view but I must have pressed something cuz now I can only select objects/brushes. How do I go back to the glory days?
  • Studio Banter
  • Studio Banter's Avatar
  • Offline
  • Marvelous Boarder
  • ZARP VIP
  • ❤️
  • Posts: 14007
  • Thanks received: 5848
  • Karma: -60
Login or register to post a reply.
Time to create page: 0.111 seconds

157 PLAYERS ONLINE

Connect to server View Gametracker DarkRP 1
10/127
online
Connect to server View Gametracker Deathrun
0/40
online
Connect to server View Gametracker TTT
0/47
online
Connect to server View Gametracker Bhop
0/32
online
Connect to server View Gametracker Surf
4/32
online
Connect to server View Gametracker Prop Hunt
0/42
online
Connect to server View Gametracker Sandbox
0/42
online
Connect to server Discord
143/762
online
Top