Barotrauma

Barotrauma

Not enough ratings
Neko's Extra Components
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.022 MB
Apr 5, 2023 @ 11:28am
Nov 9, 2023 @ 11:57am
2 Change Notes ( view )

Subscribe to download
Neko's Extra Components

Description
This mod adds a wide variety of extra components to help with various ship-building tasks!

Currently featuring:
  • Map - lerp and unlerp, in one
    Useful for: controlling water levels between connected rooms (like airlocks)
  • Multiplexer - One input to one of four outputs [0-3] selected by another input
    Useful for: making easy if/else systems.
  • Demultiplexer - Four inputs [0-3] to one output, selected by another input
    Useful for: controlling multiple cameras and/or guns with a single periscope!
  • Accumulator - Keeps a numeric count, and increments/decrements it when an input is received. Another input allows for resetting the counter.
    Useful for: cycling between multiple states (with a modulo component), integrating maths functions.
  • Edge Detector - One input, one output. When a change in the input value is received, pulses the output once with the new value of the input.
    Useful for: "Debouncing" inputs, like the periscope trigger, to ignore repeated input.
  • Motion Tracker - Like the motion detector, but outputs the position of the detected entity. NOTE: to keep some semblance of balance, currently DOES NOT discriminate between target types!
    Useful for: autpmatic turrets! And possibly building autonomous drones?
8 Comments
Owli Apr 30 @ 8:32am 
no logarithm 😔
Nekojimi  [author] Nov 9, 2023 @ 11:58am 
Thanks for the report, the mod should now be updated to game version 1.1.19.3.
Loafer Jul 11, 2023 @ 9:10am 
i have reached 1000 words limit, if you need more information plz agree the friend request
Loafer Jul 11, 2023 @ 9:08am 
[CL CS ERROR] CS MODS NOT LOADED | Compilation errors:
C:/.../2958067099//CSharp/Shared/MotionTracker.cs(255,43): error CS0117: 'MathUtils' does not contain a definition for 'LinesIntersect'
C:/.../2958067099//CSharp/Shared/MotionTracker.cs(256,43): error CS0117: 'MathUtils' does not contain a definition for 'LinesIntersect'
C:/.../2958067099//CSharp/Shared/MotionTracker.cs(257,43): error CS0117: 'MathUtils' does not contain a definition for 'LinesIntersect'
C:/.../2958067099//CSharp/Shared/MotionTracker.cs(258,43): error CS0117: 'MathUtils' does not contain a definition for 'LinesIntersect'
[CL CS ERROR] System.Exception: Unable to create cs mods assembly.
at Barotrauma.CsScriptLoader.Compile() in B:\programming\c#\Barotrauma\Barotrauma\BarotraumaShared\SharedSource\LuaCs\Cs\CsScriptLoader.cs:line 246
at Barotrauma.LuaCsSetup.Initialize(Boolean forceEnableCs) in B:\programming\c#\Barotrauma\Barotrauma\BarotraumaShared\SharedSource\LuaCs\LuaCsSetup.cs:line 441
Khalltlag Apr 19, 2023 @ 12:15pm 
hooo.... fancy!
Love'n'Peace Apr 15, 2023 @ 12:26am 
Scratch my previous comment, I figured out my error! Demux worked great for the multi-control turrets, thank you!
Mad_Mike Apr 11, 2023 @ 2:05pm 
this is really cool, good job you single handily advanced Barotraumas technology
TheSpookiestSkeleton Apr 8, 2023 @ 12:04am 
As much as I want to use this, it feels like I'd be cheating because of how limiting the current component set is. You're basically out here with printed circuits when all we've got is mechanical switches