GithubHelp home page GithubHelp logo

csv2terrain's Introduction

csv2terrain

Binder

This is a mod for Minetest. It has been intended to be used as part of the standard Minetest game. For best results, use in conjunction with the flatgen mod.

Details on how to install a Minetest mod are here.

This mod reads in data from 'blocks.csv', a user provided csv file which should have lines of the form

x,y,z,keyword,

Where x, y and z are numbers.

If the keyword is player, the position (x,y,z) is used as the spawn point of the player whenever a new game is started or a file is openened

The keywords can also be names of blocks. The following are known to work (in conjunction with the default mod).

dirt_with_grass, sand, stone, 
water_source, lava_source, 
tree, leaves, torch, 
diamondblock, goldblock, stone_with_coal, stone_with_iron, stone_with_copper, stone_with_tin, stone_with_gold, stone_with_diamond
fern_1, fern_2, fern_3, marram_grass_1, marram_grass_2, marram_grass_3

The mod adds these blocks to their specified positions whenever the command /ltbv is invoked. This stands for 'Let there be voxels!', to allow the player their moment of creation.

If there are weird gaps in terrain generated in this way, simply try invoking the command again to patch it up. If there are weird dark patches, it seems best to just try again with a new world.

Note that keywords min and max also need to be present in the csv. The coordinates for these define the volume in which all the blocks reside.

A csv generator is included within the mod, generates terrain using Qiskit. It needs to be run separately from the game, and runs using Python 3.

csv2terrain's People

Contributors

quantumjim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pauldpickell

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.