Please or Register to create posts and topics.

The Off-Topic Thread

PreviousPage 55 of 58Next

Image

not going to ever give this up. your filter does not apply to me.

ImageImage
===========================
Im blue, a Clean Christian Furry with Autism.

Merry Chr?stmas :D

Image

you too. :)

Merry Chr?stmas

ImageImage
===========================
Im blue, a Clean Christian Furry with Autism.

Happy new year!
(Hitting 500 posts is pretty fitting for 2015. Totally planned that)

Happy New year everyone! :D

Happy new year!! :D

Level designer, 3D modeler, texture artist ,environment artist.

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.

Code: Select all
# 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 ("APPENDn")
         print_slow ("ATTRIBn")
         print_slow ("COPYn")
         print_slow ("DIRn")
         print_slow ("ERASEn")
         print_slow ("FORMATn")
         print_slow ("INTERROGATEn")
         print_slow ("LIBn")
         print_slow ("RENAMEn")
         print_slow ("TAPEDISKn")
         print_slow ("IPn")
         
      # 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.EXEn")
         time.sleep(0.25)
         print_slow ("     I  004  NOTES.EXEn")
         time.sleep(0.25)
         print_slow ("     I  029  DTBASE.EXEn")
         time.sleep(1)
         print "3 FILE(S) IN 35 BLOCKSn"
         
      # 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()

oh my god please HELP ME

please

If you missed this map floating around on the workshop, give it a try now, it's a really good concept (but without portals... you'll see)

Image

Oh yea, my good friend made that. Very fun.

When life gives you lemons, make apple juice and have everyone wonder how you did it.
Musical website Moddb

Maybe someone will get a laugh out of this (hopefully!) :1up:
3vFpr_v-HGM

PreviousPage 55 of 58Next