hi! Im wondering how to go about naming the more obscure tiles in ToME. Specifically, boss npc's that have commas in their names.
Example: Animal / Bear / Boss / Norgos, The Guardian
Normally, I could name a file animal_bear_norgos.png and drop it into the gfx\npc\ dir and it would show up in tome. But because of the ", The Guardian" descriptor something gets messed up.
I've tried all of the following file name variations and nothing works:
animal_bear_norgos_the_guardian.png
animal_bear_norgos,_the_guardian.png
animal_bear_norgos_,_the_guardian.png
norgos_the_guardian.png
norgos,_the_guardian.png
norgos_,_the_guardian.png
bear_norgos.png
boss_norgos.png
etc. etc.
I've tried looking in the .lua's for help but I'm not sure I'm looking in the right places. There are many tiles that I would like to add, but I just can't figure out this naming convention!
some other npcs that are effected:
elemental_xorn_Harkor'Zun (the ' messes up the filename)
demon_major_dúathedlen (the alternate u messes up the filename)
any boss with a descriptor (", The Destroyer" , ", The Mummifier" etc.)
Thanks!
filenames for bosses and npc's with exotic letters?
Moderator: Moderator
Re: filenames for bosses and npc's with exotic letters?
Any characters that is not a number or a letter is converted to _
So it should be: animal_bear_norgos__the_guardian.png (untested but no reason it wont work
)
So it should be: animal_bear_norgos__the_guardian.png (untested but no reason it wont work

[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: filenames for bosses and npc's with exotic letters?
AAAAAAAAAHHHHHH!!! I spent hours trying to figure that out. Figures you'd show up in 20 minutes with the answer. Thanks DG!