June 30 2023 build: Difference between revisions

From Skyscraper Wiki
Jump to navigation Jump to search
(Created page with "This build has major changes, mainly introducing the new DoorSystem code that allows creation of advanced doors, such as sliding doors and multi-component doors (like elevator doors). For this to work, the core elevator door code was moved out into the DoorSystem files, and now both Elevator Doors and standard Doors use this shared code. This also means that the elevator door code supports rotating doors (like standard doors), but this hasn't been used yet. Doors now sup...")
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{legit}}{{db}}
This build has major changes, mainly introducing the new DoorSystem code that allows creation of advanced doors, such as sliding doors and multi-component doors (like elevator doors). For this to work, the core elevator door code was moved out into the DoorSystem files, and now both Elevator Doors and standard Doors use this shared code. This also means that the elevator door code supports rotating doors (like standard doors), but this hasn't been used yet. Doors now support an AutoClose function, this can be set by the new SetAutoClose command, and doors also can be moved by using the MoveDoor command (this is normally used when creating custom doors).
This build has major changes, mainly introducing the new DoorSystem code that allows creation of advanced doors, such as sliding doors and multi-component doors (like elevator doors). For this to work, the core elevator door code was moved out into the DoorSystem files, and now both Elevator Doors and standard Doors use this shared code. This also means that the elevator door code supports rotating doors (like standard doors), but this hasn't been used yet. Doors now support an AutoClose function, this can be set by the new SetAutoClose command, and doors also can be moved by using the MoveDoor command (this is normally used when creating custom doors).


I've managed to fix the DirectX renderer for the Windows builds of Skyscraper. If you want to use DirectX, delete your ogre.cfg file (if one is there), and run Skyscraper again, choose DirectX. If people are having problems using the OpenGL renderer (such as crashes), this should fix that.
I've managed to fix the DirectX renderer for the Windows builds of Skyscraper. If you want to use DirectX, delete your ogre.cfg file (if one is there), and run Skyscraper again, choose DirectX. If people are having problems using the OpenGL renderer (such as crashes), this should fix that.


New commands introduced:
'''New commands introduced:'''
AddSlidingDoor (create sliding doors)
#AddSlidingDoor (create sliding doors)
AddStdDoor (create standard doors)
#AddStdDoor (create standard doors)
CreateCustomDoor
#CreateCustomDoor
CustomDoorComponent (used with CreateCustomDoor)
#CustomDoorComponent (used with CreateCustomDoor)
FinishDoor (used with CreateCustomDoor)
#FinishDoor (used with CreateCustomDoor)
MoveDoor
#MoveDoor
SetAutoClose
#SetAutoClose


Global doors can now be created with the new door commands, by using "DoorManager" as the parent object.
Global doors can now be created with the new door commands, by using "DoorManager" as the parent object.
Line 16: Line 17:
Action support has been added to Doors and Revolving Doors:
Action support has been added to Doors and Revolving Doors:


New Door actions: Open, Close, AutoClose
New Door actions: Open, Close, AutoClose<br>
New Revolving Door actions: On, Off
New Revolving Door actions: On, Off


tlr08-dev made some contributions, see the changelog for more info on that.
tlr08-dev made some contributions, see the changelog for more info on that.


I've done quite a bit of testing for this build, but need others to test too. Hope you enjoy it!
I've done quite a bit of testing for this build, but need others to test too. Hope you enjoy it!


Changelog:
'''Changelog:'''
-(6/26) - fix DirectX renderer on Windows builds
#(6/26) - fix DirectX renderer on Windows builds
-Moved core elevator door code into DoorSystem files
#Moved core elevator door code into DoorSystem files
-Renamed DoorObject to DoorComponent
#Renamed DoorObject to DoorComponent
-Reworked the door system code to work with standard doors as parents
#Reworked the door system code to work with standard doors as parents
-Migrated rotation code into door system
#Migrated rotation code into door system
-Created AddDoorComponent and FinishDoor functions in Door code
#Created AddDoorComponent and FinishDoor functions in Door code
-Moved basic door code into CreateDoor function
#Moved basic door code into CreateDoor function
-Added rotate parameter to Door object
#Added rotate parameter to Door object
-Updated SBS and script processor functions with new door creation syntax
#Updated SBS and script processor functions with new door creation syntax
-Made AddSlidingDoor command
#Made AddSlidingDoor command
-Added side_texture parameter to Door object
#Added side_texture parameter to Door object
-Added name parameter to Door object frontends
#Added name parameter to Door object frontends
-Added option for locking sliding doors
#Added option for locking sliding doors
-Added AddStdDoor command
#Added AddStdDoor command
-Added close_speed, side_tw, and side_th parameters to new door commands
#Added close_speed, side_tw, and side_th parameters to new door commands
-Added action support for Doors and RevolvingDoors, and added a name parameter to Revolving Doors
#Added action support for Doors and RevolvingDoors, and added a name parameter to Revolving Doors
-Added Run parameter to RevolvingDoor, to enable motion on startup
#Added Run parameter to RevolvingDoor, to enable motion on startup
-Added CreateCustomDoor, CustomDoorComponent, and FinishDoor commands
#Added CreateCustomDoor, CustomDoorComponent, and FinishDoor commands
-Added MoveDoor command
#Added MoveDoor command
-Added support for using the DoorManager object as a parent for door creation functions
#Added support for using the DoorManager object as a parent for door creation functions
-Updated .gitignore (tlr08-dev contribution)
#Updated .gitignore (tlr08-dev contribution)
-Fixed gitrev script (tlr08-dev contribution)
#Fixed gitrev script (tlr08-dev contribution)
-Add include for gitrev.h to msvc project (tlr08-dev contribution)
#Add include for gitrev.h to msvc project (tlr08-dev contribution)
-Added mention of running GitRev script for Windows builds
#Added mention of running GitRev script for Windows builds
-Added support for autoclose timers on doors, and added a SetAutoClose command
#Added support for autoclose timers on doors, and added a SetAutoClose command
-Added an AutoClose action for doors
#Added an AutoClose action for doors


