RealisticTopBox2024: Difference between revisions

From Skyscraper Wiki
Jump to navigation Jump to search
No edit summary
Line 14: Line 14:
2)   Now it is time to place in the function: <code>InspectionBox</code>. Here is the syntax
2)   Now it is time to place in the function: <code>InspectionBox</code>. Here is the syntax


<code>InspectionBox(BgTexture, UpTexture, UpLitTexture, DownTexture, DownLitTexture, GoTexture, GoLitTexture, InsUnlitTexture, InsLitTexture, AlarmTexture, AlarmSound, X, Z, Direction)</code>
<code>InspectionBox(BgTexture, UpTexture, UpLitTexture, DownTexture, DownLitTexture, GoTexture, GoLitTexture, InsUnlitTexture, InsLitTexture, AlarmTexture, EStopTexture, X, Z, Direction)</code>


== Example ==
== Example ==


<code>InspectionBox(InsBg, InsUp, InsUpLit, InsDown, InsDownLit, InsGo, InsGoLit, InsUnlit, InsLit, InsAlarm, bell1.wav, 0, 0, front)</code>
<code>InspectionBox(InsBg, InsUp, InsUpLit, InsDown, InsDownLit, InsGo, InsGoLit, InsUnlit, InsLit, InsAlarm, InsStop, 0, 0, front)</code>


== Syntax Description ==
== Syntax Description ==
Line 31: Line 31:
#InsUnlitTexture: inspection button texture<br>
#InsUnlitTexture: inspection button texture<br>
#InsLitTexture: inspection button (lit) texture<br>
#InsLitTexture: inspection button (lit) texture<br>
#AlarmTexture: alarm texture<br>'''General'''
#AlarmTexture: alarm button texture<br>
#AlarmSound: alarm sound (e.g. bell1.wav)<br>'''Position'''
#EStopTexture: emergency stop button texture<br>'''Position'''
#X: center x position<br>
#X: center x position<br>
#Z: center z position<br>
#Z: center z position<br>

Revision as of 08:59, 24 April 2024

RealisticTopBox2024 will be a script that allows users to create a realistic inspection box easily 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 will be 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, EStopTexture, X, Z, Direction)

Example

InspectionBox(InsBg, InsUp, InsUpLit, InsDown, InsDownLit, InsGo, InsGoLit, InsUnlit, InsLit, InsAlarm, InsStop, 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 button texture
  11. EStopTexture: emergency stop button texture
    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