Skip to content

SarahGreyWolf/wirebox

Repository files navigation

Wiremod for S&box

Current status

Very early WIP (as is S&box itself), compiles as of August 2023.

  • Wiring Tool is equivalent to G-Wiremod's non-Adv version, with basic Debugger and Gate spawning functionalities too
  • Outputs: Buttons, GPS, Gyroscope, and a Wire Keyboard (effectively a Pod Controller with a builtin vehicle)
  • Inputs: Thrusters, Lights, Constraint Controllers, HardLight Bridge
  • Gates: the basic arithmetic/logic/constant

Message Nebual on Discord with any questions about contributing! See todos for ideas.

Setup

Wirebox is an addon intended to be used with on top of SandboxPlus, a fork of FP's Sandbox gamemode, modified to be more extendable for addons.

Its recommended to add it to SandboxPlus/addons/wirebox, and then configure SandboxPlus to additionally load Wirebox as an addon.

git clone https://github.com/Nebual/sandbox-plus.git SandboxPlus
git clone https://github.com/wiremod/wirebox.git SandboxPlus/addons/wirebox

Developing

Often the base Sandbox gamemode isn't extendable enough; direct PR's to enhance flexibility to SandboxPlus.

Hotreloading is neat, and generally works well - limitations include:

  • seems a bit less reliable for non-host players, though often works
  • some Model properties don't reload, such as Prop breakability

Wirelib

Wirelib is a separate Library addon, intended to be a lightweight set of interfaces (eg. IWireInputEntity) for wire-compatible third party addons to implement, without needing to depend on Wirebox directly. This could be used by a Stargate addon to implement optional Wire support, which would have no gameplay impact unless Wirebox was also enabled.

About

Wire for S&Box. Early WIP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 90.6%
  • HTML 8.3%
  • SCSS 1.1%