Please or Register to create posts and topics.

I have little surprise for you!!!

Page 1 of 2Next

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?

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

do NOT click this
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.

:potd:

as always taco, you never fail to deliver.

do NOT click this

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...)

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.

Code: Select all
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.

:A Little Higher: :Tornate: :Blue Portals: :Vectronic: :Youtube: :Twitter: : ModDB: :Old Sig:

The more you give, the less appreciated it will be received.

ok I will try

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.

Currently working on Darksiders 3.

sorry that I irritated, oh you big and powerful moderator.

It's not just the moderators - I hate you too.

Page 1 of 2Next