Skip to content
CC: Let it walk

Quick rating

Community listing page, reviews may not be monitored by the author.

CC: Let it walk

No reviews yet

CC Peripheral for Let it walk aeronautics addon

Mod Loaders
Minecraft

About

Description

🦾 Let it Walk: ComputerCraft Addon (letitwalk_cc)

Minecraft NeoForge ComputerCraft Let It Walk License

Let it Walk: ComputerCraft Addon brings complete ComputerCraft (CC: Tweaked) programmable control to walking contraptions from the Let it Walk! mod.

Build automated mechs, programmable patrol drones, telemetry cockpits, remote pilots, and automated cargo transports using Lua!


⚡ Highlights

  • 🔌 Plug & Play Peripheral: Simply place a Computer or Wired Modem directly next to a Pilot Controls, a Walker Core, or the dedicated Walker Computer Interface block.
  • 🕹️ Complete Mech Kinematics: Full mechanical leg drive, gear shifting, lateral crab walking, high-speed galloping, kinetic suspension jumps, chassis leaning, and dash boosts.
  • 🛰️ High-Precision Telemetry: Read real-time world coordinates, velocity vectors, chassis yaw/pitch/roll angles, fuel levels, stress RPM, and leg count directly from Lua.
  • 🌐 CC: Sable & Celestial Navigation Compatible: Works seamlessly with CC: Sable Sub-Level physics tracking and Create Navigation Table compass bearings.

📦 Requirements

Mod Version
Minecraft 1.21.1
NeoForge 21.1.x
Let it Walk! 0.1.4 or 0.1.5+
CC: Tweaked 1.120.2+
Create 6.0.10+
Sable 2.0+

(Optional recommended: CC: Sable for native sub-level coordinate vectors)


🚀 Quick Start

1. Connecting Your Computer

You have three easy ways to interface a computer with your mech:

  1. Adjacent Computer: Place any CC computer touching the Pilot Controls or Walker Core.
  2. Wired Modem: Connect a Wired Modem and networking cable to the Pilot Controls or Walker Core.
  3. Walker Computer Interface Block: Craft and install the dedicated Walker Computer Interface block anywhere on your walker contraption chassis.

2. Basic Lua Example

Open your computer terminal and test the peripheral:

local walker = peripheral.find("walker")
if not walker then
    error("No walker peripheral found! Connect to Pilot Controls or Walker Core.")
end

-- Unpark the mech and shift to Gear 2
walker.setParked(false)
walker.setGear(2)

-- Drive forward for 3 seconds (60 ticks)
print("Striding forward...")
walker.setDrive(1.0, 0.0, 60)

-- Check live position and speed
local status = walker.getStatus()
print(string.format("Position: X=%.1f, Z=%.1f | Speed: %.2f blocks/sec", status.x, status.z, math.sqrt(status.vx^2 + status.vz^2)))

📚 Complete Lua Peripheral API

Once wrapped (local walker = peripheral.find("walker")), the peripheral exposes:

🚶 Drive & Locomotion

Method Description
walker.setDrive(throttle, steer, [ticks]) Drives the mech forward/backward (-1.0 to 1.0) and lateral stride (-1.0 to 1.0) for [ticks] (or continuous if omitted).
walker.forward([ticks]) Strides forward for [ticks] (or continuous).
walker.back([ticks]) Strides backward for [ticks] (or continuous).
walker.left([ticks]) Strides left for [ticks] (or continuous).
walker.right([ticks]) Strides right for [ticks] (or continuous).
walker.step(direction, [ticks]) Takes a discrete step in "forward", "back", "left", or "right" direction for [ticks].
walker.turn(rate, [ticks]) Applies steering yaw turn rate (-1.0 to 1.0) for [ticks].
walker.stop() Instantly cancels all active drive inputs and brakes to a halt.
walker.setRawKeys(keysBitmask, [ticks]) Direct low-level key bitmask injection (Forward=1, Back=2, Left=4, Right=8, Jump=64, Sprint=128).
walker.getRawKeys() Returns the active raw key bitmask.

⚙️ Transmission & Gears

Method Description
walker.setGear(gear) Shifts transmission gear (1 to 5). Fails if rotational RPM is too low for that gear.
walker.getGear() Returns current active gear (1 to 5).
walker.getMaxGear() Returns maximum unlocked gear supported by the current input RPM.
walker.getRpm() Returns input rotational speed in RPM.

🦀 Modes & Suspension

Method Description
walker.setCrabWalk(boolean) Enables or disables lateral crab-walking mode.
walker.isCrabWalk() Returns true if crab-walking mode is active.
walker.toggleCrabWalk() Toggles crab-walking mode on/off.
walker.setGallop(boolean) Enables or disables sprint galloping mode.
walker.isGalloping() Returns true if galloping mode is active.
walker.jump([chargeTicks], [aim]) Charges kinetic suspension leap for [chargeTicks] (default 25) in directional aim [aim].
walker.bodyUp([ticks]) Raises walker chassis suspension height.
walker.bodyDown([ticks]) Lowers walker chassis suspension height.
walker.setHeightOffset(offset) Directly sets chassis hover height offset (in blocks).
walker.getHeightOffset() Returns current chassis hover height offset.
walker.setLean(rollDeg, pitchDeg) Actively tilts and leans the mech chassis by specified degrees.

🚀 Jet Thrusters & Abilities

Method Description
walker.setFlight(boolean) Activates or shuts down jet engine flight mode.
walker.toggleFlight() Toggles jet engine flight mode.
walker.isFlying() Returns true if currently flying with jet engines.
walker.dash() Triggers an instantaneous jet boost dash.
walker.grab() Toggles suction/climbing clamps on terrain and surfaces.
walker.isGrabbed() Returns true if walker limbs are clamped onto a surface.

📊 Telemetry & Assembly

Method Description
walker.isAssembled() Returns true if the walker is assembled into a physics sub-level.
walker.isParked() Returns true if the mech is parked (legs splayed, brakes locked).
walker.setParked(boolean) Parks or unparks the walker.
walker.isPowered() Returns true if the Walker Core has rotational kinetic power.
walker.getLava() / getFuel() Returns (amount, capacity) of the onboard lava fuel tank in mB.
walker.getLegCount() Returns total number of active articulated limbs.
walker.getPosition() Returns world position (x, y, z).
walker.getOrientation() Returns chassis angles (yaw, pitch, roll) in degrees.
walker.getVelocity() Returns live velocity vector (vx, vy, vz) in blocks/second.
walker.getStatus() Returns a comprehensive status dictionary containing all telemetry in a single call.
walker.getWalkerId() Returns the unique UUID string of the assembled walker.

🛠️ Included Lua Scripts

Check our repository for ready-to-run programs:

  • walker_pilot.lua: Interactive terminal cockpit HUD with live WASD keyboard steering, speed gauges, and gear shift indicators.
  • patrol.lua: Autonomous perimeter waypoint patrol with gait sway filtering and automated obstacle leaping.
  • lode_patrol.lua: Celestial beacon patrol orbiting around a Lodestone using Create Navigation Table compass signals and active stride auto-calibration.
  • vector_estimator.lua: Stride gait low-pass filter that eliminates left-right walking wobble to estimate true Course Over Ground (COG).

👥 Authors & Credits

  • CutCatRamen — Creator, Logo Designer & Lead Developer
  • Antigravity — Co-Developer & Engineering
  • Pavlo — Creator of Let it Walk!
  • RyanHCode — Creator of Sable
  • SquidDev / CC: Tweaked Team — ComputerCraft: Tweaked

Source Code & Issues: GitHub Repository Licensed under the MIT License.