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...")
 
mNo edit summary
Line 4: Line 4:


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 16:
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


Line 24: Line 24:


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 ==
Line 56: Line 56:
* [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/ New build: 6/30/23 build on Sksycraper 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:Alpha 12 builds]]
[[Category:Alpha 12 builds]]

Revision as of 21:34, 21 July 2023

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:

  • (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

External links