Advanced rotating doors tutorial

A Request for Half-Life

not your typical rotation

Please, could someone make a quick tutorial (or explain to me) how func_rotating_door works. It's easy to make simple door, but when I need it to make a hatch, for example, all hell breaks loose (I just can't make it to rotate the way I want it).

The particular things I stumble are:

• how to make a door opening towards the player.

• how to make a hatch / a lid.

• how to control the degree of the rotation.

---

Thanks in advance.

Requirements

In order to win the bounty, you should fulfil the following requirements.

  1. Make it simple

Posts

  • silentrunner007 avatar
    silentrunner007 Joined 11y ago
    Offline
    9,277 points Ranked 510th
    16 medals 1 legendary 3 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • 3rd Place - 2016 Winter Mapping Contest Medal icon
    • Submitted 20 Maps Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    7mo 7mo


    the rmf i linked shows a simple hatch(func_door_rotating) that opens upwards only.

    "• how to make a door opening towards the player."
    in flags set it to "one-way" then use the "distance (deg)" setting in a + or - amount depending on how far and what direction you want the door to go.

    "• how to make a hatch / a lid."
    Check the rmf i have linked. shows the settings i used to make it open upwards only.

    "• how to control the degree of the rotation."
    I answered that in my first response. The setting to use is "distance(deg)"

    squids.site.nfoservers.com/rotdoor.rar
    • Win x 1
    • Helpful x 1
    • Thanks x 1
    Stud Muffin avatar
    Mantra
    Stud Muffin
  • Ghost1420071 avatar
    Ghost1420071 username pic Joined 3y ago
    Offλine
    1,606 points Ranked 3263rd
    22 medals 5 rare
    • Returned 1000 times Medal icon
    • Received thanks 50 times Medal icon
    • GameBanana’s Christmas Giveaway 2017 Day Nine Winner! Medal icon
    • GameBanana’s Christmas Giveaway 2017 Day Fifteen Winner! Medal icon
    • 8-14 Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • One month a member Medal icon
    7mo
    To make a hatch you need to make it rotate around the X or Y axis instead of Z. What is happening when you are making the door? What's your pitch yaw roll?
    • Helpful x 1
  • James Luke avatar
    James Luke Joined 3y ago
    Offline
    776 points Ranked 6536th
    7mo
    I don't have a map editor on me to help you right now, but looking through the .fgd I could maybe give some insight.

    Make sure you have an origin brush inside of the brush where you want the rotation axis to be.

    Flags 64 and 128 control which axis the door will rotate (from the origin brush) and you can reverse their direction with flag 2.

    There are plenty of tutorials out there already, pointless imo to make a bounty on it, even if it's easy points.
    GoldSource Programmer

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Submitter

mafon2 avatar
mafon2 Joined 2y ago
Offline
111 points Ranked 28928th

mafon2
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Deadline
Mar 14th, 2018
@ 11:13 am GMT+0000
Resolution
Expired

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 416 Views
  • 12 Posts
  • 7mo Submitted
  • 7mo Modified
bcp.crwdcntrl.net tracking pixel