Another Noob Question V.v

Avatar
sssummer
69 Posts
Posted Feb 23, 2008
In my map the player starts with no weapon, and has to use portals given to him/her. How do I make a portal appear somewhere activated by a button with a timer? (Not the kind you step on, the one you press.) Thanks in advance.

-sssummer

EDIT: Another question.. I've viewed the tutorial on portal doors from http://www.halfwit-2.com to make them open and close based on a button but I cant seem to get it to work, can someone please explain it to me? Thanks in advance.

-sssummer

Advertisement
Registered users don't see ads! Register now!
Avatar
NocturnalGhost
200 Posts
Posted Feb 23, 2008
Replied 29 minutes later
For your first question, you need to use the "prop_portal" entity to make preset portals. Name them, make them inactive to start with, and use the "SetActivatedState" input to enable them via the output of your button.

For an example of portal doors, look at the sample map that came with the SDK. If this does not help, can you be more specific about which part you are having trouble with.

Avatar
sssummer
69 Posts
Posted Feb 23, 2008
Replied 1 hour later
First off, thanks for the portal command. And to answer your question my doors question, I basicly need help with, well all of it. I don't really understand how to make the doors actually move and I need to make the nodraw brush fit to the circular shape of the door but can't figure it out. :\

EDIT: There were sample maps that came with SDK? I was not aware of this, where would I find them?

EDIT2: Is it the testchmb_a_05 map? I'll take a look at it.

Avatar
Farragar
73 Posts
Posted Feb 23, 2008
Replied 6 hours later

The doors are essentially comprised of three parts - the prop_static door frame, two prop_dynamics with the door model (left and right), and two func_doors which do the actual 'moving'

The first thing to understand is that what you see as the 'doors' don't actualy move on their own, they are parented (when x moves y moves with it) to two func_doors which are standard brushes with a nodraw texture. These 'doors' don't have to be circular; make them square. An output from a button or trigger is sent to these 'doors' which then open, and the door models move with them. For a real tutorial have a look at

http://wiki.thinkingwithportals.com/wik ... n_Tutorial
or

http://developer.valvesoftware.com/wiki ... n_and_door

Avatar
sssummer
69 Posts
Posted Feb 29, 2008
Replied 6 days later

Sorry for the late response, I haven't had access to the computer for a while. Thanks a million for all the help, I've connected the door to open on a button ect. successfully. Lol, last question though.. How do I make poison floor water that kills?

   Thanks in advance
           -sssummer
Avatar
sssummer
69 Posts
Posted Mar 01, 2008
Replied 17 hours later
bump.. please answer?
Avatar
rellikpd
1,053 Posts
Posted Mar 01, 2008
Replied 1 hour later

sssummer wrote:
bump.. please answer?

i don't know off hand but basically you make a trigger_hurt and put it just under the water level top, there are tutorials in the wiki or at the developer site for hammer... you really should get used to looking for tutorials. cuz most of the "basic" elements are covered in them.

Advertisement
Registered users don't see ads! Register now!
Avatar
NocturnalGhost
200 Posts
Posted Mar 01, 2008
Replied 14 minutes later
Check this thread.