2 posts
Posted 01 August 2016 - 07:56 AM
Hi, i am doing a project where i have an enhanced portal from enhanced portals 3, and i was wondering if there was a way for a computer to make there be seemingly no gravity, maybe even get sucked into the portal if that's possible. and i also would like help on making a program that shows if the portal is active, what portal it leads to, and some buttons to select portals. Thanks for any help i get.
7083 posts
Location
Tasmania (AU)
Posted 04 August 2016 - 05:06 AM
You may be able to wrap the portal block as a
peripheral. ComputerCraft doesn't support EP3, but EP3 might support ComputerCraft, or the additional OpenPeripheral mod may provide the support.
A Command Computer should be able to pull off the character manipulation (eg pulling you towards the portal etc), though you'll need OP access on the server you're playing on, and a reasonable grasp as to how to use Minecraft server commands to do what you're wanting.
1 posts
Location
Australia
Posted 05 August 2016 - 08:23 AM
Enhanced Portals does indeed support CC; a list of the EP components that act as peripherals (and their respective method lists) can be found
here. The only ones you really need for a basic dialling program are
dial() and
terminate() (with a wrapped Dialling Device or Network Interface) and perhaps
isPortalActive() (with a wrapped Portal Controller).
You mentioned that you want your dialling program to tell you where an active portal leads to. EP does not seem to present a means of relaying that information to the player (with or without a computer) so you're going to have to think of a more creative solution if you want to do that. For an outgoing portal, the dialling computer could simply store and display the address it dialled. For an incoming portal, the computer at the dialling end would likely have to send the unique identifier of its portal over the rednet (which presents its own challenges if the receiving computer is far away / in an unloaded chunk / in another dimension).