Page 1 of 1

Where are terrain tile, object, character... graphics stored

Posted: Thu Nov 16, 2017 5:07 pm
by Norphi
Hi,
I'm currently experimenting with building a module. The example module is a bit sparse and the wiki seems a little bit out of date, so for getting started I'll probably heavily copy from the main campaign module and just rewrite the parts I need /e.g. races/classes/talents, quests and lore). Note, that I'm still using the files provided by the example module, I just copy the parts I'm currently working on to avoid the accumulation of legacy code.

Currently I'm trying to change to graphics. The Hulk module mentioned by the wiki uses gfx/terrain/* for storing the terrain tiles. The main campaign just states stuff like terrain/grass.png, yet, I could not locate a terrains folder. Searching (...$ find . -name *.png) for png files also got me nowhere, thus, I'm obviously missing something... :?
Also, I'd like to use the graphics from the main campaign without copying the files (I don't like redundancy, why have it stored twice if it is the same graphic?).

Thanks in advance!

(if this thread appears twice, sorry I got logged out while posting, couldn't find it and recreated it.)

Re: Where are terrain tile, object, character... graphics st

Posted: Fri Nov 17, 2017 12:44 am
by HousePet
The main module is broken into 3 parts. I think there is a gfx one.

Re: Where are terrain tile, object, character... graphics st

Posted: Fri Nov 17, 2017 9:00 am
by darkgod
Yeah main game is split 3 modules mostly because it makes the binary patcher more efficient.
Asfor files, they indeed live in /data/gfx/ and in tome's case because of historic reasons some are in /data/gfx/shockbolt/

Re: Where are terrain tile, object, character... graphics st

Posted: Sun Nov 19, 2017 8:22 pm
by Norphi
Ah yes, the weird format explains why my bash query didn't find anything (also turned out that for this purpose grep would have been the better choice but that's a different story).

Ok, thing is solved. Also I just found the note on copying regarding the gfx stuff.

Would something like using the tome-gfx if the .team file is present, or not bothering with tiles at all and using ascii, if it is not still be ok with the gfx licensing?