Automap code for download

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Automap code for download

Post 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.
User avatar
Qwerty
Apprentice
Posts: 55
Joined: Sun Aug 30, 2009 6:21 am

Re: Automap code for download

Post 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?
User avatar
terkio
Mon Master
Posts: 937
Joined: Tue Jul 10, 2012 8:24 pm

Re: Automap code for download

Post 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.
"You can be on the right track and still get hit by a train!" Alfred E. Neuman
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Automap code for download

Post 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.)
Lannyvan
Neophyte
Posts: 1
Joined: Thu Mar 26, 2020 2:04 pm

Re: Automap code for download

Post by Lannyvan »

How would you go about fixing such old bugs today anyway?
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Automap code for download

Post 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.
Post Reply