not going to ever give this up. your filter does not apply to me.
not going to ever give this up. your filter does not apply to me.
Merry Chr?stmas
Found a python (2.7) script I wrote a while ago when I was getting used to using OSX.
It's a replication of the old ApertureScience14.swf that Valve had on the aperturescience.com website, the IP command and the INTERROGATE command functionality hasn't been finished.
No viruses, I promise. You can look at the source code yourself.
EDIT:
Quickly added a typing-like effect to make it more akin to the original.
Replace code with this.
# Imports libraries
import time
import sys
from random import random
import os
# Typing print
def print_slow(str):
for letter in str:
time.sleep(0.01)
sys.stdout.write(letter)
sys.stdout.flush()
def mainprompt():
# Prints out welcome banner and version
print_slow ("GLaDOS v3.11 (c) 1997 Aperture Science, Inc. \n")
time.sleep(1.5)
# Main prompt
while True:
prompt = raw_input("B:\> ").upper()
# Commands start here
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Help command
if (prompt == 'HELP') or (prompt == 'LIB'):
time.sleep(1)
print_slow ("APPEND\n")
print_slow ("ATTRIB\n")
print_slow ("COPY\n")
print_slow ("DIR\n")
print_slow ("ERASE\n")
print_slow ("FORMAT\n")
print_slow ("INTERROGATE\n")
print_slow ("LIB\n")
print_slow ("RENAME\n")
print_slow ("TAPEDISK\n")
print_slow ("IP\n")
# Tapedisk command
elif prompt == 'TAPEDISK':
time.sleep(0.5)
print_slow ("ERROR 13 [User not authorized to transfer system tapes]\n")
# WIP!! IP command
elif prompt == 'IP':
time.sleep(0.5)
print "RANDOM IP PLACEHOLDER"
# Append, attrib, copy, erase, format and rename commands output
elif (prompt == 'APPEND') or (prompt == 'ATTRIB') or (prompt == 'COPY') or (prompt == 'ERASE') or (prompt == 'FORMAT') or (prompt == 'RENAME'):
time.sleep(0.5)
print_slow ("ERROR 17 [Disk is read-only]\n")
# Exit command (quit recognised as well)
elif (prompt == 'EXIT') or (prompt == 'QUIT'):
print_slow ("Shutting down...\n")
time.sleep(2.5)
sys.exit()
# Directory listing command
elif prompt == 'DIR':
time.sleep(0.5)
print_slow ("\nDISK VOLUME 255 [WORKSTATION NEWEMPLOYEE]\n")
time.sleep(1)
print_slow (" I 019 APPLY.EXE\n")
time.sleep(0.25)
print_slow (" I 004 NOTES.EXE\n")
time.sleep(0.25)
print_slow (" I 029 DTBASE.EXE\n")
time.sleep(1)
print "3 FILE(S) IN 35 BLOCKS\n"
# Clear command (cls works as well)
elif (prompt == 'CLEAR') or (prompt == 'CLS'):
time.sleep(0.5)
os.system('cls' if os.name == 'nt' else 'clear')
time.sleep(1)
# Notes command (notes.exe works as well)
elif (prompt == 'NOTES') or (prompt == 'NOTES.EXE'):
time.sleep(2)
print_slow ("ERROR 14 [File is corrupted]\n")
# Apply command (apply.exe works as well)
elif (prompt == 'APPLY') or (prompt == 'APPLY.EXE'):
time.sleep(2)
print_slow ("ERROR 14 [File is corrupted]\n")
# Template command tutorial!
# First, we ask the prompt if it has 'TEMPLATE' in it
elif prompt == 'TEMPLATE':
# If it does, start executing these commands
print "Template command!!" # This will print to the screen, "Template command!!
time.sleep(1) # This tells the screen to wait / delay for 1 second
# If command does not exist, show this
else:
time.sleep(1)
print_slow ("ERROR 15 [File not found]\n")
# IP generation code
randomip = random() # Randomly generates a number
# Login code
def login():
time.sleep(1)
user = raw_input("LOGIN: ")
if user == 'glados':
time.sleep(1)
password = raw_input("PASSWORD: ")
if (password == 'portal') or (password == 'portals') or (password == 'glados'):
time.sleep(1)
mainprompt()
else:
time.sleep(1)
print_slow ("\nWRONG PASSWORD!")
else:
time.sleep(1)
print_slow ("\nWRONG USERNAME!")
# End of login code
login()
After that month I took an incredibly long break from using Hammer, and even switched operating systems in the meantime. I recently got back into it and everything just feels so easy now. It took me a little bit to remember everything, but now that I have I feel like an idiot for having trouble with it originally and I've even taught myself how to do a couple more things.
I even finally learned how to properly use Skotty's Energy Ball instances. I never even noticed the $relay parm before! Or if I did, I didn't know how to use it...
Even though I'm much better than I was, though, I'm still incredibly far from making anything worthy of releasing, and nothing really worth showing off either. I'm only working on one original map that I keep having to rethink every time I start working on it, I just kinda suck at thinking of puzzles.
At least I'm having metric tons of fun recreating P1 chambers on my own time. I'm doing chambers 16 and 19 right now, and 19 is being especially interesting because I'm trying to design it halfway between how it's displayed in Portal and Portal 2. I'd recreate it faithfully to Portal 2's destroyed version, but there are a couple places where the puzzle would become impossible to solve because of the new placement of black vs. white tiles.
It's also really fun to experiment with full-on "cross" styles, that make it almost feel like a completely different game.
You know those hole-in-the-wall lights that you'd see all over the metal walled areas in Portal? I tried a ton of different designs to remake those is a P2-ish style, even tried putting an observation window in front of them to see how it'd look. That much would have been easier if refracting glass textures worked though.
My apologies if you felt obligated to read all that to no avail, I just wanted to speak my mind in a public place. [/rant]
644624
Dr.Toaster Waffles wrote:
I'm completely stumped by Direct and Redirect, one of Azorae's easiest chambers. I just don't see how it's possible to get the cube onto the button. I might need some professional help but in the mean time I could use a walkthrough.
I think I know the little bit that gets you stumped, you probably missed a part of the white wall near the exit that leads to the button area below the funnel.
As you wished:
Well I found this out today.