A text to map converter

General talk about the map making process.
Post Reply
User avatar
lddw
Private First Class
Private First Class
Posts: 239
Joined: Mon Jun 27, 2005 3:39 pm
Location: France

A text to map converter

Post 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"
Attachments
CONV60.zip
There is the last version:
conv 60
(38.01 KiB) Downloaded 258 times
Last edited by lddw on Thu Jun 22, 2006 6:22 am, edited 7 times in total.
OWNER at lddw's servers
Citrus.admin
Cruel.admin
WinXP.admin
Spazzy.cops
Metec.mapper
Heart.trusted
User avatar
The Knights Who Say Ni
Private First Class
Private First Class
Posts: 556
Joined: Mon Sep 26, 2005 7:21 pm
Location: Uplyme, England
Contact:

Post by The Knights Who Say Ni »

woow that sounds really good
Image
Sig Made By AlliedArmour

TGPH
User avatar
The Knights Who Say Ni
Private First Class
Private First Class
Posts: 556
Joined: Mon Sep 26, 2005 7:21 pm
Location: Uplyme, England
Contact:

Post by The Knights Who Say Ni »

sorry [double]
Image
Sig Made By AlliedArmour

TGPH
meeba
Master Sergeant
Master Sergeant
Posts: 507
Joined: Sun Mar 12, 2006 10:49 pm
Location: N. Sanity Beach

Post by meeba »

very cool... you should add in pyramids, too. among other things... hehe.
User avatar
lddw
Private First Class
Private First Class
Posts: 239
Joined: Mon Jun 27, 2005 3:39 pm
Location: France

Post by lddw »

I´ll add pyramids and flipped pyramids soon.
OWNER at lddw's servers
Citrus.admin
Cruel.admin
WinXP.admin
Spazzy.cops
Metec.mapper
Heart.trusted
User avatar
Mostly Harmless!
Private First Class
Private First Class
Posts: 347
Joined: Sun Oct 30, 2005 4:37 am
Location: California

Post by Mostly Harmless! »

Can we get the source?

I never make stupid mistakes. Only very, very clever ones.
It is not the fall that kills you. It's the sudden stop at the end.
Always remember you are unique. Just like everybody else.
meeba
Master Sergeant
Master Sergeant
Posts: 507
Joined: Sun Mar 12, 2006 10:49 pm
Location: N. Sanity Beach

Post by meeba »

Yeah, source would be nice since I'm on Linux. I might make a PHP script kind of like this.
User avatar
lddw
Private First Class
Private First Class
Posts: 239
Joined: Mon Jun 27, 2005 3:39 pm
Location: France

Post by lddw »

Yes, no problem, i´ll give you it today
OWNER at lddw's servers
Citrus.admin
Cruel.admin
WinXP.admin
Spazzy.cops
Metec.mapper
Heart.trusted
User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner »

Yay it works. :D Very nice lddw.

Can I have the source too? :D

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image
User avatar
lddw
Private First Class
Private First Class
Posts: 239
Joined: Mon Jun 27, 2005 3:39 pm
Location: France

Post by lddw »

I´ve posted the source now :)
OWNER at lddw's servers
Citrus.admin
Cruel.admin
WinXP.admin
Spazzy.cops
Metec.mapper
Heart.trusted
User avatar
lddw
Private First Class
Private First Class
Posts: 239
Joined: Mon Jun 27, 2005 3:39 pm
Location: France

Post 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.
OWNER at lddw's servers
Citrus.admin
Cruel.admin
WinXP.admin
Spazzy.cops
Metec.mapper
Heart.trusted
User avatar
TD-Linux
Sergeant
Sergeant
Posts: 724
Joined: Wed Apr 27, 2005 8:26 pm
Location: Mountain View, CA

Post 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?
User avatar
lddw
Private First Class
Private First Class
Posts: 239
Joined: Mon Jun 27, 2005 3:39 pm
Location: France

Post by lddw »

Hi TD-Linux

i´ll add that as soon as possible :wink:
OWNER at lddw's servers
Citrus.admin
Cruel.admin
WinXP.admin
Spazzy.cops
Metec.mapper
Heart.trusted
User avatar
BinarySpike
Corporal
Corporal
Posts: 735
Joined: Mon Mar 28, 2005 11:58 pm
Contact:

Post 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)
User avatar
Saber
Private First Class
Private First Class
Posts: 207
Joined: Tue Nov 01, 2005 9:27 pm
Location: ¨¨¨¨¨

Post by Saber »

Can i put something over something else with this?
User avatar
Linuxx0r
Private First Class
Private First Class
Posts: 7
Joined: Wed May 31, 2006 6:50 pm

Post by Linuxx0r »

no, but you can create a simple map with this Program and refine it later in a real bzw-editor
Post Reply