| View previous topic :: View next topic |
| Author |
Message |
penapappa Test Supervisor

Joined: 11 May 2008 Posts: 112

|
|
| hey guys I started to make map and I have read all the tutorials, and they help me a lot, but I can't find how to make button that opens portal when stand on it or with cube, so how that can be done? |
|
| Back to top |
|
 |
Mapster Loves Cake

Joined: 16 Oct 2007 Posts: 432
|
|
I'm pretty sure there is a tutorial on the TWP wiki. _________________
 |
|
| Back to top |
|
 |
penapappa Test Supervisor

Joined: 11 May 2008 Posts: 112

|
|
No there is not
Can somebody just tell me in this forum? |
|
| Back to top |
|
 |
Farragar Superior Participant

Joined: 28 Jan 2008 Posts: 55 Location: Oxford, UK
|
|
There's really no point in us telling you how to do everything; you'll never understand the editor.
This is really a very simple concept, if you just learn how a button fires an output, and how to use the I/O system then there's really no need to ask. _________________ 10 PRINT "Home"
20 PRINT "Sweet"
30 GOTO 10 |
|
| Back to top |
|
 |
penapappa Test Supervisor

Joined: 11 May 2008 Posts: 112

|
|
Is it big deal to you to tell me how can I do that? I have tried many output settings example: name: on open, target: autoportal, via this input: set stage active etc., but I can't get it work no matter what I do.
And Farragar, u know what? "the one asking does not go astray from the road"
I can't understand why you pro's can't help beginner with mapping?
I understand that you mean "by experimenting, one learns", right? But I tried all thinks that I know and thinks that I don't know and even more .
I think it's better that I give up with mapping... |
|
| Back to top |
|
 |
Farragar Superior Participant

Joined: 28 Jan 2008 Posts: 55 Location: Oxford, UK
|
|
Yes, you're right in that
| Quote: | | the one asking does not go astray from the road |
But there's a difference between asking a few pointers; to use your own metaphor, a question or two is fine, but a constant barrage 'pisses off the seasoned hiker.'
The I/O system is fairly simple. when you want to add an output from your 'trigger_multiple' You have:
'My Output named:' This is the action that will fire the output. For example, OnStartTouch
'Target entities named:' This is the name of the entity/brush/particle effect/whatever that the output will effect. So, if you named your portal 'room1_blue_portal' then that's what you would stick in here.
'Via this Input:' This is what's going to happen to your target entity. In your case: 'SetActivatedState'. For a func_door you might have 'open'
'With a parameter override of:' This depends on the target entity, for most entities it won't be needed. In your case, it represents a Boolean (0=false 1=true) value for the state of the portal. Therefore, 1 is an open portal, 0 is no portal.
For other entities like an env_texturetoggle it can change the texture applied to a brush, or with a math_counter it can change the value stored in the counter.
'After a Delay in Seconds of:' Self explanatory; this will delay the output by x seconds after the trigger is fired. _________________ 10 PRINT "Home"
20 PRINT "Sweet"
30 GOTO 10 |
|
| Back to top |
|
 |
penapappa Test Supervisor

Joined: 11 May 2008 Posts: 112

|
|
I know all that, but the point is, I can't get it work even I made the I/O system looks same as your example. But thanks that you tried help me
edit: Oh I get it to work now  |
|
| Back to top |
|
 |
Remmiz Can't Fight The Man If You Are The Man

Joined: 13 Nov 2007 Posts: 361
|
|
| Protip: The only things you should be typing into any of the fields is something that starts with an ! or in the delay/parameter field. Everything else has drop-downs which prevent typos or just general not knowing. |
|
| Back to top |
|
 |
bizob
 Test Supervisor

Joined: 13 Nov 2007 Posts: 185 Location: Florida
|
|
In the trigger for the button use the following outputs:
replace "prop_portal" with the actual name of your prop_portal.
To Open:
OnStartTouch -> prop_portal -> SetActivatedState -> 1 (put this in the parameter section)
To Close:
OnStartTouch -> prop_portal -> SetActivatedState -> 0 (again in the parameter section) _________________
 |
|
| Back to top |
|
 |
penapappa Test Supervisor

Joined: 11 May 2008 Posts: 112

