June 30 2023 build
It contains good-faith information, such as an existing building or content. |
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:
- AddSlidingDoor (create sliding doors)
- AddStdDoor (create standard doors)
- CreateCustomDoor
- CustomDoorComponent (used with CreateCustomDoor)
- FinishDoor (used with CreateCustomDoor)
- MoveDoor
- 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:
- (6/26) - fix DirectX renderer on Windows builds
- Moved core elevator door code into DoorSystem files
- Renamed DoorObject to DoorComponent
- Reworked the door system code to work with standard doors as parents
- Migrated rotation code into door system
- Created AddDoorComponent and FinishDoor functions in Door code
- Moved basic door code into CreateDoor function
- Added rotate parameter to Door object
- Updated SBS and script processor functions with new door creation syntax
- Made AddSlidingDoor command
- Added side_texture parameter to Door object
- Added name parameter to Door object frontends
- Added option for locking sliding doors
- Added AddStdDoor command
- 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 Run parameter to RevolvingDoor, to enable motion on startup
- Added CreateCustomDoor, CustomDoorComponent, and FinishDoor commands
- Added MoveDoor command
- Added support for using the DoorManager object as a parent for door creation functions
- Updated .gitignore (tlr08-dev contribution)
- Fixed gitrev script (tlr08-dev contribution)
- Add include for gitrev.h to msvc project (tlr08-dev contribution)
- Added mention of running GitRev script for Windows builds
- Added support for autoclose timers on doors, and added a SetAutoClose command
- Added an AutoClose action for doors