Besiege

Besiege

Not enough ratings
BesiScript Docs
By RISING FRAG
BesiScript is a programming language for the automation in game Besiege.

BesiScript abstracts Automation Blocks in Besiege, making it easy for you to call them through functions with parameters. And directly compiled to a game save file .bsg through the compiler.
   
Award
Favorite
Favorited
Unfavorite
Introduction

BesiScript is a programming language for the automation in the game Besiege.

BesiScript abstracts Automation Blocks in Besiege, making it easy for you to call them through functions with parameters. And directly compiled to a game save file .bsg through the compiler.

Github Page[github.com]

Download Page[github.com]

How to use it?
You can save your BesiScript code in input.txt, put it in the same folder as the compiler, run the compiler, and the compiled .bsg file will appear in the same folder

Or, Use the terminal, followed by the files to be compiled as parameters.



Documentation
  • Initialization Functions
  • Comment
  • Variable
  • Logic Functions
  • Instrument Functions
Initialization Functions
All initialization functions are optional, and default values will be used for undefined initialization functions.
You can use them to personalize your initialization parameters.

Use the name function to name your project and compiled file name.

Use this function to define the initial position of blocks.

Define whether to generate basic blocks.

Define the scale of LogicGate Block

Define the scale of Instrument Blocks (sensor, timer, altimeter, speedometer, anglemeter).
Comment
Comments are not compiled, making it easier for you to code.
Variable
Use variables to define the message or collections of messages. As well as keys and collections of keys.
Logic Functions
Instrument Functions
Sensor Block

Timer Block

Altimeter Block

Speedometer Block

Anglemeter Block
Application
You can start your project based on this game file, or use the Additive Loading Mod to import Automation into other projects.