Creating wallsets

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: 13766
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Creating wallsets

Post by Gambit37 »

Besides defining the graphics and assigning them in dsb_make_wallset_ext(), is there anything else to be done to get a wallset to work?

I've done the above but my new "rock2" wallset does not appear as an option in ESB using the test_dungeon, it still only shows "default" and "redfloor". There are no errors when I run DSB. However, if I edit the dungeon.lua and change the level wallsets manually, it shows up fine in the dungeon (wooty! new wallset in DSB!)

EDIT: It shows up after I closed ESB and restarted it. I was previously just reloading the dungeon.lua in the same ESB session -- which suggests it's not reloading the changes in my files?
User avatar
Gambit37
Should eat more pies
Posts: 13766
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Creating wallsets

Post by Gambit37 »

Next question: How do I change the factor by which distant objects have shading applied? All distant objects are way too bright for my wallset which was deliberately designed to fade to black at a shorter distance (making the atmosphere more claustrophobic.) In RTC it uses a range of 0-255 -- using higher numbers increases the amount of distance shading on far objects.
Post Reply