RealisticTopBox2024: Difference between revisions

From Skyscraper Wiki
Jump to navigation Jump to search
No edit summary
Line 21: Line 21:


== Syntax Description ==
== Syntax Description ==
General
General<br>
1) BgTexture: background texture
1) BgTexture: background texture<br>
2) UpTexture: up button texture
2) UpTexture: up button texture<br>
3) UpLitTexture: up button (lit) texture
3) UpLitTexture: up button (lit) texture<br>
4) DownTexture: down button texture
4) DownTexture: down button texture<br>
5) DownLitTexture: down button (lit) texture
5) DownLitTexture: down button (lit) texture<br>
6) GoTexture: go button texture
6) GoTexture: go button texture<br>
7) GoLitTexture: go button (lit) texture
7) GoLitTexture: go button (lit) texture<br>
8) InsUnlitTexture: inspection button texture
8) InsUnlitTexture: inspection button texture<br>
9) InsLitTexture: inspection button (lit) texture
9) InsLitTexture: inspection button (lit) texture<br>
10) AlarmTexture: alarm texture
10) AlarmTexture: alarm texture<br>
11) AlarmSound: alarm sound (e.g. bell1.wav)
11) AlarmSound: alarm sound (e.g. bell1.wav)<br>
Position
Position<br>
12) X: center x position  
12) X: center x position <br>


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

Revision as of 10:59, 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

General
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
11) AlarmSound: alarm sound (e.g. bell1.wav)
Position
12) X: center x position