RimWorld

RimWorld

Power Logic
Gambeans 20 Jul, 2019 @ 2:54pm
Help with logic and doors
So i have a furnace set up and to avoid having colonists burn themselves like the idiots they are i want to use the signal transmitter to turn on the furnace and forbid the remote door. that i can do. however i want the door to unforbid when the transmitter is turned off AND I AM COMPLETELY CLUELESS ON HOW TO DO THAT
< >
Showing 1-15 of 19 comments
Supes  [developer] 21 Jul, 2019 @ 3:14am 
you need to make it 'wait while receiving' after you set the forbid flag and 'Continue while receiving' after allowing the door


e.g.

Forbid Door
Wait While Receiving
Delay 1
Allow Door
Continue While Receiving
Delay 1

the delays are probably not need, I just like adding delays for some reason :)
Last edited by Supes; 21 Jul, 2019 @ 3:17am
Gambeans 21 Jul, 2019 @ 10:25am 
when the fire is still burning thats going to be useful. THANK YOU!
Gambeans 21 Jul, 2019 @ 10:37am 
https://imgur.com/a/HjqQcE1

I also don't know what the buttons do on this macros page. Any advice?
Supes  [developer] 21 Jul, 2019 @ 11:54am 
all 'add macro action' buttons are the white buttons near the top, they have tooltips that show their names.

at the bottom you have your macro run buttons 'previous action', 'play/pause' and 'next action'

Then next to those you have your states, monitor primary channel (currently your on profile is monitoring the primary channel, but your off profile is monitoring no channels) and secondary, then you have wait/receive state. priority is the last state (your cursor is over it) which controls which profile runs if both profiles are running macros.

all states can be changed by macro actions, so you only use the state buttons for setup purposes. usually the only states you need to change at setup are the monitor channel states.

the last buttons are presets, copy actions, and paste actions. they are misc buttons.

profiles are at the very top of the page where you have an on profile and an off profile (if you're just forbidding a door, using multiple profiles is a little bit overkill) but I wont go into profiles too much since that's a more advanced topic (most builds only need one profile anyway).
Gambeans 21 Jul, 2019 @ 1:35pm 
Thank you! Very cool mod!
exospecies 9 Sep, 2019 @ 1:37am 
I'm having trouble making doors trap enemies inside a prison. The doors should be open by default and close when an enemy enters the room.

My setup is a remote proximity sensor inside the room.

Then I have used a reversed "proximity open" scheme:
1. continue while recieving
2. close door
3. wait while receving
4. delay 2 seconds
5. open door

The problem is that the door doesn't stay open.

What do "wait while receiving" and "continue while receiving" mean? Wait/continue with what?

Last edited by exospecies; 9 Sep, 2019 @ 1:40am
Supes  [developer] 9 Sep, 2019 @ 2:27am 
wait while receiving, basically waiting until no signal detected before proceeding to the next action.
continue while receiving, being the opposite, runs through the actions while a signal is detected.

here's where using multiple profiles might aid you better.


have both profiles set to monitor primary channel

profile one:
1. Open door
2. wait while receiving
3.delay

profile two (set priority to important)
1. close door
2. delay
exospecies 9 Sep, 2019 @ 5:32am 
So shouldn't the door stay open with my setup? Because there is no signal anymore so the door opens?

I don't know where profiles are or how to use them. Why do I need to use profiles?

Supes  [developer] 9 Sep, 2019 @ 3:09pm 
both are valid, but using profiles is better as it's not bound to a sequential action list or mode switching. Instead priority defines what actions should be running instead of wait/continue mode switching.

so if the door is closed, rather than switching modes before opening, it will immediately open regardless of any possible interruption. single profiles only call the open action once and wait, so if it closes via something outside of macro actions, it wont call open until it cycles through the list again.
Last edited by Supes; 9 Sep, 2019 @ 3:11pm
exospecies 19 Sep, 2019 @ 3:16am 
To be honest the interface to the doors don't make much sense at all to me.

I'm still trying to keep the remote controlled door open until someone enters the room, and then it should lock them inside.

Trying out your setup doesn't hold the door open at all.

The remote proximity sensor is set to trigger on friendly.

Here is the macros:
https://i.imgur.com/Y5C2SnZ.gif
Supes  [developer] 19 Sep, 2019 @ 4:12am 
so very close, you'll need to trigger the prox sensor (draft someone, put them in the room for afew seconds) so it moves it to the correct mode, it will become automatic after that
exospecies 19 Sep, 2019 @ 7:37am 
The door still closes after triggering the sensor:
https://youtu.be/bjpPzkXtMUo
Supes  [developer] 19 Sep, 2019 @ 8:08am 
another mod might be interfering, because I've tested both setups, either that or your door is unpowered. what's your modlist
Supes  [developer] 19 Sep, 2019 @ 9:56am 
also worth deconstructing the door and building a new door
ReferToMeAsAnAlt 26 Sep, 2019 @ 9:36pm 
What set up will close the door when signal is transmitted. I'm not going to alt-tab and hand type 50+ mods.
< >
Showing 1-15 of 19 comments
Per page: 1530 50