Jump to content


funkey100's Content

There have been 4 items by funkey100 (Search limited from 10-February 22)


By content type

See this member's

Sort by                Order  

#161965 Concept: Line of Sight Addon (scanners) and also Dwarf Fortress

Posted by funkey100 on 25 January 2014 - 06:42 PM in Ask a Pro

CometWolf, that gets blocks in a radius, not LoS and sees if they're liquid or solid. It doesn't get the blocks in your LoS and tells you what they are.
oeed, thanks, I'll take a look at that.



#161951 Concept: Line of Sight Addon (scanners) and also Dwarf Fortress

Posted by funkey100 on 25 January 2014 - 04:57 PM in Ask a Pro

Nope.



#161946 Concept: Line of Sight Addon (scanners) and also Dwarf Fortress

Posted by funkey100 on 25 January 2014 - 04:19 PM in Ask a Pro

That's not what I meant. I meant an addon or mod that adds a scanner for turtles which tells the turtle what each block it can see is. For that, I'll need a script that calculates which blocks it can see and returns them.Then, for example, you could work out the shape of a room and what's in it. So much faster and easier than going to each and every block and seeing what they are. CometWolf, the line of sight is for realism. Not just a command that gives you what every block is in a 100 block radius. And I'll put the LoS results into a grid. oeed, I'm not talking about a method but about a mod or addon.



#161877 Concept: Line of Sight Addon (scanners) and also Dwarf Fortress

Posted by funkey100 on 25 January 2014 - 12:26 AM in Ask a Pro

I was wondering this. How can you make a line of sight script? It's less complex in Minecraft with blocks. Let's say, you (or a object) are (is) at x, y, z and you want to know the blocks you could see. You do this function and it returns a list of coordinates of all the blocks you can see. How? One method is multiplying the coords by 2. So instead of block a as 1, 1, 1 and block b as 2, 2, 2 you would have block a as 8 different blocks (one for each corner), since it would span from 1, 1, 1 to 2, 2, 2. Block b would span from 3, 3, 3 to 4, 4, 4. You now have block corners. You could draw lines from your coords to it's 4-5 outer corners (depending on it's orientation to you) and any blocks inside that area wouldn't be counted. But this is very, very complicated and where does it start? Any ideas? Thanks!

This is eventually going to lead to a scanner which gets the coords for every block in it's line of sight and gives you their coords (relative to you, you first tell the turtle it's position first and then it'll remember it's translations) and what they are. I then can make a turtle have this a link it with a computer where you can command it, see a digital map it's built (in Dwarf Fortress style) and maybe even designate areas for it to build/mine. Wait... This is pretty much Dwarf Fortress for Minecraft... I just had the best idea... Multiple turtles. Turtles=dwarfs. Command them. Mine, build and craft. Extremely awesome and hard.

Back to the scanner. You could upload this map on your portable computer and if you scanned the surface know where everything is in 3D. Is this the right place to post?