Besiege

Besiege

View Stats:
Falaris Feb 26, 2020 @ 9:38pm
Automatically reloading catapult - logic help
Hi guys!

I have made a catapult.
To the side of the catapult is a rail filled with bombs.
There's two gates around the last tray before the catapult arm, we'll call this the chamber.
To load the catapult, press G to tilt the rail, and press B to open the gate from the chamber to the catapult.

To load the chamber, press G to tilt the rail and N to open the gate to the chamber.

I have set up a camera to detect if there's bombs in the chamber.
There does not seem to be a (reliable) way to have a sensor tell if there's a bomb in the catapult arm.

Press X to fire.

THere is also a second tray of bombs, press R to tip them into the first tray, for a total of 11 bombs.

This machine is campaign standard - no mods, and is built within the limitations.

Also, press C to lower the carriage wheels and enable it to move around. (arrow keys).

I want to code logic gates so that I can press L to have the thing automatically load the catapult instead of the - fairly meticulous - key combinations to load it currently.

How do I make that? In particular, I find sorting the timing out difficult. If the sensor detects a bomb in the tray, there will be a small moment where it doesn't detect one. In the guides it suggests using a timing gate, but it doesn't say a word on HOW to use that.

What is the effect of clicking on the input keys to change them from regular to slightly crossed out?
Last edited by Falaris; Feb 26, 2020 @ 9:42pm
< >
Showing 1-5 of 5 comments
Jeb T. Firefly Mar 24, 2020 @ 12:14pm 
Did you edit the detection range / radius of the sensor, Falaris?
Falaris Mar 24, 2020 @ 12:31pm 
Originally posted by Jeb T. Firefly:
Did you edit the detection range / radius of the sensor, Falaris?

Yes, I did play around with it a bit. The problem is how to trigger a sequence of events without another sequence starting halfway. I ended up wondering if the timers were bugged, because some of what it did made no sense. But, it's a while since I tried it now.
HellbentMadness Mar 24, 2020 @ 7:24pm 
This is the exact thing you want logic wise, I just took it to the next level. https://steamcommunity.com/sharedfiles/filedetails/?id=2034333628
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Feb 26, 2020 @ 9:38pm
Posts: 5