RimWorld

RimWorld

Power Logic
Gambeans 20. juli 2019 kl. 14.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
< >
Viser 115 av 19 kommentarer
Supes  [utvikler] 21. juli 2019 kl. 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 :)
Sist redigert av Supes; 21. juli 2019 kl. 3.17
Gambeans 21. juli 2019 kl. 10.25 
when the fire is still burning thats going to be useful. THANK YOU!
Gambeans 21. juli 2019 kl. 10.37 
https://imgur.com/a/HjqQcE1

I also don't know what the buttons do on this macros page. Any advice?
Supes  [utvikler] 21. juli 2019 kl. 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 21. juli 2019 kl. 13.35 
Thank you! Very cool mod!
exospecies 9. sep. 2019 kl. 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?

Sist redigert av exospecies; 9. sep. 2019 kl. 1.40
Supes  [utvikler] 9. sep. 2019 kl. 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 9. sep. 2019 kl. 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  [utvikler] 9. sep. 2019 kl. 15.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.
Sist redigert av Supes; 9. sep. 2019 kl. 15.11
exospecies 19. sep. 2019 kl. 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  [utvikler] 19. sep. 2019 kl. 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 19. sep. 2019 kl. 7.37 
The door still closes after triggering the sensor:
https://youtu.be/bjpPzkXtMUo
Supes  [utvikler] 19. sep. 2019 kl. 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  [utvikler] 19. sep. 2019 kl. 9.56 
also worth deconstructing the door and building a new door
ReferToMeAsAnAlt 26. sep. 2019 kl. 21.36 
What set up will close the door when signal is transmitted. I'm not going to alt-tab and hand type 50+ mods.
< >
Viser 115 av 19 kommentarer
Per side: 1530 50