April 29 2024 build: Difference between revisions

From Skyscraper Wiki
Jump to navigation Jump to search
m (Text replacement - "script guide" to "script guide")
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{legit}}{{db}}
{{legit}}{{db}}
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.
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.


<big>'''Detailed Changes:'''</big>
'''Detailed Changes:'''


'''supports calcs before equal sign''':
'''supports calcs before equal sign''':


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


General Commands:
General Commands:
shaftshowfloors
# shaftshowfloors
shaftshowinterfloors
# shaftshowinterfloors
shaftshowoutside
# shaftshowoutside
showfullshaft
# showfullshaft
stairsshowfloors
# stairsshowfloors
showfullstairs
# showfullstairs


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


<big>'''Changelog:'''</big>
'''Changelog:'''
#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 [[Help:Design Guide|script guide]].
#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 [[Help:Design Guide|script guide]].
#Began work on revamping script interpreter, use StartsWithNoCase() function instead of manual string checks
#Began work on revamping script interpreter, use StartsWithNoCase() function instead of manual string checks
#new Texture Manager dialog
#new Texture Manager dialog
Line 62: Line 62:
* [https://skyscrapersimulatorforum.createaforum.com/download-skyscraper-simulator/new-build-042924-build/ Build: 4/29/24 build on the Skyscraper Simulator Forum]
* [https://skyscrapersimulatorforum.createaforum.com/download-skyscraper-simulator/new-build-042924-build/ Build: 4/29/24 build on the Skyscraper Simulator Forum]
[[Category:Development Builds]]
[[Category:Development Builds]]
[[Category:2024 Builds]]
[[Category:Alpha 12 builds]]
[[Category:Alpha 12 builds]]

Latest revision as of 15:39, 8 October 2024

This article is legitimate.
It contains good-faith information, such as an existing building or content.
This article describes a development build of Skyscraper Simulator.
It contains good information related to Skyscraper Simulator.

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:

  1. openspeed
  2. doortimer
  3. quickclose
  4. nudgetimer
  5. slowspeed
  6. manualspeed
  7. opensound
  8. closesound
  9. nudgesound
  10. chimesound
  11. upchimesound
  12. downchimesound
  13. earlyupchimesound
  14. earlydownchimesound
  15. doorsensor

General Commands:

  1. shaftshowfloors
  2. shaftshowinterfloors
  3. shaftshowoutside
  4. showfullshaft
  5. stairsshowfloors
  6. showfullstairs

supports calcs for parameters:

  1. elevators (controller)
  2. fireservice1
  3. fireservice2
  4. servicedfloors
  5. group (floors)
  6. rotation (globals)
  7. timescale (globals)
  8. coordinates (globals)
  9. camerarotation (globals)
  10. cameradirection
  11. cameraposition
  12. invalidinput
  13. callbuttonelevators
  14. 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[edit | edit source]

External links[edit | edit source]