I have little surprise for you!!!
Quote from penapappa on July 24, 2008, 1:51 pmI 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?
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?
Quote from rellikpd on July 24, 2008, 2:03 pmyou 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
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
Quote from taco on July 24, 2008, 2:15 pmpenapappa 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.
USER ERROR: replace user and press any key to continue.
Quote from penapappa on July 24, 2008, 3:33 pmHehe taco.
Here is I/O's and settings
Button 1:
Func_door
Name: func_door_1Outputs:
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, noPlayer trigger
Name: trigger_player_1outputs:
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, noBox trigger
Name: trigger_box_1
Filter Name: filter_boxesoutputs:
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_2outputs:
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, noplayer trigger
Name: trigger_player_2outputs:
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, nobox trigger
name: trigger_box_2
filter name: filter_boxesoutputs:
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: nooutputs:
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...)
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 from reepblue on July 24, 2008, 5:07 pmQuote:Func_door
Name: func_door_1Outputs:
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, noFor 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 -> 1You 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, noLooks 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.
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!
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.
The more you give, the less appreciated it will be received.
Quote from MrTwoVideoCards on July 25, 2008, 4:45 amDude 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.
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.