May 31 2009 build

From Skyscraper
Jump to: navigation, search
This is the article of a development build of Skyscraper Simulator.
It has been confirmed a good-faith contribution to the Skyscraper wiki.

This build has support for multiple elevator doors (which is working, but has only been partially tested), and I did most of the work for that on the plane to London (and did code cleanups on the trip back). Some commands have been changed for this to work, so you'll have to update your buildings - buildings that come with Skyscraper have already been updated. Also Skyscraper won't build on Linux using the Crystal Space 1.2 packages since it now requires CS 1.4, and I'll be making Debian packages for that soon (CS 1.4 hasn't been released yet, and I'll be building an SVN snapshot of it).

http://www.skyscrapersim.com/downloads/dev

Command changes (details on them are in the script guide):

New parameter:
Doors - sets the number of doors the elevator will have (used in the Elevator section)

Changed commands:
CreateElevator
old syntax: CreateElevator x, z, floor
new syntax: CreateElevator relative, x, z, floor

AddDoors
old syntax: AddDoors texturename, thickness, CenterX, CenterZ, width, height, direction, tw, th
new syntax: AddDoors number, texturename, thickness, CenterX, CenterZ, width, height, direction, tw, th

AddShaftDoors
old syntax: AddShaftDoors texturename, thickness, CenterX, CenterZ, tw, th
new syntax: AddShaftDoors number, texturename, thickness, CenterX, CenterZ, tw, th

AddDirectionalIndicators
old syntax: AddDirectionalIndicators BackTexture, UpTexture, UpTextureLit, DownTexture, DownTextureLit, CenterX, CenterZ, voffset, direction, BackWidth, BackHeight, ShowBack, tw, th
new syntax: AddDirectionalIndicators Relative, BackTexture, UpTexture, UpTextureLit, DownTexture, DownTextureLit, CenterX, CenterZ, voffset, direction, BackWidth, BackHeight, ShowBack, tw, th


Changed parameters:

OpenSpeed
old syntax: OpenSpeed = value
new syntax: OpenSpeed doornumber = value

DoorTimer
old syntax: DoorTimer = value
new syntax: DoorTimer doornumber = value

OpenSound
old syntax: OpenSound = filename
new syntax: OpenSound doornumber = filename

CloseSound
old syntax: CloseSound = filename
new syntax: CloseSound doornumber = filename

ChimeSound
old syntax: ChimeSound = filename
new sound: ChimeSound doornumber = filename

These door-related parameters must be specified after the CreateElevator command (since that command creates the door objects); if you place any of those parameters before the command, you'll get an error.

See Also