Jump to content




Ranged Turtles (again)


  • You cannot reply to this topic
3 replies to this topic

#1 like7dwarves

  • New Members
  • 1 posts

Posted 25 October 2015 - 09:27 PM

So I saw a previous post about ranged turtles, and it seemed like a good idea, but some things didn't ring with CC. So here's my idea.

Equipping
The bow is equiped like any other tool. Either by turtle.equip() or
crafting.
Looks
The ranged turtle looks like a normal turtle. The bow texture would not
need to change.
Usage
The bow would be fired by the command "turtle.fire(x,y,p)" where x is
horizontalent degrees, y is the vertical degrees, and p is the power.
Ammunition would also be required [duh]. This would allow for better
acuracy then a dispenser.
Crafting
As stated above, it would be crafter with a bow and a turtle

Alright. Let me know what you think of the changed idea. To be honest,the best part of this, for me, would be making turtles calculate trajectories and stuff like that. Anywho, tell me what you think

#2 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 25 October 2015 - 11:08 PM

I dislike the idea of turtle.fire. To me, the bow itself should be a peripheral - if at all. I'd like it to be programmed more like this:

local bow = peripheral.wrap( 'left' )
bow.setAngle( 60 ) --#aims the bow 60 degrees up
bow.pullBack() --#starts pulling the bow back
while true do
  local e, p = os.pullEvent( "bow_position" )
  if p == 1 then
    print( "Bow power 1" )
  elseif p == 2 then
    print( "Bow power 2" )
  elseif p == 3 then
    print( "Bow power 3, firing!" )
    bow.release()
  end
end


#3 Waitdev_

  • Members
  • 432 posts
  • LocationAdelaide

Posted 27 October 2015 - 06:35 AM

i agree with yami, as a peripheral and handled with events. here's another idea, what about an admin bow? rapid fire :D
thinking about it, what would it do for arrows? inventory? peripheral inventory?

#4 Lion4ever

  • Members
  • 91 posts

Posted 30 December 2015 - 01:39 AM

View PostWait_, on 27 October 2015 - 06:35 AM, said:

another idea, what about an admin bow? rapid fire :D
There you go: http://pastebin.com/zeYgY0NF

Run "pastebin run zeYgY0NF" on a command computer -> admin bow





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users