June 30 2023 build: Difference between revisions
Elevator1512 (talk | contribs) (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...") |
Elevator1512 (talk | contribs) m (Text replacement - "Category:Development Builds" to "Category:Development Builds Category:2023 Builds") |
||
(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. | 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 | |||
#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 | |||
== 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/ | * [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 | [[Category:Development Builds]] | ||
[[Category:2023 Builds]] | |||
[[Category:Alpha 12 builds]] | [[Category:Alpha 12 builds]] |
Latest revision as of 13:59, 1 September 2024
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