Altefcat wrote:Thank you for your link; that's interesting, but I was more looking for a global presentation of how modules work, interact with the engine and the media data. For instance, if I want to customize the main ToME module, do I need to tweek the existing module, or can I build my own module and load it afterward?
There are two example modules (in your /modules)folder.
They're basically the same, except one is realtime.
I have found ref to png files in some lua files, such as game\modules\tome\data\general\npcs\ant.lua; so I guess all is hardcoded in the lua code. But I can't find where the player tile is set...
You just set the the 'image'variable for the player(as you would with any other actor, such as objects or grids).
You can do that in descriptors.lua to start.
For example, putting 'image=player.png' in the copy field for the base descriptor would make the player use the 'player.png' tile in the /gfx/ folder
Is there a way to change the default font used? I have found some settings in C:\Documents and Settings\username\T-Engine\4.0\settings, maybe there?
Not sure about fonts.
Are you removing the background of each tile so that it's transparent? I'm interested! Maybe we could coordinate our efforts and set some common repository?
Yep. It's quite easy really.
I don't have much experience with repositories, but I'd be happy to help, and provide the tiles I've already extracted for some of which I made different versions as I think they'd fit 'better' in my module.
change the player tile according to his equipment
As for this - I love the way Crawl handles this, it's pretty fun(you can build your player tile in game), although probably hard to implement here(but certianly not impossible).
A compromise I considered was allowing the player to select ANY of many premade pics by using a menu.
Also: you might want to visit the chat channel, we talk about modding fairly often.