Trailmakers
Jericho Jan 6, 2024 @ 8:28pm
Dynamic Output Logic Blocks
Something that would be of tremendous value: logic blocks whose outputs increment or decrement with input. One use of such a block would be adjustable throttle for flying vehicles, allowing players to use a pair of key assignments to increase and decrease the output to jets or propellers.

The simplest form of such a block would use the red / descending key assignment to reduce output and the green / ascending key to increase output. Might allow players to enter a minimum and maximum limit for the block output, or even set a "speed" that changes how quickly the output changes to key presses.

Receiving outputs from other logic blocks as inputs could adjust the output value of the block incrementally -- e.g., receiving an input of 0.10 from another block adds +0.10 to the output of the dynamic block, potentially further adjusted by the "speed" value.

Optionally the block could also be allowed to "reset," causing it to use the assigned "speed" value to return to a player-determined set point (alternatively just 0.00).
< >
Showing 1-4 of 4 comments
alvaroping1 Jan 7, 2024 @ 2:22am 
This can easily be achieved already by simply connecting 2 OR gates to each other and using inputs with a small absolute value (that value is the speed of change). For reset, you can replace one of the OR gates with an XOR gate and send 2 inputs to it
Jericho Jan 8, 2024 @ 7:29am 
I have a hard time with this game's logic system. Are you saying an OR gate can function as a sort of variable, accumulating inputs? Like if I have an OR gate whose output is 0.10 bound to some key, and its output is linked to an OR gate with an output of 0.50, then I can repeatedly press that key to increment its output by steps of 0.10, i.e. to 0.60 then 0.70 etc? I thought it would be merely multiplicative.

EDIT: Okay, I understand your answer now. You mean I create a feedback loop between two OR gates that creates a little memory cell that can be adjusted by other outputs (another OR gate, a seat, a sensor, etc.). Thanks for pointing this out; my brain works better with typed code than with circuits and blocks.

EDIT 2: This becomes too cumbersome too quickly. The suggestion is still a nice one that would have its applications for sure.
Last edited by Jericho; Jan 8, 2024 @ 7:23pm
NateRadiant Jan 19, 2024 @ 9:41am 
If your creation has the space for it, you might also try making your own physical throttle using a slow piston that moves over and activates distance sensors with incrementally higher (or lower) logic signal outputs. This would create the throttle effect that you're looking for.
I first heard of this idea from the YouTuber Yzuei. Here's the link to a video where Yzuei incorporates this throttle mechanism into an F-35 creation of his (try skipping to 1:28 in the video to see his explanation of the throttle):

https://youtu.be/KZKDhMRE0zQ?t=89
Last edited by NateRadiant; Jan 19, 2024 @ 9:42am
alvaroping1 Jan 19, 2024 @ 9:48am 
Originally posted by Knightradiant:
If your creation has the space for it, you might also try making your own physical throttle using a slow piston that moves over and activates distance sensors with incrementally higher (or lower) logic signal outputs. This would create the throttle effect that you're looking for.
I first heard of this idea from the YouTuber Yzuei. Here's the link to a video where Yzuei incorporates this throttle mechanism into an F-35 creation of his (try skipping to 1:28 in the video to see his explanation of the throttle):

https://youtu.be/KZKDhMRE0zQ?t=89
don't. There is no reason to use that over the method i explained (with a slight tweak to make the stored value be always positive for thrusters: https://steamcommunity.com/sharedfiles/filedetails/?id=2911246646)
Using pistons takes more space and complexity, uses the space in a less flexible way (blocks must be in a specific position relative to eachother rather than where they fit like pure logic circuits), is slower to update, and has less finer control (4 values vs thousands)
Last edited by alvaroping1; Jan 19, 2024 @ 9:48am
< >
Showing 1-4 of 4 comments
Per page: 1530 50