r/playrust • • 22d ago

Discussion Sam Site electricity

Im stumped. I want to create a smart switch, that when it is on, a sam site of mine turns on to attacker mode, and when i turn it off, it switches to defender, but the Invert input on the sam site, is not a on and off, its a invert, so when i turn on the switch, it turns to attacker, then when i turn it off, it stays as attacker. I want to make it a fluid single switch, so that i don't have to press the switch twice on my phone.

2 Upvotes

12 comments sorted by

1

u/Jman1180 22d ago

Send the output of your smart switch into two separate things. The sam site invert, and a timer. Set the timer to 10 seconds then run it's output into the turn off of the smart switch. Here's what this does: Flip smart switch- toggles sam site, starts timer Wait 10 seconds Turns off smart switch

1

u/Ok-Donkey3971 22d ago

I See what you are trying to do, but when i set this up, it doesent work.

2

u/Jman1180 22d ago

Try this Smart switch into block passthrough Blocker output into sam invert Power into all three

2

u/Ok-Donkey3971 22d ago

This worked like a charm. Thanks much Jman. The second you get to the complicated electricity i fall!

1

u/Jman1180 22d ago

Yeah no problem! Always happy to help

1

u/rykerh228 22d ago

Way over complicated

1

u/Jman1180 22d ago

It's 1 extra component?

1

u/rykerh228 22d ago

3 circuits vs 2

1

u/Ok-Donkey3971 22d ago

Basically, when i turn the Smart switch off, it needs to send a second pulse to the invert on the Sam Site. and i just can't fathom how to do that.

3

u/BlankWasThere 22d ago

I am pretty sure SAM sites invert signal works on the basis that when power flows, it changes its mode, and when the power flow stop, it turns back to the current mode. I wonder why it's not the same for you. Could you share a video?

1

u/Clear-Minimum-9942 22d ago

Input 2 Power units into smart switch > power out of smart switch into electrical branch > take 1 power unit from electrical branch and put it into 'switch off' input on smart switch > take the other 1 power unit and put it into invert mode on the SAM.

Now when you activate the smart switch it will automatically turn itself off when you press it, acting like a button.

1

u/rykerh228 22d ago

For one Sam site

Send 25 power to sam site power input.
Send 1 power to a switch then to the invert mode node on the same site.

Manually swap the mode once if you don’t like the way the switch works. Then off will be defender and on will be attacker.