== See also ==
== See also ==
*[[June 23 2023 build|Previous build]]
*[[July 29 2023 build|Next build]]
*[[Development Builds]]
*[[Development Builds]]
== External links ==
== External links ==
* [https://skyscrapersimulatorforum.createaforum.com/download-skyscraper-simulator/new-build-63023-build/ New build: 6/30/23 build on Sksycraper Simulator Forum]
* [https://skyscrapersimulatorforum.createaforum.com/download-skyscraper-simulator/new-build-63023-build/ Build: 6/30/23 build on the Skyscraper Simulator Forum]
* [https://www.youtube.com/watch?v=K_wKc0hINSc Skyscrapersim - New Sliding Doors on YouTube]
* [https://www.youtube.com/watch?v=K_wKc0hINSc Skyscrapersim - New Sliding Doors on YouTube]
[[Category:Development builds]]
[[Category:Development Builds]]
[[Category:2023 Builds]]
[[Category:Alpha 12 builds]]
[[Category:Alpha 12 builds]]

Latest revision as of 13:59, 1 September 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 has major changes, mainly introducing the new DoorSystem code that allows creation of advanced doors, such as sliding doors and multi-component doors (like elevator doors). For this to work, the core elevator door code was moved out into the DoorSystem files, and now both Elevator Doors and standard Doors use this shared code. This also means that the elevator door code supports rotating doors (like standard doors), but this hasn't been used yet. Doors now support an AutoClose function, this can be set by the new SetAutoClose command, and doors also can be moved by using the MoveDoor command (this is normally used when creating custom doors).

I've managed to fix the DirectX renderer for the Windows builds of Skyscraper. If you want to use DirectX, delete your ogre.cfg file (if one is there), and run Skyscraper again, choose DirectX. If people are having problems using the OpenGL renderer (such as crashes), this should fix that.

New commands introduced:

  1. AddSlidingDoor (create sliding doors)
  2. AddStdDoor (create standard doors)
  3. CreateCustomDoor
  4. CustomDoorComponent (used with CreateCustomDoor)
  5. FinishDoor (used with CreateCustomDoor)
  6. MoveDoor
  7. SetAutoClose

Global doors can now be created with the new door commands, by using "DoorManager" as the parent object.

Action support has been added to Doors and Revolving Doors:

New Door actions: Open, Close, AutoClose
New Revolving Door actions: On, Off

tlr08-dev made some contributions, see the changelog for more info on that.

I've done quite a bit of testing for this build, but need others to test too. Hope you enjoy it!

Changelog:

  1. (6/26) - fix DirectX renderer on Windows builds
  2. Moved core elevator door code into DoorSystem files
  3. Renamed DoorObject to DoorComponent
  4. Reworked the door system code to work with standard doors as parents
  5. Migrated rotation code into door system
  6. Created AddDoorComponent and FinishDoor functions in Door code
  7. Moved basic door code into CreateDoor function
  8. Added rotate parameter to Door object
  9. Updated SBS and script processor functions with new door creation syntax
  10. Made AddSlidingDoor command
  11. Added side_texture parameter to Door object
  12. Added name parameter to Door object frontends
  13. Added option for locking sliding doors
  14. Added AddStdDoor command
  15. Added close_speed, side_tw, and side_th parameters to new door commands
  16. Added action support for Doors and RevolvingDoors, and added a name parameter to Revolving Doors
  17. Added Run parameter to RevolvingDoor, to enable motion on startup
  18. Added CreateCustomDoor, CustomDoorComponent, and FinishDoor commands
  19. Added MoveDoor command
  20. Added support for using the DoorManager object as a parent for door creation functions
  21. Updated .gitignore (tlr08-dev contribution)
  22. Fixed gitrev script (tlr08-dev contribution)
  23. Add include for gitrev.h to msvc project (tlr08-dev contribution)
  24. Added mention of running GitRev script for Windows builds
  25. Added support for autoclose timers on doors, and added a SetAutoClose command
  26. Added an AutoClose action for doors

See also[edit | edit source]

External links[edit | edit source]