Page 1 of 1

A text to map converter

Posted: Mon Jun 19, 2006 6:13 pm
by lddw
The last version is v6,0
This is a program wich converts a text file to a map

a # is a box
a X is a pyramid (not "x" but "X")
a 0 is no box

Sample:
######
000#000
000#000
000#000
This write a T with boxes.

The text file can be big, it´s not a problem.

Only put the text file in: "C:\map\map.txt"
Then run the program and it makes: "C:\map\map.bzw"

Posted: Mon Jun 19, 2006 6:47 pm
by The Knights Who Say Ni
woow that sounds really good

Posted: Mon Jun 19, 2006 6:47 pm
by The Knights Who Say Ni
sorry [double]

Posted: Mon Jun 19, 2006 8:15 pm
by meeba
very cool... you should add in pyramids, too. among other things... hehe.

Posted: Tue Jun 20, 2006 5:23 pm
by lddw
I´ll add pyramids and flipped pyramids soon.

Posted: Wed Jun 21, 2006 12:42 am
by Mostly Harmless!
Can we get the source?

Posted: Wed Jun 21, 2006 2:43 am
by meeba
Yeah, source would be nice since I'm on Linux. I might make a PHP script kind of like this.

Posted: Wed Jun 21, 2006 9:54 am
by lddw
Yes, no problem, i´ll give you it today

Posted: Wed Jun 21, 2006 11:27 am
by Tanner
Yay it works. :D Very nice lddw.

Can I have the source too? :D

-Tanner

Posted: Wed Jun 21, 2006 12:49 pm
by lddw
I´ve posted the source now :)

Posted: Wed Jun 21, 2006 1:34 pm
by lddw
I´ve posted in the first post the last version with boxes and pyramids.
a # is a box
a X is a pyramid (not "x" but "X")
a 0 is no box
The zip file includes the source.

Posted: Sun Jun 25, 2006 7:22 pm
by TD-Linux
How about...

R, G, B, P for the respective bases,
a space for nothing instead of 0,
and | and - for a skinny wall?

Posted: Sun Jun 25, 2006 7:30 pm
by lddw
Hi TD-Linux

i´ll add that as soon as possible :wink:

Posted: Mon Jul 03, 2006 5:56 pm
by BinarySpike
Btw, when making your map.txt use a fixed width font.

Courier and Monaco are two that I know of.
(I prefer Monaco, size 9 but if I need a large text I use Courier)

Posted: Mon Jul 03, 2006 9:34 pm
by Saber
Can i put something over something else with this?

Posted: Sat Sep 30, 2006 5:12 pm
by Linuxx0r
no, but you can create a simple map with this Program and refine it later in a real bzw-editor