Custom PTI Instances?
Quote from AD_79p2 on May 4, 2013, 6:31 pmSo, I have a test element that I want to put into the PTI editor. I have some questions.
1: How do I do this?
2: How would I set up inputs and outputs? For example, If this element was activated, how do I make it so it would activate another PTI instance?Answers would be appreciated!
So, I have a test element that I want to put into the PTI editor. I have some questions.
1: How do I do this?
2: How would I set up inputs and outputs? For example, If this element was activated, how do I make it so it would activate another PTI instance?
Answers would be appreciated!
Quote from FelixGriffin on May 4, 2013, 7:06 pmHere's how you would go about that:
- Align the entities as if the instance is on a floor 64 units below the origin.
- If you need inputs, copy-paste the math_counter, func_instance_io_proxy, func_instance_parms, and logic_branch setup from another PTI instance such as the light bridge. Change the outputs on the branch as needed.
- If you need outputs, just add them to the func_instance_io_proxy.Then edit your editoritems.txt file to add your new element on top of an old one, such as the Frankencube. There are instructions for this somewhere here...
Here's how you would go about that:
- Align the entities as if the instance is on a floor 64 units below the origin.
- If you need inputs, copy-paste the math_counter, func_instance_io_proxy, func_instance_parms, and logic_branch setup from another PTI instance such as the light bridge. Change the outputs on the branch as needed.
- If you need outputs, just add them to the func_instance_io_proxy.
Then edit your editoritems.txt file to add your new element on top of an old one, such as the Frankencube. There are instructions for this somewhere here...

Quote from FelixGriffin on May 5, 2013, 10:42 amTrue, but you'll still need to write an "Item" block for it.
True, but you'll still need to write an "Item" block for it.

Quote from BenVlodgi on May 9, 2013, 10:30 amyishbarr wrote:When BEE2 comes out, you don't have to edit the editoritems.txt.FelixGriffin wrote:True, but you'll still need to write an "Item" block for it.exactly, you wont have to edit your own editoritems.. but you will have to write the item block which will be compiled into the editoritems.txt
exactly, you wont have to edit your own editoritems.. but you will have to write the item block which will be compiled into the editoritems.txt