Space Engineers

Space Engineers

33 ratings
CAMP | Construction & Assembly Material Processor
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block
File Size
Posted
Updated
42.137 MB
May 4 @ 10:29pm
May 9 @ 9:22pm
6 Change Notes ( view )

Subscribe to download
CAMP | Construction & Assembly Material Processor

In 1 collection by Crimson
NovaSpark Mods
35 items
Description
Community & Support
Have feedback, suggestions, or found a bug? Join our Discord!

Join our Discord - NovaSpark[www.discord.gg]

We appreciate your feedback to help improve CAMP!

CAMP - Construction and Automated Maintenance Platform V1.0

────────────────────────────────────────
🔧 CAMP Constructor 🔧
V1.5 • Major Update
────────────────────────────────────────

✨ NEW FEATURES

• Auto-Pickup System
  • CAMP now vacuums nearby floating objects when idle (up to 25% of its own inventory).
  • Toggle in the terminal: Auto Pickup Items.

• Automatic Inventory Push-Through – after welding, grinding or item pickup, CAMP dumps its cargo into the grid so it never locks up.




🎯 CORE FIXES

• Mode Priority respected
  • Re-written target selection →
    Weld Before Grind
    really welds first,
    Grind Before Weld
    really grinds first – distance ordering no longer overrides your choice.

• Colour Detection reliability – HSV checks use packed integers, eliminating float inaccuracy (no more “almost red” misfires).

• Settings Persistence – storage wrapper auto-adds itself when missing; your options are never lost.




🔨 GAMEPLAY & LOGIC

  • CAMP now refuses to start welding if required components aren’t present (saves spam of half-built blocks).
  • Damaged or deformed blocks + projections are valid weld targets; healthy blocks are skipped.
  • Weld & grind rates exposed as constants for easy server tuning.




🖥 UI / TERMINAL

Controls:

Control
Purpose
Auto Pickup Items (switch)
Turns the new vacuum on/off
Grind Color Info
Clarifies exact HSV (0°, 20%, 55%) + internal values
Existing sliders/switches
Refreshed wording, same functionality

Bounding-box preview now uses semi-transparent faces with bright cyan edges – drawn only when the Show Work Area switch is on.




🚀 PERFORMANCE & STABILITY

  • Only one inventory/parts scan every 100 ticks.
  • Re-used list buffers to cut garbage-collector spikes.
  • Early exit when the welder is off or unpowered.



CAMP is an enhanced Ship Welder block designed for large-scale, automated construction and deconstruction tasks within a configurable area. Place it on your station or large ship, configure its settings, and let it handle the heavy lifting.

Core Features
  • Automated Welding & Grinding: Automatically finds and processes blocks needing welding or designated for grinding within its operational radius.
  • Massive Adjustable Radius: Define a cubic operational area with a radius from 100m up to 1000m via a terminal slider.
  • Color-Coded Grinding: Designate blocks for grinding by painting them with a specific color (see details below). CAMP will automatically find and dismantle them, returning components to its inventory.
  • Configurable Operation Modes: Choose the priority: Weld Before Grind, Grind Before Weld, Weld Only, or Grind Only.
  • Target Priority Setting: Select whether CAMP targets the Nearest or Furthest valid block first.
  • Multi-Grid Support: Optionally enable "Help Other Grids" to allow CAMP to work on any grid within its range, not just its own.
  • Visual Work Area: Toggle a visual cyan bounding box to see CAMP's operational area. Automatically hides when the grid starts moving to reduce visual clutter!
  • Performance Friendly: Uses optimized update logic (UpdateBeforeSimulation100) to minimize performance impact, especially when using multiple CAMP blocks.
  • Integrated Terminal Controls: All settings are easily accessible via the block's terminal menu. Hides the vanilla "Help Others" control to avoid confusion.

    How It Works
    1. Build the "CAMP" block (found under the same category as Ship Welders).
    2. Access its terminal (K menu).
    3. Configure the desired Radius, Operation Mode, Target Priority, and other settings.
    4. Ensure the CAMP block is powered and turned on.
    5. For Welding: CAMP will automatically find unfinished blocks within its radius (respecting the "Help Other Grids" setting) and attempt to weld them using components drawn from its own inventory or any connected inventories (via conveyors).
    6. For Grinding: You must paint the blocks you want CAMP to grind with a very specific color. See the "Important Grind Color Note" section below! CAMP will find these colored blocks, grind them down, and deposit the recovered components into its own inventory.

    Configuration Options
  • Radius: Slider (100m - 1000m) defining the half-extent of the cubic work area.
  • Help Other Grids: On/Off switch to allow working on grids other than the one CAMP is attached to.
  • Operation Mode: Combobox (Weld Before Grind, Grind Before Weld, Weld Only, Grind Only).
  • Target Priority: On/Off switch (Nearest/Furthest).
  • Show Work Area: On/Off switch to display the cyan bounding box visualization.
  • Grind Color Info: Button that displays the exact HSV color needed for grinding targets.
  • DEBUG: Scan Grind Color: Button for modders/testers to scan the area and log blocks matching the grind color (check game log).

    Important Grind Color Note
    For CAMP to recognize a block for grinding, it MUST be painted with the exact color: (0,100,100)

    How to Paint:
    1. Press 'P' to open the color picker.
    2. Ensure the HSV sliders are visible.
    3. Set HSV to (0,100,100)
    4. Select the color swatch and paint the blocks you want CAMP to grind.

    Only blocks painted with this exact HSV value will be targeted for grinding. Use the "Grind Color Info" button in the terminal for a reminder.

    Performance
    This mod uses `UpdateBeforeSimulation100`, meaning its core logic runs only once every 100 game ticks (approx. 1.6 seconds) instead of every frame. This significantly reduces the performance impact compared to scripts or mods that perform heavy checks constantly, making it suitable for larger servers and complex builds. The visual bounding box is drawn more frequently but only when enabled and the block is working.

    ---
    Enjoy automated construction and maintenance!
27 Comments
Crimson  [author] May 11 @ 6:09pm 
Proximity I hear you, currently we are working out the kinks of existing functions. So if I decide to add a color slider it'd be well in the future. In the meantime I hope you come around, thankyou.
ProxiFire May 11 @ 5:23pm 
i might look at using this once theres an option for changing the grind color, need to be able to use good old 313,100,100
Crimson  [author] May 11 @ 4:58pm 
It has a help other grids button, currently it's had a few bugs that were recently reported and is ongoing for a fix, hold tight and it will be fixed within the next few days.
Nyxborne May 11 @ 12:49pm 
Build and Repair had an option set for Fly mode and Walk mode, meaning whether or not it will build/grind ships that are connected to it via connecters or not. How exactly does CAMP work like this? Does it weld/grind only to blocks that are connected to it's grid, or will it work on anything that is within it's active area?
Crimson  [author] May 11 @ 10:24am 
I have no plans currently for a small grid variant, once the main block has been refined more I will consider it.
Crimson  [author] May 11 @ 10:22am 
If you set the toggle to help others on that should work for you @gohel if not lmk and if possible join my discord and shoot me your log so I can investigate, thankyou.
Gohei May 11 @ 8:49am 
anyone else having issues with grinding other grids then the one it is installed on?
(CT) Lithios May 11 @ 7:22am 
Guess I won't be using the good old Hot pink HSV 313,100,100 to grind stuff anymore.
Jack Schitt May 11 @ 12:49am 
Suggestion and request: Please consider making a small grid variant.
Gohei May 10 @ 6:51pm 
cant get grind to work unless its on the same grid with HSV 0,100,100