I have little surprise for you!!!

Avatar
penapappa
186 Posts
Posted Jul 24, 2008
I have a QUESTION!! Yes, this is really your lucky day, farragar. But anyway, I did door and two buttons and make math counter and everything that is written in the wiki. But still door opens with only one button of them. If I first place cube on first button, doors open, then I stand on other button, nothing happens, but when I walk away from button door closes and it start working like it must, with two button. Do you know what this is caused by and how can I fix it?
Advertisement
Registered users don't see ads! Register now!
Avatar
rellikpd
1,053 Posts
Posted Jul 24, 2008
Replied 12 minutes later
you got to give us copies of your I/O data from each button and door. otherwise there could be many reasons why this happens
sounds like you got a bad math counter. but its just a guess off the info you gave us
Avatar
taco
504 Posts
Posted Jul 24, 2008
Replied 12 minutes later

penapappa wrote:
Do you know what this is caused by and how can I fix it?

USER ERROR: replace user and press any key to continue.

Avatar
rellikpd
1,053 Posts
Posted Jul 24, 2008
Replied 48 minutes later

as always taco, you never fail to deliver.

Avatar
penapappa
186 Posts
Posted Jul 24, 2008
Replied 28 minutes later
Hehe taco.

Here is I/O's and settings

Button 1:

Func_door
Name: func_door_1

Outputs:
OnClose, CP4P_bigbutton_sndup_4, play sound, -, 0.00, no
OnClose, door_left, close, -, 0.00, no
Onclose, door_right, close, -, 0.00, no
On Close, buttoncounter, subtract, 1, 0.00, no
On Open, CP4P_bigbutton_snddn_4, play sound, -, 0.00, no
On open, door_left, open, -, 0.00, no
On open, door_right, open, -, 0.00, no
On open, buttoncounter, add, 1, 0.00, no

Player trigger
Name: trigger_player_1

outputs:
OnEndTouchAll, trigger_box_1, Enable, -, 0.00, no
OnEndTouchAll, func_door_1, Close, -, 0.00, no
OnStartTouch, trigger_box_1, Disable, -, 0.00, no
OnStartTouch, func_door_1, Open, -, 0.00, no

Box trigger
Name: trigger_box_1
Filter Name: filter_boxes

outputs:
OnEndTouchAll, trigger_player_1, Enable, -, 0.00, no
OnEndTouchAll, func_door_1, close, -, 0.00, no
OnStartTouch, trigger_player_1, Disable, -, 0.00, no
OnStartTouch, func_door_1, Open, - , 0.00, no


Button 2

func_door
Name: func_door_2

outputs:
OnClose, CP4P_bigbutton_sndup_4, PlaySound, -, 0.00, no
OnClose, door_left, close, -, 0.00, no
Onclose, door_right, close, -, 0.00, no
On Close, buttoncounter, subtract, 1, 0.00, no
On Open, CP4P_bigbutton_snddn_4, play sound, -, 0.00, no
On open, door_left, open, -, 0.00, no
On open, door_right, open, -, 0.00, no
On open, buttoncounter, add, 1, 0.00, no

player trigger
Name: trigger_player_2

outputs:
OnEndTouchAll, trigger_box_2, enable, -, 0.00, no
OnEndTouchAll, func_door_2, close, -, 0.00, no
OnStartTouch, trigger_box_2, disable, -, 0.00, no
OnStartTouch, func_door_2, open, -, 0.00, no

box trigger
name: trigger_box_2
filter name: filter_boxes

outputs:
OnEndTouchAll, trigger_player_2, Enable, -, 0.00, no
OnEndTouchAll, func_door_2, close, -, 0.00, no
OnStartTouch, trigger_player_2, disable, -, 0.00, no
OnStartTouch, func_door_2, open, - ,0.00, no


filter_activator_name
name: filter_boxes, T
filter name: TheBox
Allow entities that match criteria


math_counter
name: buttoncounter
minlegalvalue: 0
maxlegalvalue:2
start disabled: no