|
|
Yeah I know that now I have my first maps first room nearly finished. I only have to somehow fix one button that make bad drone when I jump to it, and make switch to destroy old cube and and give new cube from dropper. And of course lighting. Then it's ready. My first map  |
|
| Back to top |
|
 |
Sephiroth* New Employee
Joined: 15 Jul 2008 Posts: 4
|
|
hey guys...I think i should post my question here instead of open a new thread, because I think it's not a big deal...
at first I want you to know that I did read alot tutorials and tried out alot before posting this, so please don't answer me like "just try out for yourself you noob ".
1.
I want to make GLaDOS speak immediately after beginning the map...and of course I know how to put the triggers and stuff...but for some reason there is a delay of about 10 seconds before GLaDOS actually begins to speak...what am I doing wrong?? I didn't put any delay or something like that -.-'
2.
I wanted to put a door and a button into my map (http://developer.valvesoftware.com/wiki/Creating_a_button_and_door) so i could open the door using the button.
for some reason the button doesn't go down if i jump onto it (the sounds work fine) and the door just doesn't open...in fact, the triggers don't seem to be wrong...if I check "touch opens" under flag and then touch the door, it seems like the door tries to open, but ending up getting stuck somewhere -.-'
btw. i did everything EXACTLY like in the door and buttons tutorial (check the link above).
I'm assuming that I'm doing some sort of a typical beginner mistake, so i hope some advanced mappers know what I'm doing wrong ^^
Last edited by Sephiroth* on Tue Aug 19, 2008 10:05 am; edited 1 time in total |
|
| Back to top |
|
 |
rellikpd
 GLaDOS Module

Joined: 10 Jan 2008 Posts: 902 Location: South Texas, US
|
|
on #1: if you didn't put delay, but there is one then that means its using some default. put a delay of 0, or 0.1
for #2: you need to check that the button is targeted with I/O and that its a func_door set to move down. ALSO: check to make sure you have the button model parented to say func_door _________________
MyPHPsig
"Nope, just naked" |
|
| Back to top |
|
 |
Sephiroth* New Employee
Joined: 15 Jul 2008 Posts: 4
|
|
| rellikpd wrote: | on #1: if you didn't put delay, but there is one then that means its using some default. put a delay of 0, or 0.1
for #2: you need to check that the button is targeted with I/O and that its a func_door set to move down. ALSO: check to make sure you have the button model parented to say func_door |
well I have the button and the door FINALLY working...I simply parented the button wrong, that's why the button didn't go down...
and lol...the doors...why do you have to type 90 (and 270) degrees @ move direction?? that doesn't seem to make sense to me O.o ... you like have to think sideways?? anyway, at least it works now ^^
but the delay...I just can't figure out what I'm doing wrong...there certainly is a delay of about 0 seconds, though I didn't put a delay...and as you said, I put a delay of 0.1 but that doesn't change anything -.-'
for some reason only the first GLaDOS voice has this effect...the second one I put into my map just works how it should work...any idea?? O.o |
|
| Back to top |
|
 |
Mek Test Supervisor

Joined: 30 May 2008 Posts: 186 Location: Slovakia
|
|
| Sephiroth* wrote: |
1.
I want to make GLaDOS speak immediately after beginning the map...and of course I know how to put the triggers and stuff...but for some reason there is a delay of about 10 seconds before GLaDOS actually begins to speak...what am I doing wrong?? I didn't put any delay or something like that -.-' | Did you use logic_auto? That's its purpose. If the answer is yes, then I am afraid the error is on GLaDOS's side, probably the sentence you are trying to play has the delay itself. _________________ Test Chamber 74:
(percentage calculation sphere self-test failed!)
105.4% done, -5.4% remaining...
Released here! |
|
| Back to top |
|
 |
rellikpd
 GLaDOS Module

Joined: 10 Jan 2008 Posts: 902 Location: South Texas, US
|
|
| Sephiroth* wrote: | | ...why do you have to type 90 (and 270) degrees @ move direction?? that doesn't seem to make sense to me O.o ... you like have to think sideways?? |
because if you are looking at the top down view, thats the angle they would move at (as if drawn on paper) with 0 degrees being to the right, 90 would be pointing to the "top" of the paper, 180 to the left, and 270 points to the bottom of the paper.
just like in geometry class :-/ _________________
MyPHPsig
"Nope, just naked" |
|
| Back to top |
|
 |
|