1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

A question about slopes in Valve Hammer Editor

  • Serberuss
  • July 18, 2016 at 8:15 PM
  • Serberuss
    • July 18, 2016 at 8:15 PM
    • #1

    Hey guys,

    I have a bit of a noob question related to working in VHE. When creating a slope how do you go about positioning an object onto the sloped surface? Take something simple like a crate for example how do you approach making it line up correctly with the grid? Are there any tutorials that you're aware of that talks about this? I've searched for a while but haven't found anything so far.

    Thanks for any help.

  • El_Exodus
    • July 18, 2016 at 8:34 PM
    • #2

    I set the option in Hammer (Tools->Options) to snap on 15° rotations. Makes it easier imho.

    [Blocked Image: http://i.imgur.com/PU10gT9.png]

  • tomm
    • July 18, 2016 at 8:37 PM
    • #3

    for more precision you can hold down alt and rotate the object, which ignores the grid snapping and 15 degree rotation.

  • Serberuss
    • July 18, 2016 at 8:50 PM
    • #4
    Quote from tomm

    13 minutes ago, tomm said: for more precision you can hold down alt and rotate the object, which ignores the grid snapping and 15 degree rotation.

    Thanks that's certainly got me a lot closer to be how I want it. It very nearly lines up with the grid but is a tiny bit out, does that really matter?

  • wylde
    • July 18, 2016 at 8:54 PM
    • #5

    It is usually ok/necessary to have some models be a little off/into the ground as long as they don't create any visual bugs once you compile.

  • tomm
    • July 18, 2016 at 8:56 PM
    • #6

    I wouldn't worry about that, eyeballing is perfectly fine imo

  • Serberuss
    • July 19, 2016 at 7:08 PM
    • #7

    Thanks for the help that's pretty much what I was after :)

  • MinorThreat
    • July 25, 2016 at 6:57 PM
    • #8

    Use the Pythagorean Theorem to calculate the angle of the slope, then place the object in question on the slope. Press Ctrl-M to rotate the object around the appropriate axis by a set numeric value; you may have to enter the angle as a negative value depending on the direction of the rotation.

    This is a handy tool to help you calculate the angle:

    http://www.csgnetwork.com/righttricalc.html

  • Klems
    • July 25, 2016 at 10:29 PM
    • #9
    Quote from MinorThreat

    3 hours ago, MinorThreat said: Use the Pythagorean Theorem to calculate the angle of the slope, then place the object in question on the slope. Press Ctrl-M to rotate the object around the appropriate axis by a set numeric value; you may have to enter the angle as a negative value depending on the direction of the rotation.

    The simplest formula is atan(height/width), also if it's a brush you can flip the object instead of putting a negative angle. I always have a calculator nearby when mapping!

  • jakuza
    • July 26, 2016 at 3:08 AM
    • #10

    But it doesn't really matter, does it? It's more of a time sink to calculate things than it's even worth. I suppose if it's for vvis than it's important but for things that you're rotating off grid that should be a non-factor anyways right?

  • MinorThreat
    • July 26, 2016 at 9:38 AM
    • #11

    It's really quick to calculate the angle, it probably depends on how accurate you need to be. With a large object, like a barrier or a railing for example, I find it easier to do it this way than by eye.

  • Lizard
    • July 26, 2016 at 10:54 AM
    • #12
    Quote from tomm

    On 18.07.2016 at 9:37 PM, tomm said: for more precision you can hold down alt and rotate the object, which ignores the grid snapping and 15 degree rotation.

    [Blocked Image: http://i2.kym-cdn.com/photos/images/facebook/000/117/814/are-you-wizard.jpg]

    Dude.... I was disabling this manually in options for all those years... Thanks :D

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. BELEK: turning Rouen into competitive FPS maps (Godot project, feedback wanted)

    zlatan24
    November 12, 2026 at 6:23 PM
  2. CS2 sticker critique | Would the eye or blade read first on an AK?

    EmberKrakenCS2
    November 9, 2026 at 10:21 PM
  3. dod_poznan

    Smile_2000
    November 9, 2026 at 9:10 AM
  4. [cs2][WIP] De_digital (A side only) Looking for Feedback

    Howw3
    November 5, 2026 at 9:22 PM
  5. Hello from Normandy: Metin, working on a tactical FPS

    Thrik
    November 2, 2026 at 10:19 PM
  6. How do I setup CS1.6 mapping on linux?

    zlatan24
    November 2, 2026 at 6:43 AM
  7. CS:S | de_honor | Map creation process by D'artagnan

    Dartagnan
    November 1, 2026 at 5:41 PM
  8. Made a map maker for my indie game.

    daud2k7
    November 1, 2026 at 4:19 PM
  9. First CS2 Maps DM and Bomb Defusal

    zlatan24
    November 1, 2026 at 3:06 PM
  10. POLYSTRIKE - Finally Announced After Years of Development!

    MetinSaygin
    October 31, 2026 at 10:57 AM

Users Viewing This Thread

  • 1 Guest
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™