Page 2 of 2

Re: Couple of quick questions

Posted: Mon Aug 31, 2020 8:36 pm
by Sophia
By the way, if you want to preserve lower case letters and also still have spell runes, you can do that in current versions of DSB, as long as your font includes the spell runes starting at ASCII value 129.

There's a thread about that here: viewtopic.php?p=159468#p159468

Re: Couple of quick questions

Posted: Mon Aug 31, 2020 10:49 pm
by Automaton
Thanks very much for the pointers!

I did a little bit of figuring out for myself, but got there!

For anyone else trying to do this, you need to override (in your own custom lua files) these bits:

global.lua

Code: Select all

powchar = { "a", "b", "c", "d", "e", "f" }
magic.lua

Code: Select all

	magic_runes = {
		"a", "b", "c", "d", "e", "f",
		"g", "h", "i", "j", "k", "l",
		"m", "n", "o", "p", "q", "r",
		"s", "t", "u", "v", "w", "x"
	},
Mine look like:

Code: Select all

powchar = {"\129", "\130", "\131", "\132", "\133", "\134"}

Code: Select all

	magic_runes = {
		"\129", "\130", "\131", "\132", "\133", "\134",
		"\135", "\136", "\137", "\138", "\139", "\140",
		"\141", "\142", "\143", "\144", "\145", "\146",
		"\147", "\148", "\149", "\150", "\151", "\152"
	},
Now I got:

Image
Image
Image
Image

And my daleland font looks like:

Image

Note to others: Watch out for F'ing paint softs. The default palette fontED puts out had 3!!!! yellows of the same value, so even though I chose 255 to paint, when saving in gimp, if converted them to the other yellow(s). Then it went wrong again and I found the second yellow. Finally after changing the 2nd yellow to blue, the 3rd and final yellow at index 255 stuck as the real yellow when saved.

The 2 colours pointed to in blue were the same colour yellow as the last one

Image

Cheers!
Nick K.

Re: Couple of quick questions

Posted: Mon Aug 31, 2020 11:32 pm
by Gambit37
Nice job on getting it to work finally :)

Re: Couple of quick questions

Posted: Mon Aug 31, 2020 11:39 pm
by Automaton
Thank you Gambit,

Your insights were like beloved signposts in the forest of contrarian lua bollocks. ;-)