Page 1 of 1

Automap code for download

Posted: Wed Jul 25, 2012 6:23 pm
by Gambit37
This automap for DSB was developed by Parallax. It was lost in a mis-titled thread, so I've posted it here:
http://dmweb.free.fr/Stuff/files/dsb ... p_v0.3.zip

To use this automap, extract the files to your dungeon folder, then add the following code somewhere in your objects.lua:

Code: Select all

dsb_import_arch("Automap.lua", "automap")
An automap arch will show up in the "SCROLL" class of Things and can be used in your dungeon.

Re: Automap code for download

Posted: Fri Apr 19, 2013 10:45 pm
by Qwerty
To Gambit37 or Parallax.
This Automap is very interesting object and I want to add on it for my dungeon.
Then, Would you mind if I use and convert this Parallax's Automap codes to add on it?

Re: Automap code for download

Posted: Sat Apr 20, 2013 12:24 am
by terkio
Woah !
I am impressed. I just followed Gambit' s instructions. It worked right away.
The automap developped by Parallax is very nice. Excellent work.

Re: Automap code for download

Posted: Mon Mar 23, 2020 4:33 pm
by Gambit37
I've found a few bugs in the Automap code:

* Some wall items randomly disappear from their tiles once you walk away from them
* In the DM/CSB dungeons, alcoves currently hidden behind unused switches still show up on the map

I appreciate this is old and may not get a solution, but if anyone is able to help out with these bugs I'd really appreciate it :-)

(I might be able to fix the second bug myself, but I'm really stumped on the first one.)

Re: Automap code for download

Posted: Tue Mar 31, 2020 4:38 pm
by Lannyvan
How would you go about fixing such old bugs today anyway?

Re: Automap code for download

Posted: Wed Apr 01, 2020 2:20 am
by Gambit37
Welcome! An interesting first question. I turns out I'm an idiot, so the first bug isn't a bug but a simple misunderstanding on my part on how the map is actually constructed. As for the second issue, it should be a simple fix with the wall-item display logic.