Skip to content

Ransomwave/BetterChassis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

BetterChassis - Fork of A-Chassis

BetterChassis is A-Chassis (version 6.52S2) with a focus on modularity. Instead of copy-pasting the system into every vehicle in your game, you can use BetterChassis as the base for all your vehicles.

What's included?

  • The core BetterChassis module, which contains the main logic for the system.
  • A ConfigTemplate module, which serves as a template for the configuration of your vehicles
  • ChassisUtils, a module containing utility functions for the system.

Built-in Plugins

  • Sound: A plugin that adds engine sounds to your vehicle.
  • Mobile Controls: Rather than a plugin per-say, this has been built into the core of the system. It a mobile-friendly control scheme to your vehicle.
    • To set up mobile controls, you'll need to add a Mobile ScreenGui in StarterGui
      • Inside the Mobile ScreenGui, add a Frame named Buttons
      • Inside the Buttons Frame, add 2 frames: AccelerationButtons and DirectionButtons
      • Inside the AccelerationButtons frame, add two TextButtons named Accelerate and Decelerate
      • Inside the DirectionButtons frame, add two TextButtons named Left and Right

Syntax

local BetterChassis = require(ReplicatedStorage.BetterChassis)

local car = workspace.Car
local config = car.Config -- ModuleScript containing the configuration for the vehicle. See "ConfigTemplate" for an example.

local chassis = BetterChassis.new(car, config)
chassis:Init() -- Initializes the system for the specified vehicle.

Get started

This project has been bootstrapped with Azul, the easiest two-way sync tool.

Use azul push to get this library into your Roblox project:

azul push -s .\sync\ReplicatedStorage -d "ReplicatedStorage"

This will push the library to ReplicatedStorage. You can change the destination to any service (i.e. ServerStorage, ServerScriptService, etc.).

Credits

About

BetterChassis is A-Chassis with a focus on modularity and built-in features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages