Go Back   Zombie Panic Forums > Zombie Panic Source Creation > Map Forums
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 06-27-2012, 04:14 AM
Uxiro-temp Offline
Civilian
 
Join Date: Jun 2012
Posts: 3
Question Need Help - Creating Doors & Props

Hey, bit of a newb question, but I can't find a tutorial about it anywhere
I know how to make normal doors that either open when you press E next to them, or when you touch into them. However, these doors either open a full 90 degrees, or get stuck and don't open. How do I make doors that open when you hit / shove them, such as in the lake maps (lakebed, lake of acid, lake of legends, etc) and don't automatically open themselves (so you have to hit them continually to get them open if there is a barricade behind them)
Also, how do I make props that don't move? If I try to make a shelf or similar a prop_static, it just doesn't appear in-game. And prop_physics, obviously, can be moved around
On an entirely unrelated note, my main account, Uxiro, is unable to make new threads. Says I don't have permission. Anyone know why?
Reply With Quote
  #2  
Old 06-27-2012, 05:26 AM
freewest45's Avatar
freewest45 Offline
Survivor
 
Join Date: Apr 2009
Location: NY
Posts: 143
Default

K, For the props when you are making shelfs or similar props your going to use prop_dynamic and for props that you will be able to break you will use prop_physics
For the doors, if im right there should be an option in the flags menu of your door and should be something like hit to open or something related to that.
__________________

Last edited by freewest45 : 06-27-2012 at 05:33 AM.
Reply With Quote
  #3  
Old 06-27-2012, 05:32 AM
freewest45's Avatar
freewest45 Offline
Survivor
 
Join Date: Apr 2009
Location: NY
Posts: 143
Default

Also, are you sure you looked in all the tutorials cause im pretty sure it has to be in one of these great tutorials:
http://zombiepanic.org/forums/showthread.php?t=9080 -deejs level design
http://zombiepanic.org/forums/showthread.php?t=4299 -hammer tips and tricks
http://zombiepanic.org/forums/showthread.php?t=12232 -zps mega map thread
http://zombiepanic.org/forums/showthread.php?t=4394 -source map tutorials
http://zombiepanic.org/forums/showthread.php?t=14899 -maddogs planning on making a map
__________________
Reply With Quote
  #4  
Old 06-27-2012, 09:36 AM
Wazanator's Avatar
Wazanator Offline
Developer
 
Join Date: Nov 2008
Location: In your house
Posts: 4,713
Default

The doors on lake and cabin maps are most likely a func_physbox that is then attached to two phys_hinge entities
__________________

Map tutorials
I walk into a bar and say "Hey baby, i make levels on hammer" and i never go home alone
-Earkham
Reply With Quote
  #5  
Old 06-30-2012, 04:05 AM
Ratboy601's Avatar
Ratboy601 Offline
Playtester
 
Join Date: Oct 2008
Posts: 308
Default

The shelves: if you make it a prop_physics and check the "disable motion" flag, voila, no motion. Also, the shelf might be supported by prop_dynamic as well, and that also wouldn't move unless you wanted it to. But if the prop wasn't designed/compiled to be a prop_static, it just won't work as a static prop.

The doors: If you want to use a normal door entity, you can make it open any number of degrees if you reset the keyvalue (rotation or something). There's also an option to "ignore debris" and "force open" which helps with glitchiness if you find the right combination for your situation. Also, you can set it to do damage or not do damage to players if its set to force open.

However, it sounds like you want physics doors, which are just "func_physbox" shaped and textured to look like doors and connected to a phys_hinge (I don't know why you'd need two of them like Waz said, but I'm sure he knows what he's talking about). Then you set up the barricade behind it (also a func_physbox) on some hooks (make the hooks func_detail), and then let physics work its magic! But usually the only way to get past those is to get inside another way and whack the barricade out of the way, so if you want something that functions differently you're going to have to be more specific about what you want here, or use your imagination after you've learned some more mapping techniques.
__________________
www.ratzps.com
Reply With Quote
  #6  
Old 06-30-2012, 05:54 AM
Uxiro-temp Offline
Civilian
 
Join Date: Jun 2012
Posts: 3
Smile

Cheers for the help everyone will try out the func_physbox thing asap, sounds like what I'm after.
Reply With Quote
  #7  
Old 06-30-2012, 09:51 PM
Ratboy601's Avatar
Ratboy601 Offline
Playtester
 
Join Date: Oct 2008
Posts: 308
Default

Hey, got bored, so I fiddled up this little demo .vmf and playable .bsp that demonstrates one way to make a "cabin style" baricaded door. Here's a link:
http://www.ratzps.com/zps/baricade_demo.zip

I set it so the door needs to be hit 11 times (based on a math_counter) and then the barricade breaks on a trigger. Perhaps you will find this useful. I also got a little overzealous and made the whole thing a nice little middle of nowhere scene. It was a good mapping excercise, and I haven't done that in a while. It felt good
__________________
www.ratzps.com

Last edited by Ratboy601 : 07-03-2012 at 10:47 AM.
Reply With Quote
  #8  
Old 07-07-2012, 04:54 AM
Uxiro's Avatar
Uxiro Offline
Civilian
 
Join Date: May 2009
Posts: 11
Talking <3 Overzealousness

Wow o.O Nice map man, thanks. That's the door i'm after. What does the trigger block inside do? >.>
Reply With Quote
  #9  
Old 07-07-2012, 08:59 PM
Ratboy601's Avatar
Ratboy601 Offline
Playtester
 
Join Date: Oct 2008
Posts: 308
Default

what do you mean by trigger block? do you mean the math_counter? If so, then that counts the number of times you hit the door, and when the math counter hits 0 (onhitmin) the barricade breaks.

------EDIT

Oh! You mean the trigger_dusmotes. That makes dustmotes for purely aesthetic purposes. It has nothing to do with the door.
__________________
www.ratzps.com
Reply With Quote
  #10  
Old 07-09-2012, 02:37 AM
Uxiro's Avatar
Uxiro Offline
Civilian
 
Join Date: May 2009
Posts: 11
Default

Neat, cheers
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -8. The time now is 04:43 PM.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Style by © Mathew Summerfield
All Zombie Panic related images and material © Monochrome