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. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  2. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  3. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  4. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  5. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  6. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  7. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  8. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  9. Bridges 2.0 by NEXSIDE, MAP SHOWCASE. ( Steam Workshop )

    MrTrane18
    June 1, 2026 at 7:46 PM
  10. Classic Maps Reborn For CS2

    SillySpaceCat
    May 31, 2026 at 10:33 PM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™