Skip to main content

ScrapComputers: V3.0

· 5 min read
Ben Bingo
ScrapComputers Developer
VeraDev
ScrapComputers Owner

ScrapComputers V3.0 Blog-post image

The ScrapComputers mod has officially reached Version 3, and it’s nothing short of massive. This update brings powerful new systems, long-awaited survival integration, expanded component options, and a complete overhaul of the computer ecosystem.

Whether you’re building bases, starships, aircraft, or cursed contraptions, V3 gives you more control, more performance, and more possibilities than ever.


First, we will start with the major changes:

Survival & Crashlander Support:

ScrapComputers now fits naturally into Survival mode and Crashlander:

  • Full Survival support with modded Craftbot recipes.
  • Crashlander compatibility with custom crafting.
  • Select components even have survival-specific behaviors.

Component Power System:

A new, fully-integrated power network:

  • The ability for components to generate and require power.
  • Manage power consumption, production, and distribution.
  • Optional via configs if you want classic behavior.

Computer V3 Overhaul:

The computer system has been rebuilt from the ground up:

  • A fully function filesystem with directories.
  • Updated blazing fast VM with improved performance.
  • Final bytecode build options & quality-of-life improvements.
  • Upgraded syntax highlighting system.
  • A password manager and encryption to keep your source code private.
  • Better errors, better examples, better everything.

Here are all the new components:

Computer interfacing components:

  • Aircraft Displays - For all the aircraft enthusiasts out there!
  • Collision Detector - Can detect collisions and melee attacks.
  • Radar Warning Detector - Can detect any radars spying on your creation!
  • GPS Wheel - (…don’t ask why, we don’t know either.)

Power spesific components:

  • Generator - Can turn any spinning input into power.
  • Battery - Can store power, and deliver!
  • Breaker - Allows for power managment and toggling.
  • Solar Panel - Harness the energy from teh sun!

All of our performance improvments:

There has been some huge boosts in performance over components, modules and managers:

  • Display has had a nice performance boost.
  • Camera performance is much faster now with improved caching.
  • The lua VM has been refactored and is now much faster.
  • Virtual display module has now been updated, rewritten and now incluides optional caching.
  • Multi-display system rewritten to further support fully custom displays.

Configurable everything:

More default configs have been added to support the many new features in the mod:

  • Network Table References - You can now optionally send lua table references across the network, who needs syncing?
  • Power Manager Toggle - You can toggle the need for power to be supplied to components.
  • Survival Behaviors - You can make components behave like they do in survival, but in creative!
  • Extra info On Computer Hover - You can toggle the ability to see axtra data while hovering over the computer.
  • Config Commands - You can now get and set all configs via commands! /getconfigs and /setconfig.

New Managers:

  • Power Manager - The ability to easily modify components to use or generate power within the mods constraints.
  • Game Mode Manager - Allows you to detect the current game type and game mode.
  • Computer Manager - Allows for easy modification and the aquasition of computer internal data.

New Modules:

  • AES256 - LUA implementation of a straight forward and solid AES256 encryption module.
  • Time - A module that allows you to format epoch's and other time metrics.
  • CSHA256 - A custom SHA256 with our own prime numbers so it is safe from lookup tables.
  • Bit53 - Standard lua Bit53 library.
  • Base91 - Standard lua Base91 library.
  • QRCode - Allows for the generation of QR codes! Full support for all 40 version and 4 error correction levels.
  • SharedTables - Allows for automatic seemless networking and syncing.
  • UTF8 - Useful utility for modifying UTF8 strings and characters.

New Functions:

  • SeatController.getCameraData() - Returns the seated characters camera data.
  • Display.screenCoordinateFromWorldPosition( cameraPosition, worldPosition ) - Translates a 3D world space coordinate to the display.
  • Display.getSize() - Retrieves the size of the display in meters.
  • Hologram.createBlueprint( blueprintJson, scale, offsetPosition, offsetRotation ) - Creates a hologram of the given blueprint JSON.
  • Camera.setFilter( filter ) - Sets the cameras raycast filter used for any raycast operation inside of the camera, including shadows.
  • sc.vec3.randomNoise( magnitude ) - Creates random noise in a vec3 format.
  • sc.util.round( number, dp ) - Rounds a value with a given decimal point.
  • sc.color.mixColorsTransparency - Mix 2 colors together to fake transparency.
  • sc.example.loadExample - Load a specific built-in computer examples.
  • sc.json.toJsonCompatibleTable - Modifies the current table to be safe for converting data to json.
  • sc.table.transferTable - Transfer data from 1 table to another

Bug fixes:

  • Multiple improvments to components multiplayer compatibility.
  • Fixed bugs to do with network packets being contained in useless tables.
  • Fixed printing and debug formatting.
  • Display video files have been updated as some were broken.
  • Many more small fixes! (We've forgotten most of them).

V3 is here — and ScrapComputers has never been more powerful:

Thank you for your patience! We've hit a lot of roadblocks in development and have been trying to include everything that you guys have been asking for, but there is only so much time in a day! Stay tuned for more updates in the future, we already have some crazy ideas for the future V4 update, but if your idea didnt make it into this update, dont be disheartened as there are many more future updates to come!

Until next time, hope you guys enjoy!