Making a swinging door

A Tutorial for Source Engine

Updates

TutorialParentSubmitterStats
  • English Mistakes
  • Text Formatting
Various Fixes 1y

You will learn how to male a swinging door...

Last one of my old tutorials... Now, it makes me want to make some new ones...

This tutorial will be about using the phys_hinge entity, for exemple to create a swinging door...

In fact, it can be used for a lot of things. Here, I will make a door for a container.

Don't worry, this is not so hard to use...

START 

1. First, make the container (walls, doors and all...) or use a model.

2. Then,  "cut" the doors in the container and tie them as a func_physbox.

A func_physbox is simply a physic solid... This is something really useful in a lot of situations.

Now, change it's properties :

  • Name : door_container
  • Material Type : Metal
  • Mass Scale : 4
  •   Flags : "Physgun is NOT allowed to pick this up"
The Mass Scale can make the door heavier or lighter... Do as you want, but this is a nice value for this kind of door.

3. Place a phys_hinge at the top corner of your door (it depends if it's the left/right door), and move the hinge point (the blue point) to the middle of the door.

Change it's properties :

  • Entity 1 : door_container
  • Friction : 8

The Friction determine if the door rotate easily or no... Once again, changing this value can give a feeling of a heavier/lighter door.

This is the process to make a swinging door. If you want to do the other one, do the same thing, but with the other door.

END

Notes :
  • Some steps have their own screenshots, don't forget to look at them
  • I hope that you have learn something and that it was not so hard to understand
  • Thanks for reading !!
Sign up to access this!

Embed

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

Credits

Creator
Foofinoo avatar Cell 1 Flag
Affiliation
Cell 1
Foofinoo username pic Joined 5y ago
Offline
Cell 1 Flag Affiliation: Cell 1
12,278 points Ranked 387th
30 medals 3 legendary 6 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon
Writer

Submitter

Foofinoo avatar
Foofinoo username pic Joined 5y ago
Lost in time...
Cell 1 Flag Affiliation: Cell 1
12,278 points Ranked 387th
30 medals 3 legendary 6 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon

Foofinoo avatar
Foofinoo
Cell 1 Flag
Affiliation
Cell 1

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Beginner

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 3.6k Views
  • 2 Posts
  • 4ySubmitted
  • 1yModified
  • 1yUpdated

Scores

90 bScore
10 Rating

1 voter

Sign up to access this!

More from Submitter

More Mapping Tutorials

bcp.crwdcntrl.net tracking pixel