FAQFAQ   Ban ListBan List   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 NewsNews   DownloadsDownloads   Wiki & TutorialsWiki & Tutorials   IRC ChatIRC Chat 

button and portal
Goto page 1, 2  Next
 
Post new topic   Reply to topic    ThinkingWithPortals.com Forum Index -> Maps and Mapping
View previous topic :: View next topic  
Author Message
penapappa
Test Supervisor


Joined: 11 May 2008
Posts: 112

Warnings : 1

PostPosted: Wed Jul 23, 2008 12:59 am    Post subject: button and portal Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
Mapster
Loves Cake


Joined: 16 Oct 2007
Posts: 432


PostPosted: Wed Jul 23, 2008 1:53 am    Post subject: Reply with quote

I'm pretty sure there is a tutorial on the TWP wiki.
_________________
Back to top
View user's profile Send private message
penapappa
Test Supervisor


Joined: 11 May 2008
Posts: 112

Warnings : 1

PostPosted: Wed Jul 23, 2008 2:37 am    Post subject: Reply with quote

No there is not Sad

Can somebody just tell me in this forum?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Farragar
Superior Participant


Joined: 28 Jan 2008
Posts: 55
Location: Oxford, UK

PostPosted: Wed Jul 23, 2008 4:17 am    Post subject: Reply with quote

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
View user's profile Send private message
penapappa
Test Supervisor


Joined: 11 May 2008
Posts: 112

Warnings : 1

PostPosted: Wed Jul 23, 2008 5:40 am    Post subject: snif Reply with quote

Sad 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 Rolling Eyes .

I think it's better that I give up with mapping...
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Farragar
Superior Participant


Joined: 28 Jan 2008
Posts: 55
Location: Oxford, UK

PostPosted: Wed Jul 23, 2008 5:57 am    Post subject: Reply with quote

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
View user's profile Send private message
penapappa
Test Supervisor


Joined: 11 May 2008
Posts: 112

Warnings : 1

PostPosted: Wed Jul 23, 2008 7:13 am    Post subject: Reply with quote

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 Smile

edit: Oh I get it to work now Cool
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Remmiz
Can't Fight The Man If You Are The Man


Joined: 13 Nov 2007
Posts: 364


PostPosted: Wed Jul 23, 2008 11:38 am    Post subject: Reply with quote

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
View user's profile Send private message
bizob

Test Supervisor


Joined: 13 Nov 2007
Posts: 185
Location: Florida

PostPosted: Wed Jul 23, 2008 10:35 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
penapappa
Test Supervisor


Joined: 11 May 2008
Posts: 112

Warnings : 1

PostPosted: Thu Jul 24, 2008 12:33 am    Post subject: thanks for tips Reply with quote

Yeah I know that now Wink 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 Cool
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Sephiroth*
New Employee


Joined: 15 Jul 2008
Posts: 4


PostPosted: Mon Aug 18, 2008 4:03 pm    Post subject: Reply with quote

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 Razz".


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
View user's profile Send private message
rellikpd

GLaDOS Module


Joined: 10 Jan 2008
Posts: 903
Location: South Texas, US

PostPosted: Mon Aug 18, 2008 6:08 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Sephiroth*
New Employee


Joined: 15 Jul 2008
Posts: 4


PostPosted: Thu Aug 21, 2008 10:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Mek
Test Supervisor


Joined: 30 May 2008
Posts: 186
Location: Slovakia

PostPosted: Thu Aug 21, 2008 11:14 am    Post subject: Reply with quote

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. Wink 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
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
rellikpd

GLaDOS Module


Joined: 10 Jan 2008
Posts: 903
Location: South Texas, US

PostPosted: Thu Aug 21, 2008 6:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    ThinkingWithPortals.com Forum Index -> Maps and Mapping All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group