Small Finite World for AI developement
Small Finite World for AI developement
Hi, I'm a complete beginner to the Minetest community that intend on using Minetest for AI development.
To begin playing with AI-related stuff, I wanted to build a small arena of finite size (say 30 blocks per 30 blocks), I've looked around but couldn't find any direct solution to this task, so here are my questions:
1. Should I build a new 'world', make it flat and finite by changing the init.lua file?
2. Should I build a mod, that forbid the player to walk more than 30 meters in any rectangular direction?
3. Should I generate an arena closed on all face with unbreakable bricks?
The last seems to be the more coherent and feasible.
Tell me what you think!
To begin playing with AI-related stuff, I wanted to build a small arena of finite size (say 30 blocks per 30 blocks), I've looked around but couldn't find any direct solution to this task, so here are my questions:
1. Should I build a new 'world', make it flat and finite by changing the init.lua file?
2. Should I build a mod, that forbid the player to walk more than 30 meters in any rectangular direction?
3. Should I generate an arena closed on all face with unbreakable bricks?
The last seems to be the more coherent and feasible.
Tell me what you think!
Re: Small Finite World for AI developement
make a 30x30 platform in singenodeJulien B. wrote:Hi, I'm a complete beginner to the Minetest community that intend on using Minetest for AI development.
To begin playing with AI-related stuff, I wanted to build a small arena of finite size (say 30 blocks per 30 blocks), I've looked around but couldn't find any direct solution to this task, so here are my questions:
1. Should I build a new 'world', make it flat and finite by changing the init.lua file?
2. Should I build a mod, that forbid the player to walk more than 30 meters in any rectangular direction?
3. Should I generate an arena closed on all face with unbreakable bricks?
The last seems to be the more coherent and feasible.
Tell me what you think!
Hey, what can i say? I'm the bad guy.
Re: Small Finite World for AI developement
Also be aware that Lua is the only modding language unless you want to start hacking in C++. Otherwise you have to either use HTTP APIs (but fairly limited do to security risks) or some shared folder / file style communication.
What kind of AI are you thinking of? High academic or something a bit more practical?
What kind of AI are you thinking of? High academic or something a bit more practical?
Re: Small Finite World for AI developement
Ugh stop this "+1" spamming already, this isn't the first time.cHyper wrote:+1
Hey, what can i say? I'm the bad guy.
- srifqi
- Member
- Posts: 570
- Joined: Sat Jun 28, 2014 04:31
- GitHub: srifqi
- IRC: srifqi
- In-game: srifqi
- Location: Indonesia
Re: Small Finite World for AI developement
You can use mapgen_limit setting to limit map generation.
1. Add this line to minetest.conf.
2. Create new world
1. Add this line to minetest.conf.
Code: Select all
mapgen_limit = 30
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/
- Phoenixflo44
- Member
- Posts: 639
- Joined: Fri Jul 28, 2017 15:01
- In-game: EvilPhoenix
- Location: Behind my PC, in Germany
Re: Small Finite World for AI developement
This can be used but the player can run away over the limit, but when you get back into the world and in the limit true then the player is reset.srifqi wrote:You can use mapgen_limit setting to limit map generation.
1. Add this line to minetest.conf.2. Create new worldCode: Select all
mapgen_limit = 30
My opinion is you should make a singenode map.
Spoiler
I hate my life
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: Small Finite World for AI developement
No, there will be no nodes outside the limit to run on, it will be just like at 32000 or -32000. mapgen_limit is what you’re looking for.Phoenixflo44 wrote:This can be used but the player can run away over the limit, but when you get back into the world and in the limit true then the player is reset.srifqi wrote:You can use mapgen_limit setting to limit map generation.
1. Add this line to minetest.conf.2. Create new worldCode: Select all
mapgen_limit = 30
My opinion is you should make a singenode map.
Re: Small Finite World for AI developement
Have a look at mods/games like skyblock.Julien B. wrote:AI development .. build a small arena (say 30 blocks per 30 blocks),
couldn't find any direct solution
Each player gets his own small, empty 'island in the sky',
and needs to solve quests to get more stuff.
Could be adapted to your needs...
What kind of AI are you planning, what is it supposed to do ?
'My' wiki-pages: Build-a-home - basic-robot - basic_robot_csm - basic-machines - digtron - xdecor -
Map-Database
Map-Database
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: Small Finite World for AI developement
Srifqi is correct here, but it needs to be set to 63 otherwise no mapchunks generate. The result will be a world of 80^3 nodes, you can't have a world smaller than that.
- Wuzzy
- Member
- Posts: 4800
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: Small Finite World for AI developement
Yes, you should set mapgen_limit to 63. You can also set it in advanced settings.
This will force the world to be really small:
Note this setting only affects NEW worlds. Existing worlds are not touched.
Fun fact: If you use a smaller value, Minetest does not generate any world at all. You can't even place blocks. Minetest should probably not allow values lower than 63.
This will force the world to be really small:
Note this setting only affects NEW worlds. Existing worlds are not touched.
Fun fact: If you use a smaller value, Minetest does not generate any world at all. You can't even place blocks. Minetest should probably not allow values lower than 63.
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: Small Finite World for AI developement
<offtopic>
</offtopic>
That's intended for worlds like such that were recorded from a remote server. It prevents the map generator from generating more mapblocks into the world (which should be kept as-is). I don't know how different 0.4.x and 5.0.0-dev it will handle this situation, but in the latter you can explore existent mapblocks without being limited to what mapgen_limit says.Wuzzy wrote:Fun fact: If you use a smaller value, Minetest does not generate any world at all. You can't even place blocks. Minetest should probably not allow values lower than 63.
</offtopic>
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: Small Finite World for AI developement
> Minetest should probably not allow values lower than 63.
The minimum value that still generates a mapchunk depends on the chosen mapchunk size.
The minimum value that still generates a mapchunk depends on the chosen mapchunk size.
Who is online
Users browsing this forum: Nininik, ROllerozxa and 11 guests