Welcome, Guest. Please login or register.

Author Topic: Tutorial: SwingingDoors! - Medium Mapping Skills  (Read 10709 times)

0 Members and 4 Guests are viewing this topic.

Offline Global_Meltdown

Tutorial: SwingingDoors! - Medium Mapping Skills
« on: February 11, 2010, 07:25:30 AM »
Alright, I said I'd start making some Tutorials so why not start here.
---------------------------------------------------------------------------------------


Ok today we're going to learn how to do a physics (spring) hinged door.


I'll create a small square room with two lights in it.


Inside this test room I'm going to select the brush tool and make a post
or frame for my door to sit against.


Ok now depending on how many doors you want, depends on how many hinges you'll need
so for this example we'll place a double swinging door. To do that we'll select the right
post and right click and select "TIE TO ENTITY" Func_Brush to each one specifically. (NOT ALL TOGETHER LIKE THIS) or you'll have problems later on.


Now name the left side something, I named mine FrameLeft.


Now name the right side something, I named mine FrameRight.


Now I'm going to place the doors. (When making your doors its a good idea to
make a space between the door and the frame for better performance)


Now Select your doors one at a time.

First door to the left we'll right click and select "TIE TO ENTITY"


Now select Func_Physbox

Name your LEFT door whatever you want. I named mine "door1".


Do the same to the right side.

Right Click, select "TIE TO ENTITY"

Now select Func_physbox

Name your RIGHT door the same as the first except in numerical order to
keep it simple. So mine is door2.


After that we'll select the entity tool and browse through the objects till
we find something called "PHYS_HINGE"


Now place this at the center of the door to the left side.


Now right click your "PHYS_HINGE" and select properties if the window isn't already
up, and edit a couple of lines:


