Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests. Failure to comply with the forum rules may result in your topic being locked without resolution.
mapsoundreset
//mapsound "cemetary/main" 255 32767 // 0
mapsound "cemetary/main" 200 32767 // 0
mapsound "cemetarysounds/song1" 200 32767 // 1
mapsound "cemetarysounds/song2" 255 32767 // 2
mapsound "cemetarysounds/easteregg1" 175 32767 // 3
mapsound "cemetarysounds/easteregg2" 255 32767 // 4
mapsound "cemetarysounds/easteregg3" 255 32767 // 5
mapsound "cemetarysounds/radiosong1" 255 32767 // 7
mapsound "cemetarysounds/woodcreak" 255 32767 // 8
mapsound "cemetarysounds/moan" 255 32767 // 9
music cemetary/main
moan = (registersound cemetarysounds/moan 255)
level_trigger_1 = [sound $mummy; sleep 5000]
creak = (registersound cemetarysounds/woodcreak 255)
level_trigger_2 = [sound $creak; sleep 120000]
level_trigger_6 = [echo "Your Thoughts: Hey, the radios on, I wonder what song this is"]
level_trigger_25 = [showgui Companion-Cube]
newgui Companion-Cube [
guitext "Hello there" chat
guitext "I am Companion Cube" chat
guitext "So you think you have found all the secrets?" chat
guitext "Try and find the cake in chamber 19" chat
guitext "When you find it" chat
guitext "take a screenshot and post it to Leo on the forums" chat
guitext "Then tell him where the other secrets are that you found" chat
guibutton "Sounds fun. Ill go search for it now." [echo "Companion Cube: Good Luck"]
]
level_trigger_30 = [showgui Chell]
newgui Chell [
guitext "Hey there!" chat
guitext "Have you found all the special keys?" chat
guitext "The special keys give off a green light." chat
guitext "If you think you found them all." chat
guitext "Find my friend the Companion Cube and" chat
guitext "he'll tell you what to find next." chat
guibutton "Sweet, im on it!" [echo "Chell: Bye. Now wheres that cake?"]
]
level_trigger_50 = [showgui Maria]
newgui Maria [
guitext "If you are trying to get through this door your out of luck." chat
guitext "You need a key to get in here." chat
guibutton "Okay thank you. Goodbye!" [echo "Maria: Goodbye!"
]
level_trigger_70 = [echo "You found a key!"]
]
level_trigger_80 = [showgui Groundskeeper-George]
newgui Groundskeeper-George [
guitext "Help! Father Grigori is trapped" chat
guitext "he is in the church dungeon locked in a vault with a red door." chat
guitext "Flick the switch to save him." chat
guitext "But i dont know where the switch is." chat
guitext "Try having a look in the church tower" chat
guitext "Or even in the lake." chat
guibutton "Ill go take a look for it now" [echo "Groundskeeper-George: Please Hurry!"]
]
level_trigger_90 = [showgui Father-Grigori]
newgui Father Grigori [
guitext "Thank you brother" chat
guitext "I thank you for your help" chat
guibutton "Youre Welcome" [echo Father Grigori: Take Care Brother!]
]
It's Maria's level trigger. You have:
level_trigger_50 = [showgui Maria]
newgui Maria [
guitext "If you are trying to get through this door your out of luck." chat
guitext "You need a key to get in here." chat
guibutton "Okay thank you. Goodbye!" [echo "Maria: Goodbye!"
]
but what it should be is this (look at the red & blue brackets):
level_trigger_50 = [showgui Maria]
newgui Maria [
guitext "If you are trying to get through this door your out of luck." chat
guitext "You need a key to get in here." chat
guibutton "Okay thank you. Goodbye!" [echo "Maria: Goodbye!"] ]
mapsoundreset
//mapsound "cemetary/main" 255 32767 // 0
mapsound "cemetary/main" 200 32767 // 0
mapsound "cemetarysounds/song1" 200 32767 // 1
mapsound "cemetarysounds/song2" 255 32767 // 2
mapsound "cemetarysounds/easteregg1" 175 32767 // 3
mapsound "cemetarysounds/easteregg2" 255 32767 // 4
mapsound "cemetarysounds/easteregg3" 255 32767 // 5
mapsound "cemetarysounds/radiosong1" 255 32767 // 7
mapsound "cemetarysounds/creak" 255 32767 // 8
mapsound "cemetarysounds/mummy" 255 32767 // 9
music cemetary/main
mummy = (registersound cemetarysounds/mummy 255)
level_trigger_1 = [sound $mummy; sleep 5000]
creak = (registersound cemetarysounds/creak 255)
level_trigger_2 = [sound $creak; sleep 120000]
level_trigger_6 = [echo "Your Thoughts: Hey, the radios on, I wonder what song this is"]
level_trigger_25 = [showgui Companion-Cube]
newgui Companion-Cube [
guitext "Hello there" chat
guitext "I am Companion Cube" chat
guitext "So you think you have found all the secrets?" chat
guitext "Try and find the cake in chamber 19" chat
guitext "When you find it" chat
guitext "take a screenshot and post it to Leo on the forums" chat
guitext "Then tell him where the other secrets are that you found" chat
guibutton "Sounds fun. Ill go search for it now." [echo "Companion Cube: Good Luck"]
]
level_trigger_30 = [showgui Chell]
newgui Chell [
guitext "Hey there!" chat
guitext "Have you found all the special keys?" chat
guitext "The special keys give off a green light." chat
guitext "If you think you found them all." chat
guitext "Find my friend the Companion Cube and" chat
guitext "he'll tell you what to find next." chat
guibutton "Sweet, im on it!" [echo "Chell: Bye. Now wheres that cake?"]
]
level_trigger_50 = [showgui Maria]
newgui Maria [
guitext "If you are trying to get through this door your out of luck." chat
guitext "You need a key to get in here." chat
guibutton "Okay thank you. Goodbye!" [echo "Maria: Goodbye!"]
]
level_trigger_70 = [echo "You found a key!"]
]
level_trigger_80 = [showgui Groundskeeper-George]
newgui Groundskeeper-George [
guitext "Help! Father Grigori is trapped" chat
guitext "he is in the church dungeon locked in a vault with a red door." chat
guitext "Flick the switch to save him." chat
guitext "But i dont know where the switch is." chat
guitext "Try having a look in the church tower" chat
guitext "Or even in the lake." chat
guibutton "Ill go take a look for it now" [echo "Groundskeeper-George: Please Hurry!"]
]
level_trigger_90 = [showgui Father-Grigori]
newgui Father Grigori [
guitext "Thank you brother" chat
guitext "I thank you for your help" chat
guibutton "Youre Welcome" [echo Father Grigori: Take Care Brother!]
]
i think so, thats where i was confused, the script base looked like the script from halloween house.cfg just added more sounds and triggers and changed the text around. it was working fine before.