RimWorld
Power Logic
Gambeans 2019년 7월 20일 오후 2시 54분
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
< >
전체 댓글 19개 중 1~15개 표시 중
Supes  [개발자] 2019년 7월 21일 오전 3시 14분 
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 :)
Supes 님이 마지막으로 수정; 2019년 7월 21일 오전 3시 17분
Gambeans 2019년 7월 21일 오전 10시 25분 
when the fire is still burning thats going to be useful. THANK YOU!
Gambeans 2019년 7월 21일 오전 10시 37분 
https://imgur.com/a/HjqQcE1

I also don't know what the buttons do on this macros page. Any advice?
Supes  [개발자] 2019년 7월 21일 오전 11시 54분 
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 2019년 7월 21일 오후 1시 35분 
Thank you! Very cool mod!
exospecies 2019년 9월 9일 오전 1시 37분 
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?

exospecies 님이 마지막으로 수정; 2019년 9월 9일 오전 1시 40분
Supes  [개발자] 2019년 9월 9일 오전 2시 27분 
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 2019년 9월 9일 오전 5시 32분 
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  [개발자] 2019년 9월 9일 오후 3시 09분 
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.
Supes 님이 마지막으로 수정; 2019년 9월 9일 오후 3시 11분
exospecies 2019년 9월 19일 오전 3시 16분 
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  [개발자] 2019년 9월 19일 오전 4시 12분 
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 2019년 9월 19일 오전 7시 37분 
The door still closes after triggering the sensor:
https://youtu.be/bjpPzkXtMUo
Supes  [개발자] 2019년 9월 19일 오전 8시 08분 
another mod might be interfering, because I've tested both setups, either that or your door is unpowered. what's your modlist
Supes  [개발자] 2019년 9월 19일 오전 9시 56분 
also worth deconstructing the door and building a new door
ReferToMeAsAnAlt 2019년 9월 26일 오후 9시 36분 
What set up will close the door when signal is transmitted. I'm not going to alt-tab and hand type 50+ mods.
< >
전체 댓글 19개 중 1~15개 표시 중
페이지당 표시 개수: 1530 50