Team Spartan Cookies & Milk Forums
Release Various Starfalls - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: Release Various Starfalls (/thread-3717.html)



Various Starfalls - 57e11a - 03-12-2021

I'm releasing some various Starfalls here, since most don't deserve an entire thread.
All of these are in my shared.

  • "Physics" stuff
    There's 4 Starfalls in the physics folder, aimer, motor, piston, and pistonoffsetcalculator.
    Aimer aims things at vectors
    Motor rotates things
    Piston pushes things
    PistonOffsetCalculator calculates the offset vector to be wired into a piston for putting an entity in a certain spot.
  • qReplicator
    Replicates things, fully extendable by editing the code.
  • qHold
    For holding onto cargo and whatnot.Wire the box input to a large prop that can contain things, this is used to find entities to be locked.When the lock input is activated, all non-parented entities not constrained to the box in any way will be parented to the box.When the lock input is deactivated, all entities parented to the box are deparented.
  • qAirlockTimer
    A simple one, but it does its job well, it times airlock doors.Wire inputs:
  • Inner to Outer - begin the sequence that closes the inner door and opens the outerOuter to Inner - same as above but the other way aroundInner Door Time - the time in seconds that the inner door takes to open/closeOuter Door Time - same as above but for the outer door
  1. Wire Outputs:
  • Inner Door - whether the inner door should be open, wire this to your doorOuter Door - same as above but for the outer doorState - state of the system to be displayed on screens and whatnot
  • Weapon Charge Display
    Displays the charges, heats, and currently loaded projectiles of all the weapons on the ship.
  • EntInfo
    Shows some useful information:-Shows the aim position and normal (both as text and as a line drawn at your aimpos)-Shows the aim entity and aim angle as text-When using left click with a tricorder, shows what entities and outputs that the inputs of your aim entity are wired to-Right clicking toggles a (kinda laggy) view of all nearby entities and their origins
  • Various Libraries
    In the lib folder are a few libraries, documentation will come for them later.