April 29 2024 build

From Skyscraper Wiki
Jump to navigation Jump to search

This build mainly has a partial revamping of the script interpreter, which was prompted by some parameters not working with math calculations. Since the script interpreter has been changed, more testing needs to be done to make sure nothing broke, so far a number of buildings are working fine with it. There's also a new Texture Manager dialog window, which lets you view the currently loaded textures and information about them. I've wanted to add a texture preview to that window, but currently am not sure how to do it, you can export the texture though to a file. The CallButtonElevators command now supports ranges properly.

Detailed Changes:

supports calcs before equal sign:

Elevator Cars: openspeed doortimer quickclose nudgetimer slowspeed manualspeed opensound closesound nudgesound chimesound upchimesound downchimesound earlyupchimesound earlydownchimesound doorsensor

General Commands: shaftshowfloors shaftshowinterfloors shaftshowoutside showfullshaft stairsshowfloors showfullstairs

supports calcs for parameters: elevators (controller) fireservice1 fireservice2 servicedfloors group (floors) rotation (globals) timescale (globals) coordinates (globals) camerarotation (globals) cameradirection cameraposition invalidinput callbuttonelevators id (elevator)

Changelog:

  1. Add support for calculations of parameters before the equals sign, add more support for parameter calculations, and added the GetBeforeEquals() and GetRange() functions to simplify code. CallButtonElevators now supports ranges properly, matching the script guide.
  2. Began work on revamping script interpreter, use StartsWithNoCase() function instead of manual string checks
  3. new Texture Manager dialog
  4. Added support for texture dependency counts, the Texture Manager dialog will now unload textures when the related dependency count is 0
  5. Report when unloading textures and materials
  6. Export mipmaps to image, fixes image exporting/saving function

See also

External links