RealisticTopBox2024: Difference between revisions

From Skyscraper Wiki
Jump to navigation Jump to search
No edit summary
Line 36: Line 36:
#Z: center z position<br>
#Z: center z position<br>
#Direction: specifies direction in which the box faces (can be left, right, front, back)<br>
#Direction: specifies direction in which the box faces (can be left, right, front, back)<br>
== Credits ==
* Credits are given to [https://scratch.mit.edu/users/Jon5432 Jon5432] on Scratch for the textures


[[Category:Scripts]]
[[Category:Scripts]]

Revision as of 11:13, 22 April 2024

RealisticTopBox2024 will be a script that allows users to create a realistic inspection box rather than spending time doing it manually. It will be made by Lighthouse Friesland as part of the LF Integration Project.

Beno Building Simulator (Incomplete) has also this feature.

Notes

If you really want to create a realistic inspection box, wait until Build 5 of LF Integration Project is released.

How To Use

RealisticTopBox2024 was created to allow users to add realistic inspection box into their buildings by following a few basic and easy steps instead of spending hours trying to manually create them. RealisticTopBox2024 hopes to completely redefine the concept of building coding in Skyscraper, as it allows a new feature to be added into buildings.

1)   Before adding your inspection box, place in this code (Function Activation Code). This will basically insert the functionscript into your building file, allowing you to place in the scripting code which actually creates the inspection box.

<Include RealisticTopBox2024/Scripts/r1_script.txt>

2)   Now it is time to place in the function: InspectionBox. Here is the syntax

InspectionBox(BgTexture, UpTexture, UpLitTexture, DownTexture, DownLitTexture, GoTexture, GoLitTexture, InsUnlitTexture, InsLitTexture, AlarmTexture, AlarmSound, X, Z, Direction)

Example

InspectionBox(InsBg, InsUp, InsUpLit, InsDown, InsDownLit, InsGo, InsGoLit, InsUnlit, InsLit, InsAlarm, bell1.wav, 0, 0, front)

Syntax Description

Textures

  1. BgTexture: background texture
  2. UpTexture: up button texture
  3. UpLitTexture: up button (lit) texture
  4. DownTexture: down button texture
  5. DownLitTexture: down button (lit) texture
  6. GoTexture: go button texture
  7. GoLitTexture: go button (lit) texture
  8. InsUnlitTexture: inspection button texture
  9. InsLitTexture: inspection button (lit) texture
  10. AlarmTexture: alarm texture
    General
  11. AlarmSound: alarm sound (e.g. bell1.wav)
    Position
  12. X: center x position
  13. Z: center z position
  14. Direction: specifies direction in which the box faces (can be left, right, front, back)

Credits

  • Credits are given to Jon5432 on Scratch for the textures