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

If you have a module that you'd like comments on or would like to know how to create your very own module, post here

Moderator: Moderator

Post Reply
Message
Author
Norphi
Low Yeek
Posts: 8
Joined: Fri Sep 25, 2015 3:53 pm

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

#1 Post 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.)

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

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

#2 Post by HousePet »

The main module is broken into 3 parts. I think there is a gfx one.
My feedback meter decays into coding. Give me feedback and I make mods.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

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

#3 Post 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/
[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 ;)

Norphi
Low Yeek
Posts: 8
Joined: Fri Sep 25, 2015 3:53 pm

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

#4 Post 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?

Post Reply