Editing
July 30 2025 build
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{OB}}{{db}}[[File:Extrusion2.jpg|thumb|right|Extrusion showcase]] I've been doing a lot of code refactoring again, and the code should be working well but might have issues due to things moving around. This build introduces polygon extrusion, which is something I've wanted in Skyscraper for a long time, but didn't know how to do it before. I tried working with ChatGPT on some of these things, and it was able to provide explanations and code for doing the work. Extrusion is something that Skyscraper somewhat already does, but does it manually, it adds depth to polygons. Previously you couldn't add depth to objects made with AddCustomWall and similar commands, but I've attached a picture of what AddCustomWall looks like with the new extrude support. The demo building "'[[Simple - Extrude]]" demonstrates this. By using this along with custom models or similar, you can now create more advanced procedural objects. I went over the forum post about the proposed CreateSlideshow command, and made the command. It was a little tricky to create because I had to make a working SetTexture() function in the simulator, previously it only was able to set textures on objects and not change global textures (like animated textures), but is working now. Slideshows are the same as LoadAnimated but with durations for each image frame. The "[[Simple - Slideshow]]" building demonstrates how to make a slideshow, and what it does is it animates the stairs door texture, to different door types. I've also tied it in with the Action system, so that you can turn on and off slideshows from action controls. In the control panel, I added the Floor Information window, which replaces the old floor list. This should make finding information about floors in the [[building]] much easier. I've been working on fixing the elevator rotation issues, found that Ogre only supports rotations based on either local, parent, or world. For elevator doors to rotate properly, they need to be children of the object rotated. I was rotating the elevator itself, but that's the grandparent of the elevator door, so rotating the elevator car instead fixes some of the door issues. Skyscraper has used some old and hard to read, heavily-modified Crystal Space functions, and I've wanted to replace them with new code for a long time. I worked with ChatGPT on the concepts and code, and it was able to generate and work with basic code to replace some of those legacy functions, the new code is much easier to understand and easier to read. Those functions were related to clicking on objects, and also abstract texture mapping, things were the math was too hard for me to grasp. The texture mapping appears to work the same as before, but the wall clicking is actually working much better now (the CS function was somewhat broken), it's not perfect but is getting there. One issue with this is some elevator doors portions aren't being cut properly in the [[Glass Tower]] building, I'm looking into that. Let me know if you find any more issues with this build. '''Changelog for 2.1:''' #Fix delimiter in uname command when no version state is specified #Added variable display to script debugger #VMConsole: remove Frontend mention from version command #SBS: if a texture material is already loaded, report an error and exit before trying to create a new texture #SBS: moved Texture Manager to controllers section #SBS: Moved TextureInfo into new Texture object #SBS: moved texture loading code into TextureImage object #SBS: created AddArrayElement and RemoveArrayElement utility templated functions #PolyMesh: add support for polygon extrusion, for creating custom polygons with thickness and sides. #SBS: stop timer before the Notify() call #Added CreateSlideshow command and related code #TextureManager: when loading a texture, unload the previous texture if it exists, instead of exiting #SBS: moved remaining geometry functions into PolyMesh #GUI: added the Floor Information dialog #[[Convention Center]]: made observatory level (114), spire top (115) and antenna #TextureManager: SetTexture() function should set texture on all Ogre techniques in the material instead of assuming 0 #TextureManager: added the option to enable or disable the slideshow on start, added an Action that can start and stop a slideshow, and added the new "[[Simple - Slideshow]]" building #added the Simple - Slideshow building #TextureManager: report on slideshow creation and start/stop #Guide: added logo for Virtual Manager page #Script Guide: added CreateSlideshow command information and related Action commands #Convention Center: fixed door movement of rotated elevators #Added Rotation parameter for shaft doors, allowing them to be rotated along with elevator cars #Convention Center: rotate shaft doors into position using the new rotation support #Added texture tiling parameters to the ExtrudePoly command #PolyMesh: updated code in FindWallIntersect() #PolyMesh: replaced the CS IntersectRay() with new implementation, fixes some of the wall-clicking issues #PolyMesh: replaced IntersectSegment functions #PolyMesh: added ComputeNormal2() and SplitWithPlane() replacement functions #TextureManager: replaced ComputeTextureMap() and ComputeTextureSpace() functions == See also == *[[July 24 2025 build|Previous build]] *[[August 1 2025 build|Next build]] *[[Development Builds]] == External links == *[https://skyscrapersimulatorforum.createaforum.com/download-skyscraper-simulator/new-2-1-build-73025-build/ New 2.1 build: 7/30/25 build] [[Category:Development Builds]] [[Category:2025 Builds]]
Summary:
Please note that all contributions to Skyscraper Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
Skyscraper Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Db
(
edit
)
Template:OB
(
edit
)
Template:OfficialBuild
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information