This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
LeotomasMC's profile picture

Computer Craft Addon for another mod

Started by LeotomasMC, 13 January 2016 - 10:58 PM
LeotomasMC #1
Posted 13 January 2016 - 11:58 PM
I felt like this was the best place to put this.

I like to use a mod called "Portal Gun" which adds some things from the game "Portal" into minecraft. I was wondering if anyone could make a Add-on for CC that adds the ability to put the Portal Gun onto a Turtle and have the Turtle shoot the Portal Gun and create a portal, and allow turtles to go through portals.

Possible funcion things, whatever you call it :P/>

- portalGun.fire("blue") or ("orange") – Fires blue or orange portal.
- portalGun.resetPortals() – Clears portals
- portalGun.POTaTOStalks(true) or (false) – toggles POTaTOS talking on the Potato Gun (Portal gun with POTaTOS on it)
- portalGun.fireSpecial("blue" or "orange","atlas" or "pbody") – NOTE: blue is left color, orange is right. Fires P-Body's or Atlas' Portal Gun.
- portalGun.refuel() – refuels portal gun. NOTE: Only if the portal guns use fuel. setting in Portal Gun mod config.
wilcomega #2
Posted 14 January 2016 - 10:08 AM
it is certainly possible, for the porttal gun hooting, that is the most easy part, to let a turtle go through a portal is the hard part, you would have to check to see if the turtle moves into a protal entity en teleport it and then move it out the other side at the correct angle.

the best of luck
LeotomasMC #3
Posted 17 January 2016 - 10:36 PM
The portal is not an entity, at least i dont think it is. I belive it is like a painting but as a block. (paintings and item frames are entitys)
Quartz101 #4
Posted 18 January 2016 - 02:47 PM
(paintings and item frames are entitys)

Thanks captain obvious Wow!

it's spelled entities, not entitys
Edited on 18 January 2016 - 01:48 PM
Lemmmy #5
Posted 28 January 2016 - 01:27 AM
it is certainly possible, for the porttal gun hooting, that is the most easy part, to let a turtle go through a portal is the hard part, you would have to check to see if the turtle moves into a protal entity en teleport it and then move it out the other side at the correct angle.

the best of luck

Actually, assuming it's possible to add a watcher to the turtle's position, the latter would also be extremely easy. The Portal Gun mod's API and the CC API may help out with this.

The portal is not an entity, at least i dont think it is. I belive it is like a painting but as a block. (paintings and item frames are entitys)

It is a tile entity - a block with an entity attached to it.
Edited on 28 January 2016 - 12:27 AM