Escalator2011

From Skyscraper Wiki
Jump to navigation Jump to search

Escalator2011 is a script that allows users to add realistic looking escalators more easily. It was made by escalatorgeek881 as part of the EG881 Integration Project.

How to Use

Escalator2011 was created to allow users to add escalators into their buildings by following a few basic and easy steps instead of spending hours trying to manually create them. Escalator2011 hopes to completely redefine the concept of building coding in Skyscraper, as it allows a new feature to be added into buildings. It now has all of the escalator code inside special functions, which are created in special script files. This feature allows you to add a bank of escalators on a single floor or among a range of floors with only one line of code, instead of inserting serveral lines of code that into your building code. Each release of Escalator2011 will have its own script file, which will allow backwards comparability when Escalator2011 is updated. Adding escalators is simpler than ever before, you no longer have to open up special text files and insert the code from those files into your building code.

To add an escalator, follow these basic steps...

  1. Before adding your escalators, place in this code (Function Activation Code). This will basically insert the functionscript into your building file, allowing you to place in the scripting code which actually creates the escalators.
    <Include Escalator2011/Scripts/r5_escalator_script.txt>
  2. Now it is time to place in the function: AddEscalators2. Here is the syntax (it is long, it is placed on several lines)...
   AddEscalators2(number, numberofescalators, direction, startfloor, endfloor, steptexture, stepsidetexture, landingtexture, balustradetexture,
       walltexture, handrailtexture, x, z, width, height, steps, lengthbetweenescalators, balustradewidth, useautomaticcutting,
       useautomaticrailings, extracutting, railingthickness, railingheight, railingtexture)

Note that you can also place in AddAutoEscalators2 (syntax is the same), which will cause escalator units on particular floors to render and not render as you travel up/down the escalator bank.

Releases

Release 1 (4/4/11)

  1. Code for creating a two-escalator bank facing back
  2. Basic information and instructions added

Release 2 (4/24/11)

  1. Code for creating a two-escalator bank facing front
  2. Instructions revised
  3. New configuration for number of steps, which is also the length of the escalator(s)
  4. Center Z changed to Upper Landing Z Coordinate, which is the endpoint in which is upper landing is located
  5. Diagrams added
  6. Slight changes to defaults
  7. Code for creating a two-escalator bank facing left
  8. Added multifloor code
  9. Code for creating a two-escalator bank facing right (single floor and multifloor)
  10. Small code revisions

Release 3 (5/15/11)

  1. Condensed and simplified code.
  2. Code has been migrated to functions.
  3. Code for creating single escalators.

Release 4 (6/5/11)

R3 SCRIPT (AddEscalator and AddDoubleEscalator)

  1. Created special code for automatic cutting and railings (R3 Script).
  2. Added new default textures (R3 Script)
  3. Default textures are now loaded automatically from a special folder (R3 Script)

R4 SCRIPT (AddEscalators)

  1. Single and double escalator code integrated into one function: AddEscalators (R4 Script)
  2. Automatic cuts and railings, which can be switched on and off (R4 Script)
  3. Added new default textures (R4 Script)
  4. Default textures are now loaded automatically from a special folder (R4 Script)

Release 5 (6/5/11)

R5 SCRIPT (AddEscalators2)

  1. New parameter for escalator landing texture
  2. Rearranged syntax.