Making a swinging door

A Tutorial for Source Engine

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Foofinoo points.
  • Post: Give Foofinoo your thoughts on this Tutorial.
  • Vote: Help Foofinoo win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Join the community!

Sign up

Already a Bananite? Login

Updates

Various Fixes
  • English Mistakes
  • Text Formatting
Foofinoo avatar
Foofinoo avatar Lost in time...
Cell 1 Flag Affiliation: Cell 1
Member Joined 4y
5,026 points Ranked 917th
25 medals 2 legendary 4 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon
  • Thanked 50 submitters Medal icon
Foofinoo avatar
Foofinoo
Cell 1 Flag
Cell 1
1mo

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 !!

Posts

Share

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

More embeddable images

Bookmark and Share

Credits

Creator
Foofinoo avatar Cell 1 Flag
Cell 1
Foofinoo avatar Offline
Cell 1 Flag Affiliation: Cell 1
Member Joined 4y
5,026 points Ranked 917th
25 medals 2 legendary 4 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon
  • Thanked 50 submitters Medal icon
Writer

Submitter

Foofinoo avatar
Foofinoo avatar Lost in time...
Cell 1 Flag Affiliation: Cell 1
Member Joined 4y
5,026 points Ranked 917th
25 medals 2 legendary 4 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon
  • Thanked 50 submitters Medal icon

Foofinoo avatar
Foofinoo
Cell 1 Flag
Cell 1

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

Category

Details

Difficulty Level
Beginner Difficulty

Stats

Posts
2
Views
2,598
Date Added
3y
Date Modified
1mo
Date Updated
1mo

Scores

90 bScore
10 Rating

1 voter

Sign up to access this!
bcp.crwdcntrl.net tracking pixel