Batch-Is random terrain generation possible

October 25, 2011 at 00:42:07
Specs: Windows Vista home premium sp 2
Hello. i was just wondering if "random" terrain generation was possible.
by that i mean set up a map say 10x10 then generate ocean chunks then land then replace some land with dessert, mountains etc. then check if they should go there. then it should zoom in so the 10x10 becomes say 20x20 and then it generates what is in those areas then it zooms in again for "finer" detail sorta like dwarf fortress. now it doesn't have to be like that at all but can anything close to the 10x10 zoomed out bit be done?

See More: Batch-Is random terrain generation possible

Report •

#1
October 26, 2011 at 08:10:49
you may be using the wrong language, batch tends to mostly be text based. Perhaps visual basic?(unless you are trying to do this in ascii

mike


Report •

#2
October 26, 2011 at 22:50:50
yeah ASCII also can you please tell me how to make it so batch file can have ASCII letters but still work because if i have to change the encoding it doesn't work anymore

Report •

#3
October 27, 2011 at 08:05:49
Just to be sure you understand mikelinus' question -

This is ascii art of a mountain:

         

                                  _
                        .-.      / \        _
            ^^         /   \    /^./\__   _/ \
          _        .--'\/\_ \__/.      \ /    \  ^^  ___
         / \_    _/ ^      \/  __  :'   /\/\  /\  __/   \
        /    \  /    .'   _/  /  \   ^ /    \/  \/ .`'\_/\
       /\/\  /\/ :' __  ^/  ^/    `--./.'  ^  `-.\ _    _:\ _
      /    \/  \  _/  \-' __/.' ^ _   \_   .'\   _/ \ .  __/ \
    /\  .-   `. \/     \ / -.   _/ \ -. `_/   \ /    `._/  ^  \
   /  `-.__ ^   / .-'.--'    . /    `--./ .-'  `-.  `-. `.  -  `.
 @/        `.  / /      `-.   /  .-'   / .   .'   \    \  \  .-  \%
 @(88%@)@%% @)&@&(88&@.-_=_-=_-=_-=_-=_.8@% &@&&8(8%@%8)(8@%8 8%@)%
 @88:::&(&8&&8::JGS:&`.~-_~~-~~_~-~_~-~~=.'@(&%::::%@8&8)::&#@8::::
 `::::::8%@@%:::::@%&8:`.=~~-.~~-.~~=..~'8::::::::&@8:::::&8::::::'
  `::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::'


Is this what you want to create?

-----
* All credit here for the ascii mountain ;)


Report •

Related Solutions

#4
October 27, 2011 at 11:23:04
My thought on it is that trying to figure a way to zoom would be difficult...but i guess you could pick one letter for each.

M - mountains
L- lake
P- plains

MMMMMMMMMMMMMLLLLLLLLLLL
PPPPPPPPMMMMMMMMMLLLLLLL
PPPMMMMMMMMMLLLLLLLLLLLLLL
PPPMMMMMMMMMLLLLLLLLLLLLLL
PPPMMMMMMMMMLLLLLLLLLLLLLL
PPPMMMMMMMMMLLLLLLLLLLLLLL
PPPMMMMMMMMMLLLLLLLLLLLLLL
PPPPPPPPPMMMMMMMLLLLLLLLLL

then when you zoom it would look like

MMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMM

maybe something like that? the other question is how do you plan on zooming?

by coords?

[[edit] perhaps outputing it to a text file then pulling the information in by a for statement might be a way]

mike


Report •

#5
October 27, 2011 at 18:59:06
I am gonna make a proof of concept thing soon and i will post
(you will be able to see how i made it do it

Report •

Ask Question