June 30 2023 build: Difference between revisions

From Skyscraper Wiki
Jump to navigation Jump to search
m (Text replacement - "This build" to "{{legit}}{{db}} This build")
 
Line 61: Line 61:
* [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]