콘텐츠로 건너뛰기
라이엇 비트

라이엇 비트

  • 집
  • 소식
  • 가이드
  • 비디오 가이드
  • 패치 노트
  • 남용 신고
  • 검색 양식 전환

From The Depths – How to Make an ACB Toggle/Switch

에 게시됨 01/15/202309/09/2023 에 의해 Lurakin 코멘트 없음 ~에 From The Depths – How to Make an ACB Toggle/Switch
  • 제목: From The Depths
  • 출시일:
  • 개발자:
  • 발행자:
Information about From The Depths is still incomplete. 이것을 사용하여 게임의 세부 정보를 입력할 수 있도록 도와주세요. 문의 양식.

Want to turn a light on and off with the same button? Fold wings back and forth? Submerge and Surface?

This guide shows the way I know to make a toggle/switch that lets you change from one state to another at the press of a single button.

부인 성명

This is one way 나 know of creating a toggle/switch using ACBs. If there are alternative and/or easier ways, I haven’t been able to find them, so if you know of other/easier ways, 의견을 남겨주세요.

Flowchart

I will use the example of turning a light on and off (setting intensity to 30% 그리고 0% 각기).

The actual toggle itself will need at least 9 ACBs. These won’t do anything on their own, but we will get to that.

Here’s a flowchart to hopefully aid in explaining how this work.

MSwitch

MSwitch (마스터 스위치) is the first ACB. Triggering it is essentially the flicking of the light switch.

ACB Master

Replace the Prefix with something relating to the function this Toggle will affect. 우리의 경우 “Light MSwitch” will work. If we then use an ACB Controller we can create a button and set its Search Filter to “Light MSwitch”.

Condition:

다음으로 설정 Interaction unless you want it to trigger through other events. Setting it to Interaction is in my experience a good way to ensure it does not trigger unless it gets executed.

Minimum Activation Interval:

Set this to 0.5 to prevent repeated activation (you might get away with setting it as low as 0.2, but I stick with 0.5).

Note that all of the other ACBs going forward will have their Condition set to Interaction, so their section will only include the Condition if there is something unique to be set there.

목표 & 행동:
  • 목표 ACBs
  • Set the Action to 실행하다 and put “Initiator” into the Search Filter.

Affect Range depends on how far away you place the other ACBs. If you place them closer, you can reduce the Affect Range. This will prevent other nearby Toggle/Switch Circuits from being triggered by this one.

State 1 & 2 (Initiators)

The next two ACBs will be beginnings of the two separate chains of ACBs that will make this toggle work. They are nearly identical in setup.

Let’s start with the Master window this time.

Name one of the two “State 1 Initiator” 그리고 다른 하나 “State 2 Initiator”. 그만큼 “Initiator” is the important part here, as the MSwitch is set up to search for that word.

장애를 입히다 하나 of these two ACBs.

This is vital, as the way the Toggle works is by alternating which of these two ACBs is enabled.

목표 & 행동
  • Set Target: ACBs
  • Set Action: 실행하다
  • Search Pattern:
    • “State 1” ~을 위한 State 1 Initiator
    • “State 2” ~을 위한 State 2 Initiator

State 1 & 2 행동

These two ACBs are the ones you will configure to trigger each of the two states you’re trying to toggle/switch between. So one of these will trigger the light to turn on, the other will turn it off.

ACB Master

이전과 동일합니다, the names are identical except for the numbers. Ensure those are set correctly.

목표 & 행동

Several Options:

  • Set Target to ACBs. Set Search Pattern to an ACB you want to trigger. (In our example, the ACB is named “Light On” and will turn the light on when triggered by this “State 1 행동” ACB.) The advantage of this method is that this single ACB can trigger groups of others as long as they are named in such a way that the search filter can affect them.
  • Or you can directly set this ACB to do the action you want it to (such as turning the light on.)

가장 중요한 것은 – 무엇이든 State 1 행동 triggers needs to be different from State 2 행동. 예를 들어, State 1 Action will turn the light ON, while State 2 Action will turn the light OFF.

State 1 & 2 Disabler

These next two ACBs will disable their respective State Initiators after a short delay.

ACB Master

You know the drill, change the number for State 2.

Condition

Effect Delay: Set this to 0.1s

목표 & 행동
  • 목표: ACBs
  • 행동: 장애를 입히다
  • Search Filter: State 1 Initiator (or State 2 각기)

State 1 Primer

This one is triggered as part of State 1. It will enable the State 2 Initiator.

ACB Master

Condition

Effect Delay: Set this to 0.1s

목표 & 행동
  • 목표: ACBs
  • 행동: 할 수 있게 하다
  • Search Filter: State 2 Initiator

State 2 Primer

This one is triggered as part of State 2. It will enable the State 1 Initiator.

ACB Master

Condition

Effect Delay: Set this to 0.1s

목표 & 행동
  • 목표: ACBs
  • 행동: 할 수 있게 하다
  • Search Filter: State 1 Initiator

My Prefab

Since this whole assembly is made up of 9 ACBs, it does take up some space. 하지만, by moving the ACBs closer together and reducing the Affect Range of each block to the minimum to communicate with every required block, the assembly can fit into a 3x2x2 footprint.

Note that I used Mimics and Decorations to make the thing look a little neater.

As for using multiple Toggles, they can be placed close to each other, 하지만 for my particular Prefab Toggles need to be spaced with 1-2 blocks between them as shown below.

The footprint for my Prefab includes these boundaries. The empty spaces can overlap, but need to be clear of block from other Toggles.

As far as I’m aware, it’s not possible to share Prefabs directly, but I have uploaded my Prefab as a Vehicle to the Workshop. You can spawn it and create your own Prefab from it.

Click here for my Prefab

이것이 오늘 우리가 공유하는 모든 것입니다. From The Depths 가이드. 이 가이드는 원래 작성자가 작성하고 작성했습니다. Lurakin. 이 가이드를 업데이트하지 못한 경우, 다음을 수행하여 최신 업데이트를 찾을 수 있습니다. 링크.

이 사이트의 콘텐츠가 귀하의 권리를 침해한다고 생각하는 경우, 귀하의 지적 재산권을 포함하여, 문의 양식을 사용하여 즉시 문의하십시오..
가이드 태그:From The Depths

탐색 후

이전 게시물: Dark Messiah of Might & 마법 – How to Enable Windowed Mode on Start up
다음 게시물: How to Fix Impaler Crashing, 실행 시 충돌, 및 동결 문제

답장을 남겨주세요 답장 취소

귀하의 이메일 주소는 공개되지 않습니다. 필수 입력란이 표시되어 있습니다 *

  • 제목: From The Depths
  • 출시일:
  • 개발자:
  • 발행자:
Information about From The Depths is still incomplete. 이것을 사용하여 게임의 세부 정보를 입력할 수 있도록 도와주세요. 문의 양식.

부인 성명

인용된 모든 콘텐츠는 해당 소스에서 파생됩니다.. 귀하의 콘텐츠를 허가 없이 사용했다고 생각되는 경우, 우리에게 연락하면 진지하게 받아 들일 것입니다..
  • 회사 소개
  • 문의하기
  • 개인 정보 정책
  • 서비스 약관

저작권 © 2025 라이엇 비트.

에 의해 구동 프레스북 뉴스 WordPress 테마