outputs:
OnHitMax, door_left, open, - ,0.00, no
OnHitMax,door_right, open, - ,0.00, no
OnHitMax, buttoncounter, SetHitMin, 1, 0.00, no
OnHitMin, door_left, close, -, 0.00, no
OnHitMin, door_right, close, -, 0.00, no
OnHitMin, buttoncounter, SetHitMin, 0, 0.00, no


thats all. I have two cubes too with different names (because of that you can destroy and create new box without that other box destoyed. I use invisible cleanser trigger with name activator to destroy other cube)
And I have that kin of problem too. activator filter name for buttons is thebox, right? But when i but cube named thebox on button, button starts to keep ugly noise and move up and down very fast, but when I but cube named thecube on button, it doesn't keep that ugly noise. Have I activator settings wrong or what? (Uuh that took me 10 hours to write that text, here in finland is night now...)

Avatar
reepblue
894 Posts
Posted Jul 24, 2008
Replied 1 hour later

Quote:
Func_door
Name: func_door_1

Outputs:
OnClose, CP4P_bigbutton_sndup_4, play sound, -, 0.00, no
OnClose, door_left, close, -, 0.00, no
Onclose, door_right, close, -, 0.00, no
On Close, buttoncounter, subtract, 1, 0.00, no
On Open, CP4P_bigbutton_snddn_4, play sound, -, 0.00, no
On open, door_left, open, -, 0.00, no
On open, door_right, open, -, 0.00, no
On open, buttoncounter, add, 1, 0.00, no

For a less confusing output log, use in the func_door settings that the Start and Stop sounds are the button sounds.

Anyway, your func_doors should have these outputs.

Onopen -> buttoncounter -> Add -> 1
OnClose -> buttoncounter -> Subtract -> 1

You should have that and your texture toggles in there!

Quote:
OnHitMax, door_left, open, - ,0.00, no
OnHitMax,door_right, open, - ,0.00, no
OnHitMax, buttoncounter, SetHitMin, 1, 0.00, no
OnHitMin, door_left, close, -, 0.00, no
OnHitMin, door_right, close, -, 0.00, no
OnHitMin, buttoncounter, SetHitMin, 0, 0.00, no

Looks good..

I don't know, I looked at your settings, and everything looks like mine. Try redoing it and do exactly what it says. If it works then modify it.

Avatar
penapappa
186 Posts
Posted Jul 25, 2008
Replied 10 hours later
ok I will try
Avatar
MrTwoVideoCards
584 Posts
Posted Jul 25, 2008
Replied 1 hour later
Dude I'm kinda tired of you spamming the " I don't know how to map" Threads, seriously go map for another year BY YOURSELF and then come back when you have some serious problems.
Avatar
penapappa
186 Posts
Posted Jul 26, 2008
Replied 20 hours later
sorry that I irritated, oh you big and powerful moderator.
Avatar
taco
504 Posts
Posted Jul 26, 2008
Replied 6 minutes later
It's not just the moderators - I hate you too.
Avatar
penapappa
186 Posts
Posted Jul 26, 2008
Replied 3 hours later
Noooo This is like my worst dream All you educated and comfortable boys are against me? Now I shit my pants two times at one. And if you didn't notice that I was sarcastic Have a nice day for you too.
Avatar
penapappa
186 Posts
Posted Jul 26, 2008
Replied 1 hour later
I did all again, exatly how is written in valve wiki, but it doesn't work.

edit: work now

Avatar
rellikpd
1,053 Posts
Posted Jul 26, 2008
Replied 3 hours later
Avatar
dvlstx
183 Posts
Posted Jul 26, 2008
Replied 3 hours later
rellik's new fave picture, and ignore mrtwovideocards. He's just an ass in general.
Advertisement
Registered users don't see ads! Register now!
Avatar
Duffers
474 Posts
Posted Jul 26, 2008
Replied 7 minutes later
This thread is bullshit and is now locked. Have a nice day now.