Name: Hinge1
Entity 1: FrameLeft (This is your frame piece it's connected too)
Entity 2: Door1 (This is the door the PHYS_HINGE will be attached too)

Ok now lets take our selected "HINGE1" and drag the center ball to the top of the door.


Ok Now we'll do the same for the other door
select the entity tool and browse through the objects till
we find something called "PHYS_HINGE" Now place this at the center of the door
to the right side.

Now right click your "PHYS_HINGE" and select properties if the window isn't already
up, and edit a couple of lines:

Name: Hinge2
Entity 1:FrameRight (This is your frame piece it's connected too)
Entity 2:Door2 (This is the door the PHYS_HINGE will be attached too)


Ok now lets take our selected "HINGE2" and drag the center ball to the top of the door.


Awesome so we have hinged doors, now comes the spring part. STAY WITH ME !

Go to your Entity Tool, browse through the objects till you get something called "PHYS_SPRING"
and place this in the center of the left door.


Now were going to right click and select Properties if the window isn't up and edit a couple of lines

Name:Spring1 (What I named my Phys_Spring)
Entity 1:Door1 (Left Door)
Entity 2:Door2 (Right Door)
Spring Constant: 900 (This is the stiffness of the spring, play around with it to find what number suits you.)
exit this window (Always remember to hit Apply)

Now drag your ball across the left door to the center of the right door

IF your really motivated, you can set up individual springs for each door side, but this is a great start.

Now you should have something that looks like a room and a couple of doors.
Place your info_player_start or your spawn entity (I'm using ZPS for my example) So I'll place 1 Info_Player_Human
and 1 Info_Player_Zombie. (This is important if you want to explore your map)


Now make sure you have no leaks or anything and hit F9. Shortly after a screen to compile your map should appear.

I select Normal for all, choose what you wish if you know the difference.

and click "OK"

A screen like this should appear and hopefully with no errors.


Either load up your map upon completion by going to your game and selecting create server
then select your map (Mine is saved as "PhysHingeTutorial" ) or set the run map when completed option after compiling.

If you've ever wondered how to test your map (ZPS specifically) open your developer console
using the "~" tilde key below the ESC button in the upper left of your
keyboard.

In the console type Sv_testmode 1 for THEN select F1 or F2 for human or zombie.
Type Kill in the console if your want to reselect.
Type Sv_cheats 1 then type NOCLIP to fly around your map if you wish.

I hope you enjoyed my tutorial, and if you did I'll look forward to making more.
If you have any questions email me. Youlostchris@gmail.com




Here's the link to the Hammer/ZPS Map example that I made for this if you need more help.
http://www.filefront.com/15555665/SwingingDoors.rar

Please do not redistribute without credit + permission thanks :)
----------------------------------------------------------------------------------------------
Let me know what you guys think.


9:04 PM - (=CG=)Lone Mudkips: Something happened to me that is so vile, that I want to go out in a rampage
9:05 PM - (=CG=)Lone Mudkips: brb
9:05 PM - Global_Meltdown: k
9:05 PM - Global_Meltdown: :\
9:05 PM - (=CG=)Lone Mudkips: Do you want to know?
9:05 PM - Global_Meltdown: yeah
9:05 PM - (=CG=)Lone Mudkips: Do you REALLY want to know?
9:06 PM - (=CG=)Lone Mudkips: There is a Justin Bieber sticker on one of my binders for school.
9:06 PM - (=CG=)Lone Mudkips: That makes me mad
9:06 PM - Global_Meltdown: hahahaha
9:06 PM - Global_Meltdown: pwned
9:06 PM - (=CG=)Lone Mudkips: EFF U WURLD

Offline Hollow

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #1 on: February 11, 2010, 12:41:48 PM »
Wow..All that just to make a door..

Conjoint Gaming [Game On]

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #1 on: February 11, 2010, 12:41:48 PM »

Tictactoe360

  • Guest
Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #2 on: February 12, 2010, 01:43:40 PM »
Wow..All that just to make a door..

A swinging Door

Offline Global_Meltdown

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #3 on: February 12, 2010, 05:50:13 PM »
a spring restrained swinging door :P  I know it seems difficult but once you start with the small stuff and work you way up it's not so bad.

Any suggestions for the next one?


9:04 PM - (=CG=)Lone Mudkips: Something happened to me that is so vile, that I want to go out in a rampage
9:05 PM - (=CG=)Lone Mudkips: brb
9:05 PM - Global_Meltdown: k
9:05 PM - Global_Meltdown: :\
9:05 PM - (=CG=)Lone Mudkips: Do you want to know?
9:05 PM - Global_Meltdown: yeah
9:05 PM - (=CG=)Lone Mudkips: Do you REALLY want to know?
9:06 PM - (=CG=)Lone Mudkips: There is a Justin Bieber sticker on one of my binders for school.
9:06 PM - (=CG=)Lone Mudkips: That makes me mad
9:06 PM - Global_Meltdown: hahahaha
9:06 PM - Global_Meltdown: pwned
9:06 PM - (=CG=)Lone Mudkips: EFF U WURLD

Offline JuNk^m@st3r

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #4 on: February 12, 2010, 07:16:50 PM »
Nice Work :D tested it out, made it like u say and it worked out good, but the Springs are a pain in the ass, hard to find the right setting, sometimes the doors just don't stop swinging =P

But good one, easy to understand and do =D

^^AND I SAY LOLZOR AND U CANT DO SH*T ABOUT IT!



Offline Global_Meltdown

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #5 on: February 12, 2010, 08:57:02 PM »
Cool :)

 Yeah the springs are kind of shitty, but you can adjust the friction on the door or the springs i believe to make it slower somehow. If you want i'll take another look later.


9:04 PM - (=CG=)Lone Mudkips: Something happened to me that is so vile, that I want to go out in a rampage
9:05 PM - (=CG=)Lone Mudkips: brb
9:05 PM - Global_Meltdown: k
9:05 PM - Global_Meltdown: :\
9:05 PM - (=CG=)Lone Mudkips: Do you want to know?
9:05 PM - Global_Meltdown: yeah
9:05 PM - (=CG=)Lone Mudkips: Do you REALLY want to know?
9:06 PM - (=CG=)Lone Mudkips: There is a Justin Bieber sticker on one of my binders for school.
9:06 PM - (=CG=)Lone Mudkips: That makes me mad
9:06 PM - Global_Meltdown: hahahaha
9:06 PM - Global_Meltdown: pwned
9:06 PM - (=CG=)Lone Mudkips: EFF U WURLD

Offline billynoggs cade master

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #6 on: September 07, 2010, 03:34:39 PM »
seriously if any1 doesnt know how to a phys_hinge should be shot

Offline JuNk^m@st3r

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #7 on: September 07, 2010, 04:10:18 PM »
we had a first time for everything =P
^^AND I SAY LOLZOR AND U CANT DO SH*T ABOUT IT!



Offline vinnylord

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #8 on: September 07, 2010, 05:59:19 PM »
seriously if any1 doesnt know how to a phys_hinge should be shot

SHOOT ME HONEY!!!
*blanc* WOOT WOOT

Offline Jorgen

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #9 on: September 07, 2010, 07:07:29 PM »
go ahead shoot me 2 i forgot =D

Offline billynoggs cade master

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #10 on: October 02, 2010, 12:57:47 PM »
dumbasses will be shot and and survivors will be shot again.

Offline Wholegrain

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #11 on: October 03, 2010, 09:58:05 PM »
and necromancers will be anally penetrated

Offline Dante

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #12 on: October 15, 2010, 04:59:07 PM »
and necromancers will be anally penetrated
Necromancer here.

Offline Yahtzee

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #13 on: October 16, 2010, 01:00:08 PM »
we need more of these

U MAD???

  • Guest
Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #14 on: November 27, 2010, 09:44:48 PM »
what program are u using and if free link?

Conjoint Gaming [Game On]

Re: Tutorial: SwingingDoors! - Medium Mapping Skills
« Reply #14 on: November 27, 2010, 09:44:48 PM »

 


* ShoutBox!

Refresh History
  • Careful what you post. Forum rules still apply in the shoutbox!
  • Pyro: happy birthday Tyber
    July 14, 2024, 01:55:16 PM
  • Finniespin: More of a Patrick Hernandez guy - Born to be Alive
    June 16, 2024, 09:14:27 AM
  • Sly: Aaron Hernandez was a legend of a man
    June 14, 2024, 01:46:02 AM
  • Finniespin: how? what?
    June 01, 2024, 06:28:43 PM
  • Inject OH 4: Lost my discord rip
    May 30, 2024, 12:14:57 AM
  • Finniespin: yoooooooo!
    April 03, 2024, 05:32:48 PM
  • Coreybush11: bump
    April 01, 2024, 10:59:48 PM
  • Finniespin: wut
    March 28, 2024, 05:01:26 PM
  • Inject OH 4: And yes thank you very much Finnie! You are a champion xP
    March 22, 2024, 05:59:12 PM
  • Inject OH 4: Hey abrys agreed we should.
    March 22, 2024, 05:59:02 PM
  • Finniespin: Totally not a spam-bot, also totally not a limited time offer
    March 03, 2024, 05:25:06 PM
  • Finniespin: Anyone looking for a datacenter technician job? We got postings available around US and Europe (EMEA)
    February 17, 2024, 07:23:12 AM
  • Finniespin: https://www.google.com/about/careers/applications/jobs/results/118336179041903302-data-center-technician-global-server-operations
    February 17, 2024, 07:20:25 AM
  • Finniespin: Gave Inject 50 euros to pay for fees ^^
    February 17, 2024, 07:17:42 AM
  • xXArbysOvenMittXx: we gotta get the crew together again one day and hang, add me on discord: ogarbies
    February 12, 2024, 06:52:07 PM
  • xXArbysOvenMittXx: yo who is still paying for this lol
    February 12, 2024, 06:19:47 PM
  • Klondor: wow CG still lives, mind blown
    February 09, 2024, 05:13:53 AM
  • Finniespin: The website is back online!!!
    February 06, 2024, 03:17:05 PM
  • Inject OH 4: xD
    January 14, 2024, 05:55:44 PM
  • Finniespin: Get a load of this guy
    December 16, 2023, 09:16:03 AM
  • Inject OH 4: Sure
    December 09, 2023, 07:22:27 PM
  • HailToTheKing: cum shot . and cum shot. an d cum shot
    December 01, 2023, 01:54:12 PM
  • Finniespin: ffuck
    November 24, 2023, 03:43:47 PM
  • Inject OH 4: ee
    October 12, 2023, 01:13:56 AM
  • Sly: dd
    August 09, 2023, 03:13:48 AM
  • Inject OH 4: cc
    August 03, 2023, 09:51:36 PM
  • Finniespin: bb
    August 02, 2023, 06:12:50 PM
  • Inject OH 4: aa
    July 04, 2023, 10:29:35 PM
  • Shikaru: Been a very long time
    February 20, 2023, 05:42:04 PM
  • Shikaru: Oh wow my account is STILL active :)
    February 20, 2023, 05:42:00 PM
  • Napoleon BonaPARTY: yooo we got a lovense sponsor???
    December 16, 2022, 03:45:43 PM
  • Napoleon BonaPARTY: holy shit
    December 16, 2022, 03:45:24 PM
  • Napoleon BonaPARTY: oh wow its still here
    December 16, 2022, 03:45:21 PM
  • HailToTheKing: legends never die
    October 16, 2022, 01:28:09 PM
  • Live Bait: Oh wow. Still remember my old password.
    September 23, 2022, 08:37:38 AM
  • Mr_Rainbow: Still alive. Hope all is well with everyone this Christmas
    December 09, 2021, 03:31:04 AM
  • SlyWilliam: Much love, from our MC server to our ZPS server <3
    December 07, 2021, 10:23:37 PM
  • SlyWilliam: For the record, I don't REALLY remember all of you, but goddamn do I MISS all of you <3
    December 07, 2021, 10:23:10 PM
  • Pyro: parrot
    September 07, 2021, 05:23:18 AM
  • Inject OH 4: Do you mean for people that haven't come on in a long time and have to reagree?
    August 02, 2021, 11:39:42 PM

SimplePortal 2.3.5 © 2008-2012, SimplePortal